Skip to content

Commit 4d61648

Browse files
authored
Update video-constraints-javascript.md
1 parent 718874f commit 4d61648

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/video-constraints/video-constraints-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export declare type MediaConstraintRange = {
8787
};
8888
```
8989

90-
When setting video constraints, the SDK chooses the nearest value that falls within the constraint set to prevent the values for resolution, frameRate and bitrate to not exceed the maximum constraint values set. Also, when the resolution constraint value is too small, the SDK chooses the smallest available resolution. In this case, the height of chosen resolution can be larger than the constraint value.
90+
When setting video constraints, the SDK chooses the nearest value that falls within the constraint set to prevent the values for resolution, frameRate, and bitrate to not exceed the maximum constraint values set. Also, when the resolution constraint value is too small, the SDK chooses the smallest available resolution. In this case, the height of chosen resolution can be larger than the constraint value.
9191

9292
> [!NOTE]
9393
> For all `bitrate`, `frameHeight` and `frameRate`, the constraint value is a `max` constraint, which means the actual value in the call can be the specified value or smaller.
@@ -145,7 +145,7 @@ await currentCall.setConstraints({
145145
<br/>
146146

147147
## Receive video constraints
148-
To control resolution on the receiver side using Azure Communication Services Web Calling SDK, you can adjust size of the renderer of that video. The calling SDK automatically adjust received resolution based on the dimensions of the renderer. The SDK will not request an incoming video stream (width and height) than it can fit into the renderer video window.
148+
To control resolution on the receiver side using Azure Communication Services Web Calling SDK, you can adjust size of the renderer of that video. The calling SDK automatically adjusts received resolution based on the dimensions of the renderer. The SDK won't request an incoming video stream (width and height) than it can fit into the renderer video window.
149149

150150

151151

@@ -160,4 +160,4 @@ mediaStatsCollector.on('sampleReported', (sample: SDK.MediaStatsReportSample) =>
160160
// process the stats for the call.
161161
console.log(sample);
162162
});
163-
```
163+
```

0 commit comments

Comments
 (0)