W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2018

Re: [webrtc-pc] specify legacy onaddstream?

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jan 2018 10:54:39 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-356567967-1515581658-sysbot+gh@w3.org>
> Firefox doesn't have removeStream() so that case is not as clear cut. Safari does have the removeStream() method but not the onremovestream property, but that might be a mistake, the event could still be fired. @youennf?

addStream/removeStream are not exposed by default in Safari.
They are only exposed if user explicitly turns on the legacy-API runtime flag.
Plan is to get rid off this legacy API/legacy flag at some point in the future.

adapter.js provides support for them in Safari for legacy websites.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1705#issuecomment-356567967 using your GitHub account
Received on Wednesday, 10 January 2018 10:57:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:58 UTC