瀏覽代碼

Revert "Sets up simulcast for 2 layers."

This reverts commit b2993d8cf3.
dev1
George Politis 10 年之前
父節點
當前提交
09d40eab90
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      modules/xmpp/TraceablePeerConnection.js

+ 1
- 3
modules/xmpp/TraceablePeerConnection.js 查看文件

@@ -25,7 +25,7 @@ function TraceablePeerConnection(ice_config, constraints, session) {
25 25
     var Interop = require('sdp-interop').Interop;
26 26
     this.interop = new Interop();
27 27
     var Simulcast = require('sdp-simulcast');
28
-    this.simulcast = new Simulcast({numOfLayers: 2, explodeRemoteSimulcast: false});
28
+    this.simulcast = new Simulcast({numOfLayers: 3, explodeRemoteSimulcast: false});
29 29
 
30 30
     // override as desired
31 31
     this.trace = function (what, info) {
@@ -218,8 +218,6 @@ if (TraceablePeerConnection.prototype.__defineGetter__ !== undefined) {
218 218
         function() {
219 219
             var desc = this.peerconnection.localDescription;
220 220
 
221
-            // TODO this should be after the Unified Plan -> Plan B
222
-            // transformation.
223 221
             desc = SSRCReplacement.mungeLocalVideoSSRC(desc);
224 222
             
225 223
             this.trace('getLocalDescription::preTransform', dumpSDP(desc));

Loading…
取消
儲存