|
@@ -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: 3, explodeRemoteSimulcast: false});
|
|
28
|
+ this.simulcast = new Simulcast({numOfLayers: 2, explodeRemoteSimulcast: false});
|
29
|
29
|
|
30
|
30
|
// override as desired
|
31
|
31
|
this.trace = function (what, info) {
|
|
@@ -218,6 +218,8 @@ 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.
|
221
|
223
|
desc = SSRCReplacement.mungeLocalVideoSSRC(desc);
|
222
|
224
|
|
223
|
225
|
this.trace('getLocalDescription::preTransform', dumpSDP(desc));
|