WHIP is a standard; WHEP is still a draft
WHIP, the WebRTC-HTTP Ingestion Protocol, was published in March 2025 as RFC 9725, a Proposed Standard from the IETF's WISH working group. It defines how an encoder starts sending WebRTC to a server with a single HTTP request.
WHEP, the WebRTC-HTTP Egress Protocol, does the same for playback, and it is not an RFC yet. In November 2026 it is still an Internet-Draft, submitted to the IESG for publication as a Proposed Standard. Many servers and players already implement it and they mostly work together, but details can still change before it is final.
A clarification for anyone comparing "WHIP vs WebRTC": WHIP is not an alternative to WebRTC. WebRTC is the media transport, and it never standardized how the two sides set up a session; every service invented its own signaling over WebSockets or custom APIs. WHIP and WHEP fill that gap for the broadcast case, with a URL and a token, the way RTMP has a URL and a stream key.
How WHIP works
- The encoder creates an SDP offer: a text description of the codecs it will send and how it can be reached.
- It sends that offer in an HTTP POST to the server's WHIP endpoint, usually with a Bearer token for authentication.
- The server replies 201 Created with its SDP answer and a Location header: the URL of this session.
- ICE finds a network path, DTLS sets up the keys and the media starts flowing as encrypted SRTP over UDP.
- To stop, the encoder sends an HTTP DELETE to the session URL. Optional extras, such as sending network candidates later (trickle ICE) or restarting ICE, use HTTP PATCH on that same URL.
On the wire, the first exchange looks like this (shortened):
POST /whip/live HTTP/1.1
Host: media.example.com
Content-Type: application/sdp
Authorization: Bearer YOUR-TOKEN
v=0
o=- 0 0 IN IP4 0.0.0.0
...
HTTP/1.1 201 Created
Content-Type: application/sdp
Location: https://media.example.com/whip/session/abc123 That is the whole point of the protocol. Before WHIP, sending WebRTC from an encoder meant custom signaling for each platform. Now any WHIP encoder can talk to any WHIP server, the same way any RTMP encoder can talk to any RTMP server.
WHEP: the same idea for playback
WHEP mirrors WHIP on the viewer side. The player sends its SDP offer in an HTTP POST to the server's WHEP endpoint, the server answers with its own SDP and a session URL, the WebRTC connection comes up and the stream plays; a DELETE ends the session. Its goal is interoperable players. Before WHEP, playing a WebRTC stream meant using each vendor's own JavaScript SDK, and switching vendors meant rewriting the player.
That also answers a common search, "WebRTC WHIP player": players do not use WHIP, which only sends. A player uses WHEP, or whatever signaling its server provides. The usual chain is encoder, WHIP, media server, then WHEP to WebRTC viewers, often with HLS produced at the same time for the audience that does not need real time.
WHIP vs WHEP at a glance
| Aspect | WHIP | WHEP |
|---|---|---|
| Direction | Encoder to server (ingest) | Server to viewer (playback) |
| Who sends the HTTP POST | The encoder | The player |
| Status in November 2026 | RFC 9725, Proposed Standard | Internet-Draft, submitted to the IESG |
| Typical clients | OBS, FFmpeg, GStreamer, mobile encoder apps | Web players, GStreamer, test tools |
Both share the same design: plain HTTP for setup and teardown, standard WebRTC for the media. A server that supports both can take a WHIP stream in and hand it to any number of WHEP players out.
What supports WHIP today
| Tool | Role | Notes |
|---|---|---|
| OBS Studio | WHIP sender | Built in since version 30 (2023) |
| FFmpeg | WHIP sender | WHIP muxer since version 8.0 (2025) |
| GStreamer | WHIP and WHEP | Client and server elements |
| Larix Broadcaster | WHIP sender | Mobile encoder for iOS and Android |
| MediaMTX | WHIP and WHEP server | Open source, self-hosted |
| Cloudflare Stream | WHIP ingest, WHEP playback | Managed service |
Older articles often say FFmpeg 7.0 added WHIP; the WHIP muxer actually arrived with FFmpeg 8.0 in August 2025. If you are looking for a WHIP WebRTC server to test with, MediaMTX is the quickest to run on your own machine: it exposes a WHIP and a WHEP endpoint for every stream path, on port 8889 by default.
How to send WHIP from OBS
- Open Settings, Stream and pick WHIP as the service.
- In Server, paste the WHIP endpoint URL from your server. With a local MediaMTX it looks like
http://localhost:8889/mystream/whip. - In Bearer Token, paste the token if the server requires one; leave it empty if not.
- In Output, apply the values below, then click Start Streaming.
| Setting | Suggested value | Why |
|---|---|---|
| Video codec | H.264 | Every browser decodes it, usually in hardware |
| Bitrate | 2,500 to 6,000 kbps at 1080p, CBR | WebRTC has no big buffer to hide congestion; leave upload headroom |
| Keyframe interval | 1 to 2 s | New viewers can only start on a keyframe |
| B-frames | 0 | Browser WebRTC decoders handle them poorly |
| Audio | Opus, which OBS uses for WHIP | Browsers do not play AAC over WebRTC |
For a free test with nothing to install, VDO.Ninja publishes instructions for receiving OBS's WHIP output and watching it in a browser. And if you were looking for a WHIP "source" to bring a feed into OBS: WHIP only sends. To show a WebRTC stream inside OBS, the usual route is a Browser Source pointed at a WHEP or VDO.Ninja viewer page. No plugin is needed for any of this since OBS 30.
Latency: WHIP vs RTMP and SRT
A common misunderstanding: WHIP makes the ingest leg very fast, but viewers only feel it if delivery is real time as well. If the server turns a WHIP stream into HLS, your audience still waits as long as HLS takes.
| Chain | Delay viewers typically see | On XtreamCast |
|---|---|---|
| RTMP or SRT in, HLS out | 10 to 30 s | About 30 s of margin, on purpose |
| RTMP or SRT in, LL-HLS out | About 2 to 5 s | About 3 s with the LL-HLS add-on |
| RTMP or SRT in, WebRTC out | Under 1 s | Up to 0.3 s with the WebRTC add-on |
| WHIP in, WebRTC (WHEP) out | Under 1 s end to end | WHIP ingest on paid plans; no WHEP endpoint |
The third row already reaches real-time playback without WHIP. For most interactive uses the encoder protocol is not the bottleneck; delivery is. That is why low-latency streaming on XtreamCast is set per channel on the delivery side, while your encoder keeps sending what it always sent.
Should you move from RTMP to WHIP?
WHIP makes sense when you control the server and deliver WebRTC end to end: auctions, remote guests, betting-style interaction or live monitoring of cameras, the cases we cover in our guide to interactive WebRTC streaming. It also suits publishing from a browser, since a web page can send WHIP without plugins.
Stay with RTMP or SRT when you stream to social platforms, which expect RTMP or RTMPS; when you deliver HLS anyway and ingest delay is irrelevant; when your hardware encoder has no WHIP option; or when the first mile is lossy. That last point matters: WebRTC protects latency first, so under loss it lowers quality or drops frames, while SRT protects the picture inside its fixed buffer. For a broadcast-quality contribution feed over a poor link, SRT usually wins, as we explain in SRT vs RTMP.
| Aspect | RTMP | WHIP |
|---|---|---|
| Defined by | A specification published by Adobe | IETF RFC 9725 (2025) |
| Transport | TCP | UDP, through WebRTC (ICE, DTLS, SRTP) |
| Encryption | Only with RTMPS | Always |
| Audio codec | AAC | Opus |
| Social platforms | Accepted everywhere | Rarely accepted |
| Typical use | Ingest for HLS delivery | Ingest for real-time delivery |
One more nuance on encryption: WebRTC encrypts each hop, but a media server in the middle decrypts the stream to forward it, so this is not end-to-end encryption between encoder and viewer. For a wider view of delivery options, see RTMP vs HLS vs WebRTC, and for the protocol that may eventually join them, Media over QUIC.
Where XtreamCast fits, honestly
XtreamCast receives your stream by RTMP, RTMPS or SRT on every plan, and by WHIP on paid plans, so OBS 30 or later can publish to it over WebRTC. Playback is a different story: WebRTC playback goes through Player Advance™ with its own WebSocket signaling, and there is no WHEP endpoint, so third-party WHEP players cannot pull from it. The WebRTC add-on costs USD 20/month per channel and reaches up to 0.3 s on a good connection, a ceiling rather than a guarantee. It plays a single quality without adaptive bitrate and does not fall back to HLS automatically. It is built for interactive groups; large audiences watch HLS, or LL-HLS at about 3 seconds for USD 20/month.
RTMP and SRT are still the safe default on the way in: every encoder speaks them, Restream relays the same stream to social platforms and the channel's SRT output can feed broadcast gear. If your project needs a WHEP endpoint for your own player, we are not the right fit; a self-hosted server such as MediaMTX, or a service that documents WHEP support, is. For interactive cases such as live auctions, what you get from us is WebRTC playback of up to 0.3 s without touching your encoder, plus an SRT server for a stable first mile.
WebRTC playback without changing your encoder
Keep sending RTMP or SRT from OBS or vMix and add WebRTC playback to a channel, with latency of up to 0.3 s for interactive groups and HLS for everyone else.