Re: [webrtc-pc] RTCRtpSender.getCapabilities() may not return correct information in sync (#2539)

@fippo. We made it synchronous because:

- No permission prompts were contemplated for getCapabilities(). 
- The capabilities were not dynamic.  It was assumed that a codec implemented in hardware would also be available in software (albeit possibly at reduced performance).  As a result, the capabilities did not need to be dynamically determined with each getCapabilities() method call. As a result, the capabilities could be determined once, cached and then returned in response to a getCapabilities() method call on any RtpSender or RtpReceiver object. 



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

Received on Monday, 15 June 2020 18:38:30 UTC