Join GitHub today
Ignore encrypted extensions when processing SDP (fixes #1575). #1581
Thanks! But I think this needs to be extended to a few more plugins than just the VideoRoom. The AudioBridge also accesses extensions to check the one used for audio levels, for instance.
That said, it might be easier to just drop the encrypted extensions attributes from the SDP when doing the anonymize process: this way, plugins never get to see them at all, and nothing breaks. I'll have to check if the same issue can happen in the core too, though, as we do traverse extensions looking for mid and rid for instance.
Implemented as I said, by basically removing the encrypted extensions before passing the SDP to plugins, and viceversa. Verified that it seems to be working when I tested. I borrowed your definition in