Bug 170845

Summary: RTCPeerConnection#getStreamById(id)
Product: WebKit Reporter: Philip J├Ągenstedt <philip>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jonlee, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Philip J├Ągenstedt 2017-04-14 01:44:18 PDT
The getStreamById() method was removed together with many other MediaStream-related APIs in 2014:

The stub implementation has been removed from Gecko:

It is being considered for removal in Chrome:

If you believe that this is required for web compat, please reach on that bug or on blink-dev@chromium.org.
Comment 1 youenn fablet 2017-04-14 07:32:34 PDT
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.
Comment 2 Jon Lee 2017-06-13 19:00:01 PDT
Comment 3 youenn fablet 2017-06-14 02:33:26 PDT
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).