Browse Source

fix(video-quality): Fix a typo, max. bitrates are always applied on unified plan clients

tags/v0.0.2
Jaya Allamsetty 5 years ago
parent
commit
cc6ea8bc03
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/RTC/TraceablePeerConnection.js

+ 2
- 2
modules/RTC/TraceablePeerConnection.js View File

@@ -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
 

Loading…
Cancel
Save