Skip to content

Increase read timeout for appending files #17081

@CueXXIII

Description

@CueXXIII

Expected behavior of the wanted feature

The current timeout for reading from appended files currently is hardcoded to 2s in stream/stream_file.c. This is too low for live streams downloaded with yt-dlp. Some of them come in chunks every 5s, and I even have seen 10s with twitch. Increasing the timeout to 1 minute would work by setting

#define MAX_RETRIES 300

Alternative behavior of the wanted feature

If there a reasons for having a timeout of 2s, the timeout value should be configurable. I don't think that should be neccessary.

Log File

No response

Sample Files

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions