|
@@ -1720,7 +1720,7 @@ export default class JingleSessionPC extends JingleSession {
|
1720
|
1720
|
}
|
1721
|
1721
|
|
1722
|
1722
|
/**
|
1723
|
|
- * Handles the deletion of the remote tracks and SSRCs associated with a remote endpoint.
|
|
1723
|
+ * Handles the deletion of SSRCs associated with a remote user from the remote description when the user leaves.
|
1724
|
1724
|
*
|
1725
|
1725
|
* @param {string} id Endpoint id of the participant that has left the call.
|
1726
|
1726
|
* @returns {void}
|
|
@@ -1730,7 +1730,6 @@ export default class JingleSessionPC extends JingleSession {
|
1730
|
1730
|
const removeSsrcInfo = this.peerconnection.getRemoteSourceInfoByParticipant(id);
|
1731
|
1731
|
|
1732
|
1732
|
if (removeSsrcInfo.length) {
|
1733
|
|
- this.peerconnection.removeRemoteTracks(id);
|
1734
|
1733
|
const oldLocalSdp = new SDP(this.peerconnection.localDescription.sdp);
|
1735
|
1734
|
const newRemoteSdp = this._processRemoteRemoveSource(removeSsrcInfo);
|
1736
|
1735
|
|