Skip to content

plugins.twitch: purple screen doesn't get filtered out correctly (embedded ads) #4106

@bastimeyer

Description

@bastimeyer

Checklist

Streamlink version

Latest build from the master branch

Description

Embedded ads meta-thread here: #3210


Twitch has, as expected, made new changes to their embedded ads system after their source code has been leaked a few weeks ago.

New access token request headers were added in #4086, but this, as expected as well, stopped working too, at least for non-preroll ads as far as I can tell.

The --twitch-disable-ads parameter still seems to be able to filter out ads, but there's one HLS segment with the purple screen which doesn't get caught by it, so the purple screen appears just before the stream output stops for filtering out the ads. It's possible that some timestamps are set differently now or that they are using different values in the metadata for annotating the ad segments.

To be able to fix this, we need to know the actual HLS playlist contents when the embedded ads start.

Debug log

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin issueA Plugin does not work correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions