What's your use case? If it's for live video calls, I'd recommend using a vendor to handle this (and every other WebRTC edge case you can think of) for you. I'm a bit biased because I work for Daily.co, who does this.
Banuba is great if you're not trying to integrate any WebRTC stuff too.