Bug 121950 - [MediaStream API] implement VideoStreamTrack and AudioStreamTrack
Summary: [MediaStream API] implement VideoStreamTrack and AudioStreamTrack
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks: 124288
  Show dependency treegraph
 
Reported: 2013-09-26 06:02 PDT by Eric Carlson
Modified: 2013-11-14 07:39 PST (History)
3 users (show)

See Also:


Attachments
Proposed patch (36.04 KB, patch)
2013-09-26 12:29 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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