Optional
constraints: MediaTrackConstraintsSignals to the SDK whether or not the mediaTrack should be managed (i.e. released and reacquired) internally by the SDK
Optional
audioContext: AudioContextOptional
loggerOptions: LoggerOptionsReadonly
kindOptional
sidsid is set after track is published to server, or if it's a remote track
indicates current state of stream, it'll indicate paused
if the track
has been paused by congestion controller
current receive bits per second
boolean indicating whether enhanced noise cancellation is currently being used on this track
creates a new HTMLAudioElement or HTMLVideoElement, attaches to it, and returns it
attaches track to an existing HTMLAudioElement or HTMLVideoElement
Detaches from all attached elements
Detach from a single element
DeviceID of the device that is currently being used for this track
Gets the RTCStatsReport for the LocalTrack's underlying RTCRtpSender See https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport
Promise
pauses publishing to the server without disabling the local MediaStreamTrack this is used to display a user's own video locally while pausing publishing to the server. this API is unsupported on Safari < 12 due to a bug
Optional
options: ReplaceTrackOptionsOptional
userProvidedTrack: booleanOptional
options: AudioCaptureOptionsExperimental
Sets a processor on this track. See https://github.com/livekit/track-processors-js for example usage
Experimental
Stops the track processor See https://github.com/livekit/track-processors-js for example usage
MediaTrackConstraints that are being used when restarting or reacquiring tracks