How to set opus redundancy codec in rtp configuration. My configuration now is
kind : ‘audio’,
mimeType : ‘audio/opus’,
clockRate : 48000,
channels : 2
First of all OPUS has built-in FEC already.
As to RED, I do not think it is supported for audio in all browsers yet.
Here are 2 useful articles:
- https://webrtchacks.com/red-improving-audio-quality-with-redundancy/
- https://webrtchacks.com/implementing-redundant-audio-on-an-sfu/
Looks like SFU support would be necessary for things to work properly in all cases, so that would be when an option might appear in the mediasoup-client.
I read the articles, thank you. You mean RED is not supported by mediasoup.
I’m not a mediasoup maintainer, but my guess would be yes.