sebheron / TikTokLiveSharp

Port of TikTok live library for C#
59 stars 50 forks source link

Timeout cannot be set after client has been initalised #29

Open MrPatryk opened 1 year ago

MrPatryk commented 1 year ago

I try to do reconnect functions but all time got error: Timeout cannot be set after client has been initalised.

In Start() I use

_client = new TikTokLiveClient(id,TimeSpan.FromSeconds(10));

and in reconnect function the same line (and adding again events listeners). How to do it ?