Understanding On-Demand Streaming in Xtream AI
Xtream AI Streaming Engine has two modes for channels that start only when someone watches: On Demand and Turbo On Demand. Both help you save bandwidth and server resources, especially with large channel lists or restreamed content. They differ in how fast the channel starts.
What is On Demand?
An On Demand channel stays idle until a client asks to play it. When a client opens the channel:
- Xtream AI checks which sources are working.
- Once it finds a working source, FFmpeg starts processing the stream.
- Only then does the stream become available to the client.
When the last viewer leaves, the channel stops again.
Key Benefits
- Bandwidth savings: nothing is processed or pulled from the source while the channel is idle.
- Connection efficiency: ideal for restream setups, where you want to keep connections to your provider to a minimum.
Considerations
- Start-up delay: FFmpeg has to start and process the stream from scratch, so start-up can take 9 to 30 seconds, depending on server load and how fast the source answers.
- Latency: FFmpeg was not designed for fast start-up of live streams, so some delay is expected.
- Minute Delay does not work with On Demand channels.
What is Turbo On Demand?
Turbo On Demand is an Xtream AI feature that makes On Demand channels start faster without giving up the savings.
When it is on:
- The server gives the channel more resources for a moment so it starts as soon as possible.
- The client waits less than with standard On Demand.
- It works with
.m3u8(HLS) and.mpd(MPEG-DASH) sources.
Key Advantages
- Faster start-up than standard On Demand.
- Still no processing while the channel is idle.
- A better experience for your clients when they switch channels.
Important Notes
- Not instant: Turbo On Demand does not give instant playback, but it cuts the wait noticeably.
- Short resource spike: the server may use more CPU or memory for a moment while the channel starts.
- Format dependent: it works with
.m3u8or.mpdsources. If a source is in another format, the system looks for a compatible variant. If there is none, the channel starts with standard On Demand.
Where to turn it on
- One channel: edit the channel, open the SERVERS tab, choose the servers in On Demand, and turn on the TURBO ON switch for faster start-up. See Add a Live Channel.
- Many channels: in Channels > Bulk Tools > Mass Edit, SERVERS tab, use On Demand and Turbo On Demand. See Mass Edit.
- Imported channels: in Import Channels, mark servers as on demand and turn on Turbo for on-demand servers in Channel Settings.
- Provider mirrors: choose On-demand or On-demand + Turbo as the playback mode of the mirror. See Stream Providers & Mirrors.
Summary
| Feature | On Demand | Turbo On Demand |
|---|---|---|
| Idle resource usage | Minimal | Minimal |
| Start-up time | 9 to 30 seconds (FFmpeg dependent) | Faster (accelerated start-up) |
| Source formats | Any format FFmpeg supports | .m3u8 (HLS) and .mpd (MPEG-DASH) |
| Resource efficiency | High | High, with a short spike at start |
| Best for | Saving bandwidth on channels with few viewers | Faster zapping on popular channels |
Conclusion: both modes save bandwidth and reduce server load. Standard On Demand gives the most savings. Turbo On Demand gives your clients a faster, smoother start, especially on popular channels with HLS or DASH sources.