media-server-node icon indicating copy to clipboard operation
media-server-node copied to clipboard

Clean-up inactive m-lines

Open skmax opened this issue 4 years ago • 0 comments

Hi all

I'm using the media server for the group video calls and due to the nature of the app one participant can be in the call for a long period of time, but other participants join from time to time. Since we need to add new m-lines for each newly joined participant's stream and make m-lines inactive when tracks are removed, the SDP of long-stay participants grows over time to quite a big size. I use unified plan by SDPManagerUnified.js from the lib

As we can't remove m-lines, wouldn't make sense to at least clean up inactive m-lines by removing unneeded attributes (ssrcs, ext, candidates, etc) from them? Please, let me know what you think.

Thanks

skmax avatar Dec 12 '21 14:12 skmax