Video constraints
The Video constraints API is a powerful tool that enables developers to control the video quality from within their video calls. With this API, developers can set maximum video resolutions, frame rate, and bitrate used so that the call is optimized for the user's device and network conditions. The ACS video engine is optimized to allow the video quality to change dynamically based on devices ability and network quality. But there might be certain scenarios where you would want to have tighter control of the video quality that end users experience. For instance, there may be situations where the highest video quality isn't a priority, or you may want to limit the video bandwidth usage in the application. To support those use cases, you can use the Video Constraints API to have tighter control over video quality.
Another benefit of the Video Constraints API is that it enables developers to optimize the video call for different devices. For example, if a user is using an older device with limited processing power, developers can set constraints on the video resolution to ensure that the video call runs smoothly on that device.
Supported constraints
Platform | Supported Constraints |
---|---|
Web | Incoming video: resolution Outgoing video: resolution, framerate, bitrate |
Android | Incoming video: resolution Outgoing video: resolution, framerate |
iOS | Incoming video: resolution Outgoing video: resolution, framerate |
Windows | Incoming video: resolution Outgoing video: resolution, framerate |
Next steps
For more information, see the following articles: