The maximum number of active incoming video streams is reached the limit or been exceeded
Azure Communication Service currently imposes a maximum limit on the number of active incoming video subscriptions that are rendered at a time. The current limit is 10 videos on desktop browsers and 6 videos on mobile browsers. Review the supported browser list to see what browsers currently work with Azure Communication Services WebJS SDK.
How to detect using the SDK
If the number of active video subscriptions exceeds the limit, the createView
API throws an error.
Error details | Details |
---|---|
code | 400(Bad Request) |
subcode | 43220 |
message | Failed to create view, maximum number of 10 active RemoteVideoStream has been reached. (maximum number of 6 for mobile browsers) |
resultCategories | Expected |
How to ensure that your client subscribes to the correct number of video streams
Your applications should catch and handle this error gracefully. To understand how many incoming videos should be rendered, use the Optimal Video Count (OVC) API. Only display the correct number of incoming videos that can be rendered at a given time.