23-24 October 2025
Barbican Centre
Europe/London timezone

Fallback Streaming for RTSP Server

Not scheduled
5m
Barbican Centre

Barbican Centre

Level 4, Silk Street, London, EC2Y 8DS, UK

Speaker

Axel Tobieson (Spiideo)

Description

We wanted to serve content immediately while waiting for the primary source to arrive.
To solve this, we implemented a fallback mechanism using the fallbackswitch element combined with a custom parsebinloop element that continuously loops a seekable file source with seamless timestamps, making it appear as a live stream.

The system maintains two sources: the incoming primary stream and the looping fallback. When clients connect, they immediately receive the fallback content. Once the primary source arrives, we automatically switch to it and cleanly destroy the fallback pipeline. This ensures a stable RTSP server that always serves video, eliminating the "waiting for stream" experience.

In this lightning talk, I'll quickly go over the challenges of implementing seamless looping with continuous timestamps, lessons learned about building it, and demo the system in action showing the smooth transition from fallback to live content.

Speaker Bio

Working at Spiideo in Malmö, newly graduated. Fresh and excited about gstreamer

Duration of the talk 5 minutes (lightning talk)

Primary author

Axel Tobieson (Spiideo)

Presentation Materials

There are no materials yet.
2025 Host
Technische Universität Wien
2025 Gold Sponsors
AMD
Arm
Collabora
Microsoft
NVIDIA
Snap AR
2025 Silver Sponsors
CodeWeavers
FEX-Emu
Igalia
Qualcomm
The Linux Foundation
2025 Bronze Sponsors
Khronos Group
Libre Computer