When a user leaves, the ssrcs associated with the ep are removed from the remote description and a renegotiation is forced. The browser then fires 'removetrack' event on the associated MediaStream when sRD is called with ssrcs removed. The remote track is then disposed of in the event handler. Therefore, there is no need to delete the tracks at the TPC level before renegotiation. This also prevents the 'Removed track not found for stream' events from showing up in the browser console log.dev1
|
|
||
1720 |
|
1720 |
|
1721 |
|
1721 |
|
1722 |
|
1722 |
|
1723 |
|
|
|
|
1723 |
|
|
1724 |
|
1724 |
|
1725 |
|
1725 |
|
1726 |
|
1726 |
|
|
|
||
1730 |
|
1730 |
|
1731 |
|
1731 |
|
1732 |
|
1732 |
|
1733 |
|
|
|
1734 |
|
1733 |
|
1735 |
|
1734 |
|
1736 |
|
1735 |
|
|
|
||
393 |
|
393 |
|
394 |
|
394 |
|
395 |
|
395 |
|
396 |
|
|
|
|
396 |
|
|
397 |
|
397 |
|
398 |
|
398 |
|
399 |
|
399 |
|