Conference Proceedings
- Home
- VHS for the streaming era: record and replay for HLS
VHS for the streaming era: record and replay for HLS
Description
It’s a quiet day at the office, you’re reviewing your colleague’s latest pull request, when all of a sudden a notification pops up. A new Jira ticket greets you: “This stream is stalling on my machine.” But when you play the stream on your end, everything seems to work just fine. Now what? Is it because of an ad break that only happens once an hour? Is there something wrong with their firewall or ISP? Are you even looking at the same stream, or are you hitting an entirely different CDN?
We’ve built a tool to record a part of a live HLS stream, and then replay it later on exactly as recorded. Customers can use the tool on their end until they reproduce the issue once, and then send that recording to our engineers to investigate. This way, these intermittent failures that are difficult to reproduce become fully deterministic and reproduce consistently. This makes debugging much easier and faster, since our engineers no longer have to wait until the problem occurs (no more xkcd #303 situations).
In this talk, I’ll show how we’ve built the tool and how we’ve used it to debug issues with our customers’ streams. I’ll also show how we’ve integrated it in our end-to-end tests, so we can prevent regressions even for these tougher issues.
This talk was presented at Demuxed 2025 in London, a conference by and for engineers working in video. Every year we host a conference with lots of great new talks like this – learn more at https://demuxed.com
Conference
Speakers
Other Proceedings
Here are some other proceedings that you might find interesting.
What Codec Should I Use?
Alan Resnick
Doing Server-Side Ad Insertion on Live Sports for 25.3M Concurrent Users
Ashutosh Agrawal
Is now the time to solve the deepfake threat?
Roderick Hodgson
Super Resolution: The scaler of tomorrow, here today!
Nick Chadwick
The do's and don'ts about Streaming security
Javier Brines Garcia
Modeling the conceptual structure of FFmpeg in JavaScript
Ryan Harvey
Objectionable Uses of Objective Quality Metrics
Richard Fliam
RTMP: web video innovation or Web 1.0 hack… how did we get to now?
Sarah Allen
Large-Scale Media Archive Migration to the Cloud
Konstantin Wilms
HEVC Upload Experiments
Chris Ellsworth
Related Courses
Below are some courses that might interest you based on the learning categories and topic tags of this conference proceeding.
What Codec Should I Use?
Alan Resnick
Doing Server-Side Ad Insertion on Live Sports for 25.3M Concurrent Users
Ashutosh Agrawal
Is now the time to solve the deepfake threat?
Roderick Hodgson
Super Resolution: The scaler of tomorrow, here today!
Nick Chadwick
The do's and don'ts about Streaming security
Javier Brines Garcia
Modeling the conceptual structure of FFmpeg in JavaScript
Ryan Harvey
Objectionable Uses of Objective Quality Metrics
Richard Fliam
RTMP: web video innovation or Web 1.0 hack… how did we get to now?