W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2018

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Apr 2018 11:43:13 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-381961057-1523965392-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:01 UTC