Closed navarr closed 7 months ago
oh thanks when does this happen? is it when a streamer loses internet connection for a bit?
oh thanks when does this happen? is it when a streamer loses internet connection for a bit?
I would assume so. For me, I was testing stuff and left it running overnight in a chrome window. The connection closed when I locked my computer, and opened a new one when I started - and inspecting the websocket connections I saw it didn't rejoin.
It's testable by using webtools to set throttling to "offline" at which point twurple will assume the connection has dropped after a failed PING, and open a new one. Turning throttling back to "none" will then allow a connection to establish.
I'm unsure what exactly will happen in OBS, but I'm confident a similar situation for any kind of network hiccup that might happen during stream, or leaving OBS open for multiple days at a time.
awesome, I'll pull this into v1.2 later
pulling this into the small pronouns update today since it'll likely become obsolete once I switch to using Twitch's EventSub chat instead of IRC
At current, if the websocket gets interrupted, chatClient will open a new connection to the Twitch IRC Websocket interface, but will not rejoin the broadcaster's channel