thelabcat / rumble-api-wrapper-py

An unofficial Python wrapper for the Rumble Live Stream API
GNU General Public License v3.0
2 stars 1 forks source link

SSEChat never closes #5

Open thelabcat opened 5 months ago

thelabcat commented 5 months ago

AFAIK the SSEClient object is supposed to raise StopIteration when chat closes, which I'd think should happen when the livestream ends, but this never occurs, or at least not in my tests. Getting the next chat message will just hang forever after the stream is over.

thelabcat commented 5 months ago

Added Band-aid patch for this in 6e9f4a79107fd3c99d51c09658195be52b9a0c9e, SSE read timeout now declares the stream as ended.

thelabcat commented 2 months ago

Right now, the chat is eventually closing if there's no activity for a long time. Not sure if this is an actual close or a read timeout.