|
@@ -1712,7 +1712,9 @@ TraceablePeerConnection.prototype.findSenderForTrack = function(track) {
|
1712
|
1712
|
TraceablePeerConnection.prototype.replaceTrack = function(oldTrack, newTrack) {
|
1713
|
1713
|
if (browser.usesUnifiedPlan()) {
|
1714
|
1714
|
return this.tpcUtils.replaceTrack(oldTrack, newTrack)
|
1715
|
|
- .then(() => false);
|
|
1715
|
+
|
|
1716
|
+ // renegotiate when SDP is used for simulcast munging
|
|
1717
|
+ .then(() => this.isSimulcastOn() && browser.usesSdpMungingForSimulcast());
|
1716
|
1718
|
}
|
1717
|
1719
|
|
1718
|
1720
|
let promiseChain = Promise.resolve();
|