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

> 1.2. If transceiver.mid is not null and codec is not one of the values in [[SendCodecs]], throw an exception and abort these steps. (If transceiver.mid is null we've not negotiated yet and allow optimistically selecting one.)

I noticed that [[SendCodecs]] is not set until setting the answer. We should also be able to do setParameters() in-between setRemoteDescription(offer) and createAnswer() for when SRD creates a transceiver and we want to send with it and make sure the codec is as desired.

We could modify this to "If transceiver.currentDirection is not null" to loosen this check.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/126#issuecomment-1333361340 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:02:34 UTC