LocalTrack
Summary
The LocalTrack baseclass represents an audio or video track that the LocalParticipant
can publish to a Room.Properties
sid
optional
Server assigned id.
Server assigned id.
Remarks
The value set after the track is published to the server, or if it's a remote track.Type
string
streamState
Indicates the current state of stream.
Remarks
It'll indicate paused
if the track has been paused by the congestion controller.Type
StreamState
Accessors
Methods
getDeviceId
Signature
getDeviceId()
Returns
Promise
<undefined | string
> DeviceID of the device that is currently being used for this track