|
@@ -2099,8 +2099,8 @@ TraceablePeerConnection.prototype.setMaxBitRate = function() {
|
2099
|
2099
|
// 2. Track is a desktop track and bitrate is capped using capScreenshareBitrate option in plan-b mode.
|
2100
|
2100
|
// 3. The client is running in Unified plan mode.
|
2101
|
2101
|
if (!((this.options.videoQuality && this.options.videoQuality.maxBitratesVideo)
|
2102
|
|
- || (browser.usesPlanB() && this.options.capScreenshareBitrate && videoType === VideoType.DESKTOP))
|
2103
|
|
- || browser.usesUnifiedPlan()) {
|
|
2102
|
+ || (browser.usesPlanB() && this.options.capScreenshareBitrate && videoType === VideoType.DESKTOP)
|
|
2103
|
+ || browser.usesUnifiedPlan())) {
|
2104
|
2104
|
return Promise.resolve();
|
2105
|
2105
|
}
|
2106
|
2106
|
|