Compare commits

...

3 Commits

Author SHA1 Message Date
kohlerpop1
d777559366 Fix accidental pom.xml comment! 2025-07-19 20:11:29 -04:00
kohlerpop1
567a952c00 Add Paused state for live data due to false positive of returning HostNotFound when they were only paused! 2025-07-19 20:10:29 -04:00
GitHub Action
a6188d8bb0 Update version in pom.xml 2025-05-21 22:48:07 +00:00
9 changed files with 9 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>TikTokLiveJava</artifactId>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>API</artifactId>

View File

@@ -52,6 +52,7 @@ public class LiveData {
public enum LiveStatus {
HostNotFound,
HostOnline,
HostPaused,
HostOffline,
}

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>TikTokLiveJava</artifactId>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -61,6 +61,7 @@ public class LiveDataMapper {
var statusId = status.getAsInt();
var statusValue = switch (statusId) {
case 2 -> LiveData.LiveStatus.HostOnline;
case 3 -> LiveData.LiveStatus.HostPaused;
case 4 -> LiveData.LiveStatus.HostOffline;
default -> LiveData.LiveStatus.HostNotFound;
};

View File

@@ -41,7 +41,7 @@
<parent>
<artifactId>TikTokLiveJava</artifactId>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<artifactId>TikTokLiveJava</artifactId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>TikTokLiveJava</artifactId>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>extension-recorder</artifactId>

View File

@@ -7,7 +7,7 @@
<groupId>io.github.jwdeveloper.tiktok</groupId>
<artifactId>TikTokLiveJava</artifactId>
<packaging>pom</packaging>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
<modules>
<module>API</module>
<module>Client</module>
@@ -78,7 +78,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>TikTokLiveJava</artifactId>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<version>1.10.5-Release</version>
<version>1.10.6-Release</version>
</parent>
<modelVersion>4.0.0</modelVersion>