@twilio/video-node-sdk - v1.0.0-beta.2
    Preparing search index...

    Class LocalTrackPublication

    A publication of a LocalTrack, returned by LocalParticipant's track collections.

    Hierarchy (View Summary)

    Index
    isTrackEnabled: boolean

    Whether the track was enabled at the time this snapshot was taken.

    kind: TrackKind

    Whether this publication is a video, audio, or data track.

    track: LocalTrack | null

    The published local track, or null if the SDK could not resolve the instance for this publication.

    trackName: string

    The track name set at creation; defaults to the track's ID when unnamed.

    trackSid: string

    The published track's SID (MT...), unique per track.

    • Unpublish the underlying track from the room. Idempotent: a second call is a no-op. The publication's track remains readable after unpublishing.

      Returns this

      This publication.