Tags: jwdeveloper/TikTokLiveJava
Tags
Refactor LiveDataMapper to simplify JSON parsing
Fix potential IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.util.Objects.checkIndex(Objects.java:365)
at java.base/java.util.ArrayList.get(ArrayList.java:428)
at com.google.gson.JsonArray.get(JsonArray.java:232)
at io.github.jwdeveloper.tiktok.http.mappers.LiveDataMapper.getUser(LiveDataMapper.java:144)
at io.github.jwdeveloper.tiktok.http.mappers.LiveDataMapper.map(LiveDataMapper.java:108)
at io.github.jwdeveloper.tiktok.TikTokLiveHttpClient.getLiveData(TikTokLiveHttpClient.java:152)
at io.github.jwdeveloper.tiktok.TikTokLiveHttpClient.fetchLiveData(TikTokLiveHttpClient.java:133)
at io.github.jwdeveloper.tiktok.http.LiveHttpClient.fetchLiveData(LiveHttpClient.java:54)
at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:291)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:460)
Add nullability safety to Eulerstream WS mapping!
Change EulerstreamEnterpriseApi to use correct variable!
Changing native fetchGifts to false due to majority users not needing… … this and the endpoint now requiring signatures!
Add Goody Bag proto for testing and update TikTokBarrageEvent for pot… …ential use in SuperFan events.
Minor fix to proxying requests. Finally preserves state and proxies a… …ll requests when enabled.
Temp fix until Eulerstream passes currentViewers!
Fix Eulerstream websocket roomInfo incorrectly being mapped!
PreviousNext