Bug 121950

Summary: [MediaStream API] implement VideoStreamTrack and AudioStreamTrack
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: WebCore Misc.Assignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, jer.noble, thiago.lacerda
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 124288    
Attachments:
Description Flags
Proposed patch none

Description Eric Carlson 2013-09-26 06:02:23 PDT
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>
Comment 1 Eric Carlson 2013-09-26 12:29:18 PDT
Created attachment 212737 [details]
Proposed patch
Comment 2 Eric Carlson 2013-09-26 12:37:02 PDT
Committed r156488: https://trac.webkit.org/r156488