Interface: MediaAttributes
Hierarchy
MediaAttributes
↳
Media
Properties
active
• Readonly
active: boolean
Indicating whether the media is active
A stream is considered active if at least one of its MediaStreamTracks does not have its property MediaStreamTrack.readyState set to ended. Once every track has ended, the stream's active property becomes false.
audioInput
• Optional
audioInput: MediaDeviceInfoLike
Audio input device is used for the audio track from the current stream
audioMuted
• audioMuted: undefined
| boolean
Current mute state of audio track
undefined
means there is no such track from the stream
devices
• devices: IndexedDevices
The devices used for the media
expectedAudioInput
• Optional
expectedAudioInput: MediaDeviceInfoLike
The audio input device which is expected to be used for the current stream based on the provided constraints
expectedVideoInput
• Optional
expectedVideoInput: MediaDeviceInfoLike
The video input device which is expected to be used for the current stream based on the provided constraints
id
• Readonly
id: string
A string containing a 36-character universally unique identifier (UUID) for the object.
status
• status: UserMediaStatus
The status of the media
stream
• stream: MediaStream
Media stream for the media
videoInput
• Optional
videoInput: MediaDeviceInfoLike
Video input device is used for the video track from the current stream
videoMuted
• videoMuted: undefined
| boolean
Current mute state of video track
undefined
means there is no such track from the stream