Events

This section contains the Media Capture and Streams events reference documentation.

In this section

TopicDescription

onactive

This event is fired when the MediaStream becomes active.

onaddtrack

This event is fired when a MediaStreamTrack is added to the MediaStream.

ondevicechange

This event is fired when the set of media device has changed.

onended

This event is fired when the MediaStreamTrack source will no longer provide any data.

oninactive

This event is fired when the MediaStream becomes inactive.

onmute

This event is fired when the source for MediaStreamTrack becomes temporarily unavailable.

onoverconstrained

This event is fired when the browser is no longer able to satisfy the constraints after a new constraint has been added.

onremovetrack

This event is fired when a MediaStreamTrack is removed from the MediaStream.

onunmute

This event is fired when the source for MediaStreamTrack becomes available after being temporarily unavailable.

 

 

 

Show: