Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LL-HLS inputs not working #1094

Closed
1 of 13 tasks
tbnguyen1407 opened this issue Aug 17, 2022 · 4 comments · Fixed by #1179
Closed
1 of 13 tasks

LL-HLS inputs not working #1094

tbnguyen1407 opened this issue Aug 17, 2022 · 4 comments · Fixed by #1179
Labels
bug Something isn't working

Comments

@tbnguyen1407
Copy link

Which version are you using?

v0.20.0

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

LL-HLS not working as input, using public streams. LL-HLS outputs are working fine when using other input formats.

The source streams can be played with ffplay

Describe how to replicate the issue

  1. start the server with config
~ rtsp-simple-server.yaml ~
paths:
  path1:
    source: https://pf5.broadpeak-vcdn.com/bpk-tv/tvrll/llcmaf/index.m3u8
    sourceFingerprint: EAF943121951A5DD64C57901C77147BA39F803DB8D84A4F8C0466A2A4077B097
  path2:
    source: https://llhls-demo.flussonic.com/flussonic/tracks-v1/index.ll.m3u8
    sourceFingerprint: 819451B90E69BCDF3A208DAB81E0A91C8E0648223F2AFBDD22C9AE779E7B9B3E

Did you attach the server logs?

yes

2022/08/17 15:41:34 INF rtsp-simple-server v0.20.0
2022/08/17 15:41:34 INF [path path1] [hls source] started
2022/08/17 15:41:34 INF [path path2] [hls source] started
2022/08/17 15:41:34 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2022/08/17 15:41:34 INF [RTMP] listener opened on :1935
2022/08/17 15:41:34 INF [HLS] listener opened on :8888
2022/08/17 15:41:36 INF [path path1] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte
2022/08/17 15:41:36 INF [path path2] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte
2022/08/17 15:41:43 INF [path path1] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte
2022/08/17 15:41:43 INF [path path2] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte
2022/08/17 15:41:50 INF [path path1] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte
2022/08/17 15:41:50 INF [path path2] [hls source] ERR: astits: fetching next packet failed: astits: creating packet buffer failed: astits: auto detecting packet size failed: astits: packet must start with a sync byte

Did you attach a network dump?

no

@aler9 aler9 added the bug Something isn't working label Aug 23, 2022
@aler9 aler9 mentioned this issue Oct 9, 2022
8 tasks
@aler9
Copy link
Member

aler9 commented Oct 9, 2022

Thanks for providing the test streams, there's a PR (#1179) that adds support for fMP4 segments and fixes the issue.

@aler9
Copy link
Member

aler9 commented Oct 23, 2022

Thanks again for providing the test streams, the HLS client has been improved in order to

  • support fmp4 segments
  • support audio in separate playlists
  • support byterange
  • start from the end of the stream if the stream is live
  • improve synchronization

@aler9
Copy link
Member

aler9 commented Oct 25, 2022

added in v0.20.1

@github-actions
Copy link
Contributor

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.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants