MediaStreamTrackEvent

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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.

The events based on this interface are addtrack and removetrack

Properties

Also inherits properties from its parent interface, Event.

track Read only
A MediaStreamTrack object representing the track which was added to the stream.

Constructor

MediaStreamTrackEvent()
Constructs a new MediaStreamTrackEvent with the specified configuration.

Methods

Also inherits methods from its parent Event.

Specifications

Specification Status Comment
Media Capture and Streams
The definition of 'MediaStreamTrackEvent' in that specification.
Candidate Recommendation  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support55 ?50 No42 ?
MediaStreamTrackEvent() constructor55 ?50 No42 ?
track ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5555 ?5042 ?6.0
MediaStreamTrackEvent() constructor5555 ?5042 ?6.0
track ? ? ? ? ? ? ?

See also

ドキュメントのタグと貢献者

このページの貢献者: Sheppy, fscholz, jpmedley
最終更新者: Sheppy,