-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded ads #754
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What are embedded ads and what can be done?
See the current meta thread on Streamlink's issue tracker
streamlink/streamlink#4949
Read the embedded-ads section of Streamlink's Twitch plugin documentation
https://streamlink.github.io/latest/cli/plugins/twitch.html#embedded-ads
Ads filtering in Streamlink Twitch GUI
As a Streamlink Twitch GUI user, to activate Streamlink's ads filtering, all you have to do is to enable the "Skip advertisements embedded into streams" checkbox in the streaming settings menu.
The option is also available for individual channels in their respective channel settings menu, so you can override the global configuration.
This will filter out pre-roll and mid-roll ads and will pause the stream output during that time. If your player can't handle stream discontinuities when the stream output resumes after the ad break has ended, then try to upgrade or change your player. Using MPV is recommended.
Authentication for preventing embedded ads
Carefully read the Authentication section of Streamlink's Twitch plugin documentation
https://streamlink.github.io/latest/cli/plugins/twitch.html#authentication
This can't be automated via Streamlink Twitch GUI, because it uses a different API when logging in. The OAuth tokens generated by these two APIs are incompatible, and the one used by Twitch's website can't be used by applications like Streamlink Twitch GUI. There is no workaround. Either create a config file or update your existing one with the necessary authentication data, or add the parameter to the list of custom parameters in Streamlink Twitch GUI's streaming settings menu after you've enabled advanced settings.
The text was updated successfully, but these errors were encountered: