What are WHIP and WHEP?
WHIP sends live video into a streaming service over WebRTC, and WHEP plays it back out. Each session starts with one HTTP POST carrying an SDP offer. WHIP is RFC 9725, published March 2025. WHEP is still an IETF draft.
| WHIP | WHEP | |
|---|---|---|
| Full name | WebRTC-HTTP Ingestion Protocol | WebRTC-HTTP Egress Protocol |
| Direction | An encoder or browser sends media to a service | A player receives media from a service |
| Status | RFC 9725, Standards Track, March 2025 | Internet-Draft, version 05, 11 October 2026. Not an RFC |
| Starting a session | HTTP POST of an SDP offer. The reply is 201 Created with the SDP answer and a Location header | HTTP POST of an SDP offer. The reply is 201 Created with the answer, or 406 Not Acceptable with a counter-offer |
| Ending it | HTTP DELETE to the session URL | HTTP DELETE to the session URL |
| Authentication | Bearer token in the Authorization header | Bearer token in the Authorization header |
| Software encoder | OBS Studio 30.0 added a WHIP output | None: WHEP is for players |
Checked on against RFC 9725 (WHIP), the WHEP Internet-Draft and the OBS Studio 30.0 release notes.
Both names describe the same small thing: an agreed way to start a WebRTC stream with a server. WHIP covers the sending side and WHEP the watching side. The media itself is ordinary WebRTC in both.
Written by the TRaX Streaming team. Last reviewed .
What is WHIP?
WHIP, the WebRTC-HTTP Ingestion Protocol, is how an encoder or a browser starts sending a WebRTC stream to a server. WebRTC itself leaves that handshake out. RFC 9725 says WebRTC “intentionally does not specify a signaling transport protocol”, and calls that gap an obstacle to using WebRTC for ingest in broadcast and streaming, where an encoder is expected to push to any service.
WHIP closes the gap with one HTTP request. The encoder POSTs an SDP offer to a URL. The server replies 201 Created with its SDP answer and a Location header that names the new session. Media then flows one way, encoder to server. An HTTP DELETE to the session URL ends it.
For the person setting it up, that comes to a URL and a bearer token. Trickle ICE and ICE restarts, where a client uses them, go over HTTP PATCH to the same session URL.
What is WHEP?
WHEP, the WebRTC-HTTP Egress Protocol, points the same exchange the other way. A player POSTs an SDP offer, the server answers, and media flows from the server to the viewer. A WHEP server can also refuse the offer with 406 Not Acceptable and send a counter-offer, a step WHIP does not have.
WHEP is not finished. It is an IETF Internet-Draft, at version 05 dated 11 October 2026, and every Internet-Draft carries the notice that it may be “updated, replaced, or obsoleted by other documents at any time”. Code written against it today may need a change when the RFC is published.
Neither protocol chooses the codec
WHIP and WHEP start and stop a session. Which audio and video formats flow is settled in the SDP offer and answer, as in any WebRTC call. The WHEP draft tells players to offer as many codecs as they support, and the example sessions in both documents carry Opus audio.
On TRaX the audio over WebRTC is Opus. A feed that reached TRaX over SRT or RTMP with AAC audio is transcoded to Opus before WHEP playback. A player that expects AAC connects, shows video and stays silent, which is the first thing to check when a WHEP stream has no sound.
Where TRaX uses WHIP and WHEP
Publishing: a camera, microphone or screen share in the TRaX studio can publish from the browser over WHIP, with a short-lived session token and no install.
Playback: the embeddable player plays a source over WHEP, and the TRaX Edge watch page plays over WebRTC as well. The player fetches a read token that lasts two minutes. The two minutes limit when a connection can start, and a viewer already watching keeps watching. Apps built on the API use WHEP to monitor the studio’s program output.
One limit: an input you create for an encoder does not take WHIP. Its WHIP address carries no credential and answers 401. An encoder publishes to that input over SRT, RTMP or RTMPS.
The publish and play addresses on TRaX differ only in the last path segment, /whip or /whep, and both take the token as a Bearer header.
WHIP beside SRT and RTMP
The three do one job, getting a live feed to a server, for three kinds of sender. WHIP fits a browser, which speaks WebRTC and neither of the others. SRT fits an encoder on a line that drops packets: the TRaX receiver holds a 2-second window by default so a lost packet can be sent again. RTMP fits the encoder that offers nothing else.
Questions
What is the difference between WHIP and WHEP?
Direction. WHIP publishes media into a service, and WHEP plays media out of one. The HTTP exchange is nearly the same in both; WHEP adds the option of a counter-offer from the server.
Is WHIP a standard?
Yes. WHIP is RFC 9725, an IETF Standards Track document published in March 2025. It updates RFC 8840 and RFC 8842.
Can OBS publish over WHIP?
OBS Studio added a WHIP output in version 30.0, according to its release notes. To send OBS to a TRaX input, use SRT or RTMPS instead, because an encoder input on TRaX does not take WHIP.
Building against the API rather than running a show? WHIP and WHEP reference (developer docs) covers the same ground in implementation detail.
Put it to work on a real show
A co-host who opens a link and appears on the show is sending from a browser, the case RFC 9725 names when it says WHIP is usable in web browsers.
A remote speaker sends from a hotel laptop browser while the room cameras arrive over SRT from an encoder, so one show uses both kinds of ingest.
Both are studios that run in a browser tab, so the comparison turns on canvas, destination counts and price once the camera has arrived.
Related guides
Use RTMPS on a stable wired line: simple and universally supported. Use SRT when the path is lossy or cellular, because it recovers lost packets. Use WHIP when a browser should publish with nothing installed.
The link carries a random single-purpose token. Your guest opens it in an ordinary browser, lands in a green room off air, and you bring them on when ready. No account is created and nothing is installed.
Live delivery is H.264. HEVC would use fewer bits for the same picture, but major live destinations reject it outright, and HDR is only admitted when paired with HEVC — so HDR is not available on this path today.