Skip to content

Commit 0b8b9e6

Browse files
authored
Update video-constraints.md
1 parent 61ea875 commit 0b8b9e6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

articles/communication-services/concepts/voice-video-calling/video-constraints.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,22 @@ The Video Constraints API is a powerful tool that enables developers to control
2121

2222
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
2323

24+
## Send constraints
2425
Azure Communication Services Web Calling SDK supports setting the maximum video resolution, framerate, or bitrate that a client sends. The sender video constraints are supported on Desktop browsers (Chrome, Edge, Firefox) and when using iOS Safari mobile browser or Android Chrome mobile browser.
2526

26-
The native Calling SDK (Android, iOS, Windows) supports setting the maximum values of video resolution and framerate for outgoing video streams and setting the maximum resolution for incoming video streams. These constraints can be set at the start of the call and during the call.
27+
Azure Communication Services Native Calling SDK (Android, iOS, Windows) supports setting the maximum values of video resolution and framerate for outgoing video streams.
28+
29+
## Receive constraints
30+
Azure Communication Services Web Calling SDK does not have a dedicated API to control setting the maximum video resolution that client can receive for a given video.
31+
Instead to control resolution on the receiver side, application can adjust size of the renderer of that video, as SDK will automatically try to adjust received resolution based on the dimensions of the renderer, in practice - SDK will not request more stream (width/height) than it can fit into the renderer.
32+
33+
Azure Communication Services Native Calling SDK (Android, iOS, Windows) supports setting the maximum resolution for incoming video streams.
34+
2735

2836
## Supported constraints
2937

38+
These constraints can be set at the start of the call and during the call.
39+
3040
| Platform | Supported Constraints |
3141
| ----------- | ----------- |
3242
| Web | Outgoing video: resolution, framerate, bitrate |

0 commit comments

Comments
 (0)