Abstract
Readonly
kindOptional
sidindicates current state of stream, it'll indicate paused
if the track
has been paused by congestion controller
current receive bits per second
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: booleanAbstract
restartOptional
constraints: unknownExperimental
Sets a processor on this track. See https://github.com/livekit/track-processors-js for example usage
Abstract
startOptional
signalClient: SignalClientExperimental
Stops the track processor See https://github.com/livekit/track-processors-js for example usage
sid is set after track is published to server, or if it's a remote track