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 19588 - change "MediaStreamEvent" to "RTCMediaStreamEvent"
Summary: change "MediaStreamEvent" to "RTCMediaStreamEvent"
Status: RESOLVED WONTFIX
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 03:38 UTC by Yang Sun
Modified: 2012-10-26 11:52 UTC (History)
3 users (show)

See Also:


Attachments

Description Yang Sun 2012-10-18 03:38:21 UTC
the same reason with RTCDataChannelEvent, and also keep the MediaStream untouched.

//////////////////change begin//////////////////////////////////

13.2 RTCMediaStreamEvent

The addstream and removestream events use the RTCMediaStreamEvent interface.

Firing a stream event named e with a MediaStream stream means that an event with the name e, which does not bubble (except where otherwise stated) and is not cancelable (except where otherwise stated), and which uses the RTCMediaStreamEvent interface with the stream attribute set to stream, must be created and dispatched at the given target.

[Constructor(DOMString type, RTCMediaStreamEventInit eventInitDict)]
interface RTCMediaStreamEvent : Event {
    readonly attribute MediaStream? stream;
};
dictionary RTCMediaStreamEventInit : EventInit {
    MediaStream stream;
};
13.2.1 Attributes

stream of type MediaStream, readonly, nullable
The stream attribute represents the MediaStream object associated with the event.

13.2.2 Dictionary RTCMediaStreamEventInit Members

stream of type MediaStream

///////////////////change end///////////////////////////////////////
Comment 1 Cullen Jennings 2012-10-24 19:21:05 UTC
has this been fixed?
Comment 2 Yang Sun 2012-10-25 00:35:10 UTC
not yet

(In reply to comment #1)
> has this been fixed?
Comment 3 Adam Bergkvist 2012-10-26 11:52:07 UTC
We recently added the RTC-prefix to everything in the WebRTC spec, except the extensions to the Media Stream API (wich MediaStreamEvent falls under). So the current resolution of this bug is WONTFIX. If you disagree with this decision please reopen.