Interface: MediaAttributes
Hierarchy
MediaAttributes
↳
Media
Properties
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
constraints
• Optional
constraints: MediaDeviceRequest
The constraints used to request the media
devices
• devices: MediaDeviceInfoLike
[]
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
rawStream
• Optional
rawStream: MediaStream
The raw stream obtained from the getUserMedia
API
status
• status: UserMediaStatus
The status of the media
stream
• Optional
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