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

    Class WhepResource

    WHEP egress — vsdk.whep (standards-based WebRTC pull from a room). Requires an already-active session in the room.

    Index
    • Tear down a WHEP subscriber. Pass the WhepPlayback returned by create (or { roomId, participantId }); provide an explicit sessionId to target a specific session directly.

      Parameters

      • target:
            | WhepPlayback
            | {
                participantId: string;
                remotePeerId?: string;
                roomId: string;
                sessionId?: string;
            }

      Returns Promise<unknown>