mangui / mangui/flashls

Stopping/restarting live stream

Open
#329 1 comment 0 reactions 0 assignees View on GitHub
Chromeless fixed/answered question
Dominant language
ActionScript
Stars
744
Forks
259
PR merge metrics
No merged PRs in 30d

Description

I have a live HLS stream at http://peach.duckdns.org/live.m3u8 Everything works fine on first load or using pause/resume using the example player at http://www.flashls.org/latest/examples/chromeless/. However, if I hit the "stop" button and then the "play" button the player won't re-fetch the m3u8 file, it just re-plays the content that is cached in memory. Reloading the page gets the stream playing again. This is a problem because I'm using the clappr player, and it only exposes the stop control when playing a live stream. Is there something different that I should be doing when constructing the HLS stream (currently using FFMpeg), different HTTP headers, or maybe something in the JavaScript that creates the player? Or is this a bug I'm hitting in the player?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the stop-then-play behavior with the live HLS URL using the flashls chromeless example and the Clappr player setup described in the issue. Inspect the player construction and stop/play lifecycle, then verify that playing again fetches a fresh m3u8 playlist rather than replaying cached content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.