Stream ends and then shows back up later

Hello,

I am polling https://api.twitch.tv/kraken/streams?game=Destiny and paging through all of the results. I’m noticing an issue where the API will return a stream id (streams->_id) then it will vanish for 10-15 minutes and then re-appear with the same stream_id.

What is the official way of knowing that a single stream from a broadcaster has ended and that you can assume that it is over and won’t re-appear with the same id again and again?

Couldn’t they have changed the game they were playing then changed it back. “IRL” or “Social Eating” then back…

Checking https://api.twitch.tv/kraken/streams?channel=xxxxxx will confirm if the stream still exists(under another game perhaps). You might run into some anomalies with caching but they won’t last very long.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.