I had a request for a feature that would help a lot with running streams. Right now twitch has multiple different features related to ad scheduling such as a pre-roll disabled timer, an automatic scheduled ad run timer, and just generally something tracking if ads are currently being run.
It would be really helpful if these were exposed through the API somehow. This would allow for better integrations with apps so that a streamer does not need to have the twitch dashboard open to check on things like how much time is left on the pre-rolls disabled timer or if the scheduled ad timer is going to run soon. This would also allow for some automated special stream integrations for things like built in visual stream elements that play during ads such as timers for how much longer the ad break will last, call to actions around subscribing if you want to remove ads, etc.
I imagine there are a handful of ways of implementing this if it’s possible. Eventsub or pubsub notifying on advertisment run events with metadata about how long pre rolls are disabled for and when the next auto scheduled ad break is would be one thing. Initial state upon a client connecting to the pubsub/eventsub on where those timers are at could be achieved either through an eventsub/pubsub message or simply a helix api that returns the current state of things.
Thanks so much for reading the suggestion.