Need a better way to detect when a stream is live without having to rely on Twitch API. Is it possible to add to the onContext event. a channel_id property and a type property saying if its ‘live’ ‘vodcast’ ‘’.
the reason behind a channel_id is it is impossible to currently determine wether the onContext has been triggered by a hosted feed or live feed.
the reason behind a type property for live vs vodcast is because an onContext is not triggered when a user goes offline.
i used to check if the bufferSize property is 0 or not for live status or not, but ran into those problems. if a viewer pauses and broadcaster goes offline, it wouldnt have been able to possible to capture an offline event.