mediasoup
mediasoup copied to clipboard
Implement RED
https://tools.ietf.org/html/rfc2198
https://webrtchacks.com/implementing-redundant-audio-on-an-sfu/ https://webrtchacks.com/red-improving-audio-quality-with-redundancy/
Since this patch in libwebrtc the SFU can be able to identify the redundant packets.
Update: There's actually no plan for enabling RED (currently under flag) by default in libwebrtc. Thanks @fippo for the update.
At least that is what was said at KrankyGeek. I disagree with that and @emcho probably does too :-)
run with --force-fieldtrials=WebRTC-Audio-Red-For-Opus/Enabled/ , the web sdp offer support red. use mediasoup-demo, How do I set up config to support red in sdp answer.
run with --force-fieldtrials=WebRTC-Audio-Red-For-Opus/Enabled/ , the web sdp offer support red.
use mediasoup-demo, How do I set up config to support red in sdp answer.
mediasoup does not support RED. You cannot just add it to Router media codecs. That's why this task exists.
Opus RED support enabled in Chrome M96, so this becomes more relevant
Are there any plans for adding RED implementation? If not, can you point me to some places in the code of mediasoup which would need adjustments? Imho, RED is currently the best way to improve transport reliability of audio frames through mediasoup especially for long-distance communication, where random bursts of packet loss do happen occasionally.
There is no plan to implement it. Pointing some places in the code to do it would require that we get involved into it. We'll do in the future if this feature gains attraction.