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.
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.
Thoughts?
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).