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

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