mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 01:09:40 -05:00
Fixed stack overflow error!
This commit is contained in:
@@ -50,7 +50,6 @@ public class TikTokLive {
|
|||||||
return requests().fetchLiveUserData(hostName).isLiveOnline();
|
return requests().fetchLiveUserData(hostName).isLiveOnline();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param hostName profile name of Tiktok user could be found in profile link
|
* @param hostName profile name of Tiktok user could be found in profile link
|
||||||
|
|||||||
@@ -159,8 +159,8 @@ public class TikTokLiveClient implements LiveClient {
|
|||||||
if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) {
|
if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
webSocketClient.stop();
|
|
||||||
setState(ConnectionState.DISCONNECTED);
|
setState(ConnectionState.DISCONNECTED);
|
||||||
|
webSocketClient.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setState(ConnectionState connectionState) {
|
private void setState(ConnectionState connectionState) {
|
||||||
|
|||||||
Reference in New Issue
Block a user