Skip to main content

What is Delivery and Outputs?

Delivery is the mechanism that transports your livestream from the server to the viewers watching the stream. The platform takes the ingested stream and sends it to viewers at scale using CDNs (Content Delivery Networks) with servers around the world and handles transcoding (creating multiple quality versions) along with optimizing routing to get video to viewers quickly.

Why This Matters

After you create your AI-generated stream in Daydream, there’s one more important decision: how will you get it to your viewers? Think of it like choosing how to deliver a package. You could use overnight express shipping (fast but expensive) or standard shipping (slower but handles more volume). With streaming, you’re choosing between speed and scale.

WHEP Output (Low Latency)

WHEP (WebRTC HTTP Egress Protocol) is designed for ultra-low latency streaming — typically under 1 second of delay. How it works: Uses WebRTC technology (the same technology used for video calls) creates direct peer-to-peer-style connections between your stream and viewers. Data travels quickly with minimal buffering.

HLS Output (CDN Distribution)

HLS (HTTP Live Streaming) is the industry standard for scalable, reliable delivery to large audiences. How it works: Breaks your stream into small video chunks (typically 2-10 seconds each) Distributes these chunks across CDN (Content Delivery Network) servers worldwide Viewers download and play chunks sequentially

Choosing the right output

API Examples

Create a Output with WHEP

WHEP output is provided when you create a stream with the Daydream API. The output_playback_id provided in the response is used to pull the stream from Daydream.

How It Works

Make sure to keep your API Key safe and secure and not exposed to the public

Create a Output with HLS

HLS output is provided when you create a stream with the Daydream API. The output_playback_id provided in the response is used to pull the stream from Daydream for scalable CDN distribution.

How It Works

Make sure to keep your API Key safe and secure and not exposed to the public

Create a Output with RTMP

Using Streaming Platforms to deliver your stream.
You are only able to change the output_playback_id when creating a NEW stream. You cannot change it on an existing stream.
Make sure to keep your API Key safe and secure and not exposed to the public

How It Works