Re: [webrtc-pc] What should receiver.getParameters().codecs return?

I think it should return what's currently described in section 5.3:

The codecs sequence is populated based on the codecs that the receiver is currently prepared to receive.

NOTE
Both the local and remote description may affect this list of codecs. For example, if three codecs are offered, the receiver will be prepared to receive each of them and will return them all from getParameters. But if the remote endpoint only answers with two, the absent codec will no longer be returned by getParameters as the receiver no longer needs to be prepared to receive it.


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

Received on Tuesday, 17 April 2018 11:43:16 UTC