W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2016

[webrtc-pc] RTCTrackEventInit: streams required?

From: aboba via GitHub <sysbot+gh@w3.org>
Date: Sat, 15 Oct 2016 20:02:30 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-183229873-1476561749-sysbot+gh@w3.org>
aboba has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== RTCTrackEventInit: streams required?  ==
In Section 5.7 we have: 

partial interface RTCTrackEvent : Event {
    readonly attribute FrozenArray<MediaStream> streams;
};

So it would appear that streams is non-nullable. 

However, we also have: 

dictionary RTCTrackEventInit : EventInit {
    required RTCRtpReceiver        receiver;
    required MediaStreamTrack      track;
             sequence<MediaStream> streams = [];
    required RTCRtpTransceiver     transceiver;
};

This indicates that streams is not required. 


Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/868 using your GitHub account
Received on Saturday, 15 October 2016 20:02:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:20 UTC