[webrtc-pc] RTCTrackEventInit: streams required?

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