Class: LocalTrackPublication

LocalTrackPublication

A LocalTrackPublication is a LocalTrack that has been published to a Room.


Properties:
Name Type Description
kind Track.Kind

kind of the published LocalTrack

track LocalTrack

the LocalTrack

Extends

Members


isTrackEnabled

Whether the published LocalTrack is enabled

Properties:
Type Description
boolean

Methods


unpublish()

Unpublish a LocalTrackPublication. This means that the media from this LocalTrackPublication is no longer available to the Room's RemoteParticipants.

Returns:
Type
this

Events


trackDisabled

The published Track was disabled.

Inherited From:
Overrides:

trackEnabled

The published Track was enabled.

Inherited From:
Overrides: