frankvHoof93 / TikTokLiveSharp

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

[BUG] #86

Open chalhoub37 opened 1 week ago

chalhoub37 commented 1 week ago

HttpRequestException: Request was unsuccessful [403] TikTokLiveSharp.Client.HTTP.TikTokHttpRequest+d__29.MoveNext () (at Library/PackageCache/dev.vanhoof.tiktokliveunity@18ae546fb8/TikTokLiveSharp/Client/HTTP/TikTokHttpRequest.cs:255)

i am trying the sample example , tried to add different live username but i am getting this error can someone help me how to fix it thank you

NguyenVuNguyenPhys commented 1 week ago

Currently in the TikTokLiveManager - Client Settings, if you tick the 'Skip Room Info' option, it will successfully connect to the livestream. However, skipping the Room Info may lead to a problem where it will respond with a 'Connected' event even if the stream ID is offline.

chalhoub37 commented 1 week ago

Currently in the TikTokLiveManager - Client Settings, if you tick the 'Skip Room Info' option, it will successfully connect to the livestream. However, skipping the Room Info may lead to a problem where it will respond with a 'Connected' event even if the stream ID is offline.

yes with checking 'skip room info' it can connect , can i know what is the disadvantage of skipping room info , what problem can i face ?

NguyenVuNguyenPhys commented 1 week ago

In this version of the library, it returns the connected status even if you or someone else is not livestreaming. So, if they are not livestreaming and the status is connected, then no event runs to your app. Even if that ID starts livestreaming later, your app still won't receive any comments and so on. If the host ID is online and livestreaming, then it works fine.

1fini commented 1 day ago

In this version of the library, it returns the connected status even if you or someone else is not livestreaming. So, if they are not livestreaming and the status is connected, then no event runs to your app. Even if that ID starts livestreaming later, your app still won't receive any comments and so on. If the host ID is online and livestreaming, then it works fine.

Thanks for the information! It works