In-browser broadcasting sends live video from the user’s device to Livepeer over WebRTC (e.g. WHIP), without OBS. It is optimised for low latency by default.Documentation Index
Fetch the complete documentation index at: https://na-36-docs-v2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Flow
- Create a stream via the API and get a stream key.
- Open a WebRTC connection to Livepeer ingest using that key (STUN/TURN required).
- Capture camera, microphone, and/or screen in the browser and send over WebRTC.
- Viewers watch via the stream playback ID in the Livepeer Player.
Using the Broadcast component
With@livepeer/react, use the Broadcast primitives and the stream ingest URL:
Embeddable broadcast
STREAM_KEY with your stream key.
Custom WebRTC (WHIP)
- Send
HEADtohttps://livepeer.studio/webrtc/{STREAM_KEY}and follow theLocationredirect for the ingest URL. - Create
RTCPeerConnectionwith ICE servers from that host (STUN/TURN). - Create SDP offer, gather ICE, POST offer to ingest URL, set answer as remote description.
- Add media tracks and send. End of broadcast is detected when packets stop; no DELETE required.