Hey Barry,
Great to get your time on this.
Looking deeper, these messages are for our embed (we are using the recommend name):
- offline message
It is telling us they are offline. Is there any way for us to poll the status, instead of being pounded with messages that all say offline?
Otherwise, are we expected to change our embed in some way when the channel is offline? For example, is there a way to destroy the player, then re-create it later?
- update state message
These messages:
{
"eventName": "UPDATE_STATE",
"params": {
"channelName": "ugc",
"channelID": "50796963",
"currentTime": 0,
"duration": 0,
"muted": false,
"playback": "Idle",
"quality": "auto",
"qualitiesAvailable": [],
"stats": {
"videoStats": {
"backendVersion": "1.6.0-twitch.1-rc.1",
"bufferSize": null,
"codecs": "",
"displayResolution": "0x0",
"fps": 0,
"hlsLatencyBroadcaster": 0,
"playbackRate": 0,
"skippedFrames": 0,
"videoResolution": "0x0",
"latencyMode": "Normal Latency"
}
},
"volume": 0.5,
"ended": false
},
"namespace": "twitch-embed-player-proxy"
}
Appear to be for something called “twitch-embed-player-proxy”
We are not using any sort of proxy in our workflow. Also, the event is UPDATE_STATE., but the state remains the same from message to message. So it seems something is incorrectly sending the UPDATE message even when there is nothing to update. This adds load to our app.
- nolinit
The last message we are getting is:
rcv from frame https://embed.twitch.tv says nolInit
I googled nolinit but found nothing obvious.