Last update:2025-08-19 18:42:42
This guide explains how to use WHIP (WebRTC-HTTP Ingestion Protocol) to publish a live stream and WHEP (WebRTC-HTTP Egress Protocol) to play it back using the CDNetworks Low Latency Live Streaming service.
CDNetworks supports both WHIP for ingest and WHEP for playback.
Before you start, ensure you have the following:
For a stable WebRTC stream, you must configure both the encoding and stream destination settings correctly.
| Setting | Recommended Value | Reason |
|---|---|---|
| Video Encoder | H.264 |
Ensures the best compatibility across browsers and devices. |
| Audio Encoder | Opus |
Required for WebRTC. OBS automatically selects this for WHIP streams. |
| x264 Options | bframes=0 |
Crucial. Disables B-frames, which can cause stuttering in web players. |
Navigate to Settings > Stream.
For Service, select WHIP.
In the Server field, enter your WHIP ingest URL using the following format:
https://<your-push-domain>/<appname>/<streamname>.sdp
<your-push-domain> with your configured push domain.<appname> and <streamname> with your application and stream identifiers. These are user-defined names that help you organize and manage different streams (e.g., ‘live’ and ‘test’).Important
The .sdp suffix is mandatory. Our platform requires it to identify the stream as a WHIP ingest.
To test your live stream, you can use any WHEP-compatible player or our web-based demo player. For both methods, the playback URL format is the same.
Playback URL Format
https://<your-pull-domain>/<appname>/<streamname>.sdp
<appname> and <streamname> match the values you set in OBS..sdp suffix is required for all WebRTC playback.You can use any WHEP-compatible player to test your stream. For example, the Eyevinn WebRTC Player is one such player that our team has confirmed is compatible.
To test with the Eyevinn player:
For a quick verification, you can use our demo player.
Note
This player uses our custom signaling protocol instead of WHEP. It’s a simple way to confirm your stream is working, as it receives the same low-latency video from our network.
To test:
.sdp) into the input field.Q: My encoder doesn’t support the Opus audio codec. What should I do?
A: Our platform can transcode the audio for you. Please contact our support team to enable the audio transcoding feature for your account.
Q: Can I stream with the H.265 (HEVC) codec?
A: No, WHIP/WHEP do not natively support H.265. You must use H.264 for direct publishing. However, if your source is H.265, please contact our support team to enable video transcoding for your account.
Q: Is disabling B-frames (bframes=0) absolutely required?
A: While not a protocol requirement, it is highly recommended. B-frames are the most common cause of stuttering and playback freezing in web browsers. For a smooth viewing experience, you should always disable them for WebRTC streaming.