Skip to main content

WHEP

WHEP pulls WebRTC media out of a room. It uses the same local-builder pattern as WHIP: whep.create builds a URL and token with no network call. Requires an active session in the room.

const play = client.whep.create(roomId, { source: { participantId: "presenter" } });

await client.whep.delete(play);

Options: participantId, source (which remote peer to pull), expiresIn.

Got a Question? Ask us on discord