Skip to main content

Enumeration: MediaEventType

MediaStreamTrack Events

Remarks

See MDN Events

Enumeration Members

DeviceLost

DeviceLost = "device:lost"

Lost device from authorized device list


DevicesChanged

DevicesChanged = "devices:changed"

Fired when a media input or output device is attached to or removed from the user's computer.

Remarks

See MDN Events


DevicesFound

DevicesFound = "devices:found"

Found new devices from authorized device list


DevicesLost

DevicesLost = "devices:lost"

Lost devices from authorized device list


DevicesUnauthorized

DevicesUnauthorized = "devices:unauthorized"

Unauthorized devices


Ended

Ended = "ended"

Sent when playback of the track ends (when the value readyState changes to ended).


Error

Error = "error"

Other errors


Mute

Mute = "mute"

Sent to the MediaStreamTrack when the value of the muted property is changed to true, indicating that the track is unable to provide data temporarily (such as when the network is experiencing a service malfunction).


NoInputDevices

NoInputDevices = "devices:noinput"

No Input Devices, and no further device events will be emitted


Stream

Stream = "stream"

When stream


Unmute

Unmute = "unmute"

Sent to the track when data becomes available again, ending the muted state.