Re: [webrtc-pc] setCodecPreferences and transceiver direction change

Even keeping SDP as it is, life would be much easier if we split RtcTransceiver into RtcSendTransceiver and RtcRecvTransceiver separate classes.

Yes, that means that a transceiver (and hence a m= section) can just send or receive, but not both. This way we avoid issues like the above one and get rid of the direction attribute difficulties.

And it's 100% standard as per SDP and Unified-Plan specs.

-- 
GitHub Notification of comment by ibc
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2006#issuecomment-430219023 using your GitHub account

Received on Tuesday, 16 October 2018 12:32:06 UTC