-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Communication - Calling ServerService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
- Package Name: @azure/communication-calling
- Package Version: 1.40.1
- Operating system: Windows
- browser
- name/version: Chrome 142.0.7444.176
Describe the bug
The internal disposal of RemoteVideoStream does not correctly dispose of the VideoStreamRendererView. As a result, the view remains in the call’s activeRemoteVideoStreamViews map, causing entries to accumulate. After six disposals on mobile, no new remote video streams can be rendered.
- handleRemovedStream calls dispose on the RemoteVideoStream
- RemoteVideoStream disposal calls dispose on the RemoteStreamRenderer
- RemoteStreamRenderer disposal calls dispose on the VideoStreamRendererView
- During VideoStreamRendererView disposal, the view calls dispose on the RemoteStreamRenderer, which throws. Because of the error, the view disposal does not complete, and the view is never removed from activeRemoteVideoStreamViews.
To Reproduce
This occurs when switching network interfaces, which triggers internal disposal of RemoteVideoStream. After several cycles of this (6 on mobile if only 1 remote video stream), the stale views accumulate and remote video streams can no longer be rendered.
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Communication - Calling ServerService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that