W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2017

Re: [webrtc-pc] Make legacy API optional to implement

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Mar 2017 17:31:15 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-288798711-1490290273-sysbot+gh@w3.org>
In WebKit, these legacy methods are implemented but some are not aligned with the spec.
WebKit might probably end up not supporting them.

Keeping those APIs in the spec has a cost for implementations (code, testing), the spec itself (already quite large) and users (nicer APIs available anyway).
That seems like a healthy move to try deprecating them by either removing or making them optional.

I am all for a place where legacy APIs would be described in terms of the spec APIs.
For instance onaddstream seems to be quite in use by some web sites and is not described in the spec AFAIK. Such a description could be written in a separate spec or as a JS shim.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1086#issuecomment-288798711 using your GitHub account
Received on Thursday, 23 March 2017 17:31:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:52 UTC