TikTokLiveSharp icon indicating copy to clipboard operation
TikTokLiveSharp copied to clipboard

how can connect tiktok with roomID?[QUESTION]

Open metalalchemist opened this issue 1 year ago • 3 comments

hello, how can connect this with roomid instead hostid?

				TikTokLiveClient client = new TikTokLiveClient("", "my_roomId", new ClientSettings()
				{
					EnableCompression = false
				});
				client.OnConnected += Client_OnConnected;
				client.OnRoomUpdate += Client_OnRoomUpdate;
				client.OnLiveEnded += Client_OnLiveEnded;
				client.OnLike += Client_OnLike;
				client.OnJoin += Client_OnJoin;
				client.OnFollow += Client_OnFollow;
				client.OnChatMessage += Client_OnChatMessage;

but i receibed an error that says client don't exists. thanks

metalalchemist avatar Mar 06 '24 06:03 metalalchemist

Please provide more info on the error you're seeing. Connections should default to using RoomID if one is provided.

frankvHoof93 avatar Apr 18 '24 19:04 frankvHoof93

but is good my params? in userID is empty and in roomid my roomid? can you create an example in examples code, please?

metalalchemist avatar Apr 19 '24 00:04 metalalchemist

Your params look okay, yes. UserId can either be NULL or string.Empty ("")

frankvHoof93 avatar Apr 19 '24 20:04 frankvHoof93