The spec defines AudioStreamTrack and a VideoStreamTrack interfaces: [Constructor(optional MediaTrackConstraints videoConstraints)] interface VideoStreamTrack : MediaStreamTrack { static sequence<DOMString> getSourceIds (); }; [Constructor(optional MediaTrackConstraints videoConstraints)] interface AudioStreamTrack : MediaStreamTrack { static sequence<DOMString> getSourceIds (); }; Earlier this week the spec editors agreed to remove the getSourceIds() methods because the functionality is a subset of what can be done with MediaStreamTrack.getSources(), but having typed streams will still be useful. <rdar://problem/15022548> <rdar://problem/15022541>
Created attachment 212737 [details] Proposed patch
Committed r156488: https://trac.webkit.org/r156488