Skip to content

Set 15m Timeout to HLS.js Segment Request#35

Draft
jaruba wants to merge 1 commit intomasterfrom
increase-hls-segment-timeout
Draft

Set 15m Timeout to HLS.js Segment Request#35
jaruba wants to merge 1 commit intomasterfrom
increase-hls-segment-timeout

Conversation

@jaruba
Copy link
Copy Markdown
Member

@jaruba jaruba commented Nov 13, 2022

I am not 100% certain yet, but I think the low hls.js segment request timeout may have been locking up ffmpeg processes.

@jaruba jaruba requested a review from nklhtv November 13, 2022 06:14
@jaruba
Copy link
Copy Markdown
Member Author

jaruba commented Nov 13, 2022

Had time to look more into this, the change does help, we are currently presuming a torrent engine bug.

What happened before:

  • segment kept being requested
  • ffmpeg would lock up

What happens with this change:

  • segment is requested once
  • the torrent engine goes in idle mode after audio segments finish
  • the segment request fails with 500 http error
  • the segment is requested again
  • reignites the torrent engine
  • video playback continues

@jaruba jaruba marked this pull request as draft May 23, 2023 20:31
@tymmesyde tymmesyde force-pushed the master branch 2 times, most recently from 64e6eb5 to 3035ba2 Compare March 30, 2026 11:38
@kKaskak kKaskak added the HTMLVideo Web browser video implementation label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HTMLVideo Web browser video implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants