|
@@ -2008,11 +2008,13 @@ TraceablePeerConnection.prototype.setRemoteDescription = function(description) {
|
2008
|
2008
|
|
2009
|
2009
|
if (browser.usesPlanB()) {
|
2010
|
2010
|
// TODO the focus should squeze or explode the remote simulcast
|
2011
|
|
- // eslint-disable-next-line no-param-reassign
|
2012
|
|
- description = this.simulcast.mungeRemoteDescription(description);
|
2013
|
|
- this.trace(
|
2014
|
|
- 'setRemoteDescription::postTransform (simulcast)',
|
2015
|
|
- dumpSDP(description));
|
|
2011
|
+ if (this.isSimulcastOn()) {
|
|
2012
|
+ // eslint-disable-next-line no-param-reassign
|
|
2013
|
+ description = this.simulcast.mungeRemoteDescription(description);
|
|
2014
|
+ this.trace(
|
|
2015
|
+ 'setRemoteDescription::postTransform (simulcast)',
|
|
2016
|
+ dumpSDP(description));
|
|
2017
|
+ }
|
2016
|
2018
|
|
2017
|
2019
|
if (this.options.preferH264) {
|
2018
|
2020
|
const parsedSdp = transform.parse(description.sdp);
|