[Webkit-unassigned] [Bug 111079] MediaStream API: local addTrack() and removeTrack() operations should not fire events.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 4 02:22:43 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=111079





--- Comment #7 from Adam Bergkvist <adam.bergkvist at ericsson.com>  2013-03-04 02:25:07 PST ---
Thanks :)

(In reply to comment #3)
> This patch looks just dandy to me, but maybe the spec needs a little bit of clarification exactly when the add/removeTrack events are thrown (only for streams originating from an remote peer).

I think the text describing these events suffered the most when we extracted the "Media Capture and Streams" stuff from the WebRTC spec. The events are defined in the "Media Capture" spec, but never used there; the usage is described in the WebRTC spec (Section "9.2.2 Events on MediaStream" [1]). Please provide some feedback if you think that section needs to be improved.

There's an non-normative "Event Summary" section in the "Media Capture" spec with short descriptive text for each event. The current text says: "A new MediaStreamTrack has been added to this stream.". We could change the text to make it more clear that these events are used to notify the script about external modifications to the track lists.

[1] http://dev.w3.org/2011/webrtc/editor/webrtc.html#events-on-mediastream

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list