bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
11.64k stars 1.47k forks source link

Need to refresh page few times until stream is going to work #1838

Closed JohnnyMclain12 closed 1 year ago

JohnnyMclain12 commented 1 year ago

Which version are you using?

v0.23.1

Which operating system are you using?

Describe the issue

I'm trying to use mediamtx as hls proxy. From my first streaming server everything is ok but when I'm trying to get stream from mediamtx I need two refresh page few times (more less 7 times) until is working. After that everything works great. Why is that? Maybe something is wrong with my configuration?

hls/disney_channel: source: http://mainServerStreaming:9567/hls/Disney+Channel.m3u8 sourceOnDemand: true sourceProtocol: tcp

Description

Describe how to replicate the issue

  1. start the server
  2. publish with hls
  3. read with hls

Did you attach the server logs?

Logs.txt

yes

Did you attach a network dump?

No

JohnnyMclain12 commented 1 year ago

Any help?

JohnnyMclain12 commented 1 year ago

I debugged the app a bit and I think the problem is in gohlslib library in func findSegmentWithID.

aler9 commented 1 year ago

duplicate of #1720 - we need someone that provides a publish HLS stream that allows to replicate the issue.

JohnnyMclain12 commented 1 year ago

@aler9 I have added streams with a playlist in the attachment dmax_stream.zip

github-actions[bot] commented 9 months ago

This issue is being locked automatically because it has been closed for more than 6 months. Please open a new issue in case you encounter a similar problem.