Interface LocalTrackOptions

Options available for configuring LocalTrack created with getUserMedia and getDisplayMedia

Hierarchy

  • MediaTrackConstraints
    • LocalTrackOptions

Properties

advanced?: MediaTrackConstraintSet[]
aspectRatio?: ConstrainDouble
autoGainControl?: ConstrainBoolean
channelCount?: ConstrainULong
constraints?: MediaTrackConstraints

A set of constraints for configuring the media. These are the same as the constraints passed to navigator.mediaDevices.getUserMedia

For more information about constraints see

deviceId?: ConstrainDOMString
echoCancellation?: ConstrainBoolean
facingMode?: ConstrainDOMString
frameRate?: ConstrainDouble
groupId?: ConstrainDOMString
height?: ConstrainULong
latency?: ConstrainDouble
name?: string

A name to be given to the resulting track. This will populate LocalTrack.name

noiseSuppression?: ConstrainBoolean
sampleRate?: ConstrainULong
sampleSize?: ConstrainULong
suppressLocalAudioPlayback?: ConstrainBoolean
width?: ConstrainULong

Generated using TypeDoc