Properties:
Name | Type | Description |
---|---|---|
isTrackEnabled |
boolean | whether the published LocalTrack is enabled |
kind |
Track.Kind | kind of the published LocalTrack |
priority |
Track.Priority | the publish priority of the LocalTrack |
track |
LocalTrack | the LocalTrack |
Extends
Methods
-
setPriority(priority)
-
Update the Track.Priority of the published LocalTrack.
Parameters:
Name Type Description priority
Track.Priority the new Track.priority
Throws:
RangeErrorReturns:
- Type
- this
-
unpublish()
-
Unpublish a LocalTrackPublication. This means that the media from this LocalTrackPublication is no longer available to the Room's RemoteParticipants.
Returns:
- Type
- this