I’m currently waiting for the Twitch API to return anything (live/not live) to load my extension UI which is currently behind a loading spinner. The problem with this implementation is that the streamer can still be offline due to the response being offline.
My alternative implementation would be to load when the Twitch API returns the streamer as live. The drawback here is that if the streamer is offline and setup the extension as a panel, that the extension will be in a forever loading state until the streamer comes online.
I’ve looked at other extensions that have a similar implementation (adding a browser source to OBS), but don’t have this problem. My question is if there’s a better end point to call for determining if an extension is ready to be used other than live/not live?