Properties

This section contains the Media Capture and Streams properties reference documentaiton.

In this section

TopicDescription

active

Indicates if the MediaStream is active.

constraintName

The name of the constraint that caused the error.

deviceId

The unique identifier for the device.

enabled

Controls the enabled state for the MediaStreamTrack object.

error

The MediaStreamError describing the error that triggered the event.

groupId

Returns the group identifier of the represented device.

id

The identifier string of an object.

kind

Describes the kind of the represented device.

kind (MediaDeviceInfo)

Describes the kind of the represented device.

label

A label describing the device.

mediaDevices

Returns a MediaDevices object.

message

Additional human-readable information provided by the browser about the error.

muted

Returns true if the track is muted or false if the track is not muted.

name

The name of the error.

readonly

Returns true if the track source (audio or video) is a local device, but is shared so that this track cannot modify the source's settings.

readyState

Returns the state of the track.

remote

Returns true if the track is sourced by a non-local source.

srcObject

Holds the MediaStream that provides media for this element.

track

Returns the MediaStreamTrack object for the MediaStreamTrackEvent.

 

 

 

Show: