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: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jun 2020 10:42:20 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-645297815-1592390539-sysbot+gh@w3.org>
Once we have an asynchronous alternative we can simply remove getCapabilities() as far as the spec is concerned unless we want to document its behavior in legacy interface extensions section.

For backwards compatibility, until it is safe to remove it from implementations without breaking the web platform, its probably best to let implementations support getCapabilities() the way it is implemented today. I.e. add a deprecation warning but continue to return whatever the implementation is able to know synchronously.

GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2539#issuecomment-645297815 using your GitHub account
Received on Wednesday, 17 June 2020 10:42:28 UTC

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