瀏覽代碼

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

master
Jaya Allamsetty 5 年之前
父節點
當前提交
cc6ea8bc03
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      modules/RTC/TraceablePeerConnection.js

+ 2
- 2
modules/RTC/TraceablePeerConnection.js 查看文件

@@ -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…
取消
儲存