[webrtc-pc] setCodecPreferences and RTX / RED / FEC codecs

Orphis has just created a new issue for https://github.com/w3c/webrtc-pc:

== setCodecPreferences and RTX / RED / FEC codecs ==
According to the spec:

> codecs of type sequence\<RTCRtpCodecCapability\>, required
> Supported media codecs as well as entries for RTX, RED and FEC mechanisms. There will only be a single entry in codecs[] for retransmission via RTX, with sdpFmtpLine not present.

Do I interpret correctly that RTX, RED and FEC could be independently enabled or disabled using `setCodecPreferences()` by adding those to the list?
Is this the intended way to have control over those features in WebRTC?

Also, what should happen if no proper codec is specified but only RTX, RED or FEC ones? Should we reject the `setCodecPreferences()` call with an error?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2028 using your GitHub account

Received on Tuesday, 6 November 2018 14:54:26 UTC