LiveKit JS Client SDK - v2.11.1

    Class LocalTrackPublication

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    dimensions?: Dimensions

    dimension of the original published stream, video-only

    kind: Kind
    mimeType?: string

    MimeType of the published track

    simulcasted?: boolean

    true if track was simulcasted to server, video-only

    source: Source
    track?: LocalTrack<Kind> = undefined
    trackName: string
    trackSid: string

    Accessors

    Methods

    • Pauses the media stream track associated with this publication from being sent to the server and signals "muted" event to other participants Useful if you want to pause the stream without pausing the local media stream track

      Returns Promise<void>

    • Resumes sending the media stream track associated with this publication to the server after a call to [[pauseUpstream()]] and signals "unmuted" event to other participants (unless the track is explicitly muted)

      Returns Promise<void>

    MMNEPVFCICPMFPCPTTAAATR