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

At TPAC, we decided that setCodecPreferences should remain on the transceiver, per @aboba's slide:
> Alternative 1: Leave setCodecPreferences() as a transceiver method, but better define its operation:
> 
> - When direction = “sendrecv” codecs included in createOffer/createAnswer are filtered by the intersection of Receiver and Sender.getCapabilities().codecs[]
> - When direction = “sendonly” codecs included in createOffer/createAnswer are filtered by sender.getCapabilities().codecs[]
> - When direction = “recvonly” codecs included in createOffer/createAnswer are filtered by receiver.getCapabilities().codecs[]

I'll make a PR that makes the operations well defined, including internal slots and steps to run.

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

Received on Thursday, 8 November 2018 10:54:58 UTC