frankvHoof93 / TikTokLiveSharp

Port of TikTok live library for C#
https://vanhoof.dev
Other
140 stars 28 forks source link

Lib stop listening to comming likes/events #15

Closed MrPatryk closed 1 year ago

MrPatryk commented 1 year ago

Hey, after 10-20minutes, sometimes after 1h game stops listening to new likes, gifts,joins etc -events. I try to disconnect and connect again but when lib website is down there are issues and can't connect till someone fixes domain :) how to avoid stopping listenings to events to dont regenerate tokens from your site which can be down = game useless for few hours till you react.

kmarcin01 commented 1 year ago

same problem

AbdurrahmanSefer commented 1 year ago

same problem

frankvHoof93 commented 1 year ago

Can any of you confirm what the state of the WebSocket is when it stops receiving events? (TikTokLiveClient -> TikTokWebSocket -> ClientWebSocket -> State).

danieltobon commented 1 year ago

the state is aborted

frankvHoof93 commented 1 year ago

Resolved in v0.9.5. Socket-loops will now check for socketstate, and will reconnect the SocketClient if the state is aborted.