Skip to main content

MediaTrackInit

Extends

Properties

PropertyTypeDescriptionOverridesInherited from
applyConstraints?(constraints) => Promise<void>--MediaTrack.applyConstraints
clone?(signals?) => MediaTrack--MediaTrack.clone
constraintsInputDeviceConstraint---
expectedInput?MediaDeviceInfoLikeThe MediaDeviceInfo object representing the device that the track is expected to be connected to. See https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfoMediaTrack.expectedInput-
getConstraints?() => InputDeviceConstraint--MediaTrack.getConstraints
getSettings?() => ExtendedMediaTrackSettings--MediaTrack.getSettings
id?stringA unique identifier for the track same as MediaStreamTrack.id if track is available otherwise it uses the id from the construction or the kind. See MediaTrackInit-MediaTrack.id
inputundefined | MediaDeviceInfoLikeThe MediaDeviceInfo object representing the device that the track is connected to. See https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfoMediaTrack.input-
kind"audioinput" | "videoinput"-MediaTrack.kind-
label?string--MediaTrack.label
mute?(toMute) => void--MediaTrack.mute
muted?booleanThe current mute state of the track. undefined means the track is not available-MediaTrack.muted
overrideMute?boolean---
previousMediaTrack?MediaTrack--MediaTrack.previousMediaTrack
release?() => Promise<void>--MediaTrack.release
signals?MediaSignals---
source?MediaTrackThe source track that it is originated from-MediaTrack.source
toJSON?() => unknown--MediaTrack.toJSON
track?MediaStreamTrackThe MediaStreamTrack object representing the track See https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack-MediaTrack.track