@videosdk.live/server-sdk
    Preparing search index...

    Class WhipResource

    WHIP ingress — vsdk.whip (WebRTC-HTTP publish into a room).

    create() builds the publish URL and token locally (no network call). delete() tears the publisher down.

    Index
    • Tear down a WHIP publisher. Pass the WhipIngress returned by create (or { roomId, participantId }); provide an explicit sessionId to target a specific session directly (e.g. from the publish response's Location header).

      Parameters

      • target:
            | WhipIngress
            | {
                displayName?: string;
                participantId: string;
                roomId: string;
                sessionId?: string;
            }

      Returns Promise<unknown>