Bug 170845
Summary: | RTCPeerConnection#getStreamById(id) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philip Jägenstedt <philip> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | jonlee, youennf |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philip Jägenstedt
The getStreamById() method was removed together with many other MediaStream-related APIs in 2014:
https://github.com/w3c/webrtc-pc/pull/18
The stub implementation has been removed from Gecko:
https://bugzilla.mozilla.org/show_bug.cgi?id=1318163
It is being considered for removal in Chrome:
https://bugs.chromium.org/p/chromium/issues/detail?id=698163
If you believe that this is required for web compat, please reach on that bug or on blink-dev@chromium.org.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
youenn fablet
Agreed, we should probably remove getStreamByID, getRemoteStreams and getLocalStreams. Maybe removeStream as well although we should probably assess it at the same time as addStream/onaddstream.
Jon Lee
Thoughts?
youenn fablet
I think we should try to remove the whole legacy API.
Removing that one in particular is ok now that adapter.js has a shim for it (that might be removed in a different schedule as WebKit).