Skip to content

Is it possible to disable failed fetch attempts warnings? #41

@pie6k

Description

@pie6k
Image

TLDR: I often cancel streams and I expect those requests to fail, so I don't need those warnings as this is expected thing to happen.

My use case:

I use web-demuxer to dynamically seek frames of the video.

If user is rapidly navigating their video, I often cancel previous streams as they are no longer needed, but then those warnings are logged and it is quite spammy

I think those 'warnings' are kinda expected, if we cancel the stream, so maybe those could be logged as debug logs instead of warnings (in case of cancelled, not failed requests)?

As seen below - it is clearly seen that those requests were cancelled, not failed:

Image

Even better would be if the strem knows it is cancelled so it will not even perform those attempts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions