W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2020

Re: [webrtc-pc] Add note to getCapabilities to avoid InvalidModificationError (#2617)

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Dec 2020 01:29:24 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-744966426-1607995763-sysbot+gh@w3.org>
In general, I like Jan-Ivar's suggested direction.  My question is whether it is perhaps ambiguous to ask for consistency between `getCapabilities` and the SDP in **both** `createOffer`/`createAnswer`.  The SDP from these methods can be different, right? Is the **last** of these method called definitive?

For example, I interpret "consistency" to mean that `RTCRtpSender.getCapabilities()` includes the codecs included on the SDP m-lines specified as `send/recv` or `sendonly`, and `RTCRtpReceiver.getCapabilities()` includes the codecs included on the SDP m-lines specified as `send/recv` or `recvonly`.  So directionality matters. 

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/2617#issuecomment-744966426 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 December 2020 01:29:26 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:52 UTC