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

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

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Mon, 15 Jun 2020 18:38:28 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-644308449-1592246307-sysbot+gh@w3.org>
@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

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