Re: [webrtc-extensions] Negotiationless codec selection and per-encoding layer codec configuration (#126)

Side-issue: After the complete negotiation, you can check which possible values for codecs exist using getParameters().codecs. However because this only gets updated at the time of setting the answer, you don't know what codecs are valid to pick in-between SRD(offer) and SLD(answer). It would be nice if you could check getParameters().offeredCodecs so that you don't need to parse SDP in order to avoid falling back on the first codec in the list if the one you want to select is not supported by the other endpoint. It would also make sense to throw an exception if at the time of setParameters() we can already deduce that your selection won't work (unlike if you set before negotiation).

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/126#issuecomment-1333404201 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 December 2022 08:39:54 UTC