ソースを参照

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));

読み込み中…
キャンセル
保存