This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19568 - MediaStreamTrackEvent is no longer defined
Summary: MediaStreamTrackEvent is no longer defined
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Adam Bergkvist
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 00:02 UTC by Ben Schwartz
Modified: 2013-06-12 08:41 UTC (History)
4 users (show)

See Also:


Attachments

Description Ben Schwartz 2012-10-17 00:02:51 UTC
http://dev.w3.org/2011/webrtc/editor/getusermedia.html refers to MediaStreamTrackEvent but doesn't define it.  It used to be defined at

http://dev.w3.org/2011/webrtc/editor/webrtc-20120720.html#mediastreamtrackevent

but in the latest revision (http://dev.w3.org/2011/webrtc/editor/webrtc.html) it's no longer mentioned.
Comment 1 Adam Bergkvist 2012-10-17 08:06:07 UTC
It seems that it was lost when the Media Stream API was moved to the Media Capture spec.
Comment 2 Yang Sun 2012-10-18 03:05:30 UTC
mediastreamevent is still in webrtc draft,section 14.2
http://dev.w3.org/2011/webrtc/editor/webrtc.html#mediastreamevent

(In reply to comment #0)
> http://dev.w3.org/2011/webrtc/editor/getusermedia.html refers to
> MediaStreamTrackEvent but doesn't define it.  It used to be defined at
> 
> http://dev.w3.org/2011/webrtc/editor/webrtc-20120720.
> html#mediastreamtrackevent
> 
> but in the latest revision
> (http://dev.w3.org/2011/webrtc/editor/webrtc.html) it's no longer mentioned.
Comment 3 Adam Bergkvist 2012-10-19 08:41:03 UTC
(In reply to comment #2)
> mediastreamevent is still in webrtc draft,section 14.2
> http://dev.w3.org/2011/webrtc/editor/webrtc.html#mediastreamevent

Yes, MediaStreamEvent is only used by PeerConnection a.t.m. so it's in the section that extends the Media Stream API for network use.
Comment 4 Harald Alvestrand 2013-03-25 10:52:56 UTC
Adam, I'm assigning this to you. The MediaStreamTrackEvent is referenced in section 7 of the spec, and it's not the same as the webrtc spec's MediaStreamEvent - it's needed to get a complete signature on the onaddtrack and onremovetrack event handlers of a MediaStream.
Comment 5 Harald Alvestrand 2013-06-12 08:41:51 UTC
Fixed in May 29, 2013 version.

http://dev.w3.org/2011/webrtc/editor/getusermedia.html#mediastreamtrackevent