Code Monkey home page Code Monkey logo

Comments (2)

vrement avatar vrement commented on June 13, 2024

Commercial
The annoyance in question is this screen during watching, which is there silent for often very long time.

from streamlink-twitch-gui.

bastimeyer avatar bastimeyer commented on June 13, 2024

Read this
https://streamlink.github.io/cli/plugins/twitch.html

Streamlink always acquires streaming access tokens while pretending to be Twitch's embedded web player. This is where they don't serve ads and instead show the "purple screen", because they can't or don't want to show ads on 3rd party websites.

If you want to see ads for whatever reason, then disable ad filtering (--twitch-disable-ads) in the Twitch GUI's streaming settings menu (you already have disabled this, otherwise you wouldn't see the "purple screen"), and then set the following Streamlink parameter, which can be done in the Twitch GUI's streaming settings menu after enabling advanced settings in the main settings menu, or set it in your Streamlink config file (see the Streamlink docs):
--twitch-access-token-param=playerType=web

Seeing ads or the purple screen however always results in a stream discontinuity, which needs to be avoided, or demuxing/decoding issues in your player can occur. This is also the case when filtering, but here it's the continuation of the same bitstream, albeit with a gap, but players usually can recover from this just fine.

from streamlink-twitch-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.