Browse Source

Sets up simulcast for 2 layers.

master
George Politis 10 years ago
parent
commit
5d571e696f
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      modules/xmpp/TraceablePeerConnection.js

+ 3
- 1
modules/xmpp/TraceablePeerConnection.js View File

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

Loading…
Cancel
Save