How do you handle streaming with connection lost #1860
Replies: 6 comments 7 replies
-
|
We have robust logic for stream start and end, and disconnects go through
the normal flow
…On Mon, Jun 9, 2025 at 16:15 marceliano13 ***@***.***> wrote:
Basically that, how do you handle HLS or LL-HLS when you have video stream
that can have multiple connection lost. I know that for every stream
restart it will create a new .m3u8, but how will i manage that on the
Frontend (in OvenPlayer or any other Web Browser Player).
How do you guys handle this? I'm i thinking the problem the wrong way?
—
Reply to this email directly, view it on GitHub
<#1860>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWICCHVRDLTTM67RGTT3CWQHNAVCNFSM6AAAAAB65GHMP6VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGQZTGNJRG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
You can create a permanent channel with Scheduled Channel. |
Beta Was this translation helpful? Give feedback.
-
|
For our setup the llhls playlist doesn't change names. So e.g. a user
connects to their stream name and then when they disconnect and reconnect,
they're always connecting to the same stream
…On Mon, Jun 9, 2025 at 16:39 marceliano13 ***@***.***> wrote:
My problem is not the robustness but its the fact that every time the
stream starts again, it will create a new .m3u8.
I had the ideia of using LL-HLS for my live app but i have the following
challenge
Lets say:
1. Start Streaming
2. Creates 1.m3u8
3. Stop Streaming
4. Start Streaming again
5. Creates 2.m3u8
Now i have two .m3u8, where the 1.m3u8 has like 1h of segments and the
2.m3u8 has another hour of segments. So i have a stream of 2 hours already,
but in the web browser player i can only deliver one .m3u8 file.
—
Reply to this email directly, view it on GitHub
<#1860 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWKXMU4E2T2VBNWOF4T3CWTBTAVCNFSM6AAAAAB65GHMP6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBRGE2DONQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Why are you not just using /appname/stream name/llhls.m3u8 (could have the
formatting wrong there, this is off the top of my head)
…On Mon, Jun 9, 2025 at 16:57 marceliano13 ***@***.***> wrote:
Correct me if im wrong or doing something wrong, i've done some testing
and when i enable DVR on LL-HLS the behavior its like this when i stop and
start the same stream.
image.png (view on web)
<https://github.com/user-attachments/assets/e6781c4b-b75b-48f3-8c9c-ea6b53ad04b1>
I still have two different LL-HLS .m3u8's
—
Reply to this email directly, view it on GitHub
<#1860 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWKUJTERCV5FWIJNGB33CWVHBAVCNFSM6AAAAAB65GHMP6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBRGE3DGNI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Ah I understand the problem better now. Unfortunately I don't have a fix
for that. Probably you'd have to do some custom player logic or something?
…On Mon, Jun 9, 2025 at 17:03 marceliano13 ***@***.***> wrote:
Because that llhls.m3u8 will only have the current .m3u8.
Lets say im streaming, it create a llhls.m3u8 that points to
"chunklist...Bnow9A...m3u8", i stop streaming.
When i start streaming again the llhls.m3u8 will point to
"chunklist...QXSdkYjD....m3u8" and i "lose" the data from the first m3u8 on
web player
—
Reply to this email directly, view it on GitHub
<#1860 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWPTYHKXRS4EF3FUTWL3CWV6FAVCNFSM6AAAAAB65GHMP6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBRGE3DSNA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Looking into this as well for our use case, but not only for connect/disconnect/connect, but also service upgrades/restarts. Let's say a user is streaming, and then we reload the docker - this creates a new stream, and all old hls segments are gone right? On the playback side, players generally don't handle this nicely and require custom recovery. And it would be nice to still go back further in the stream when it happens. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Basically that, how do you handle HLS or LL-HLS when you have video stream that can have multiple connection lost. I know that for every stream restart it will create a new .m3u8, but how will i manage that on the Frontend (in OvenPlayer or any other Web Browser Player).
How do you guys handle this? I'm i thinking the problem the wrong way?
Beta Was this translation helpful? Give feedback.
All reactions