package js.html
extends Event
Available on js
The MediaStreamTrackEvent
interface represents events which indicate that a MediaStream
has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur.
Documentation MediaStreamTrackEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(type:String, eventInitDict:MediaStreamTrackEventInit)
Throws:
null |
DOMError |
---|
read onlytrack:MediaStreamTrack
A MediaStreamTrack
object representing the track which was added to the stream.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MediaStreamTrackEvent.html