Skip to content

Do not start stream twice if encode.ffmpeg_stream_restart is true #407

@AlexanderS

Description

@AlexanderS

Is your feature request related to a problem? Please describe.
If I have encode.ffmpeg_stream_restart enabled and the box wants to continue a stream, an ffmpeg process starts twice, and the first one quits just after the buffer period.

Describe the solution you'd like
f I understand correctly, encode.ffmpeg_stream_restart works by closing the file at the location where the box tries to continue the stream. Would it be possible to close the file immediately on request without starting the unnecessary ffmpeg process? This would considerably speed up the startup of the actual stream.

Describe alternatives you've considered
If I disable encode.ffmpeg_stream_restart and use a web radio stream, the box continues to play the cached data and suddenly jumps to more recent content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions