|
@@ -666,7 +666,6 @@ export default class JingleSessionPC extends JingleSession {
|
666
|
666
|
const oldSdp = new SDP(this.peerconnection.localDescription.sdp);
|
667
|
667
|
|
668
|
668
|
this._renegotiate()
|
669
|
|
- .then(() => this.peerconnection.configureSenderVideoEncodings())
|
670
|
669
|
.then(() => {
|
671
|
670
|
const newSdp = new SDP(this.peerconnection.localDescription.sdp);
|
672
|
671
|
|
|
@@ -2387,13 +2386,6 @@ export default class JingleSessionPC extends JingleSession {
|
2387
|
2386
|
&& oldTrack.isVideoTrack()) {
|
2388
|
2387
|
newTrack.setSourceName(oldTrack.getSourceName());
|
2389
|
2388
|
}
|
2390
|
|
-
|
2391
|
|
- if (newTrack?.isVideoTrack()) {
|
2392
|
|
- logger.debug(`${this} replaceTrack worker: configuring video stream`);
|
2393
|
|
-
|
2394
|
|
- // Configure the video encodings after the track is replaced.
|
2395
|
|
- return this.peerconnection.configureSenderVideoEncodings(newTrack);
|
2396
|
|
- }
|
2397
|
2389
|
});
|
2398
|
2390
|
})
|
2399
|
2391
|
.then(() => finishedCallback(), error => finishedCallback(error));
|