kohlerpop1
e8129862d1
Removal of examples using Deprecated TikTokEventListener!
2024-10-17 21:48:42 -04:00
kohlerpop1
e6211e69c5
Removed implements TikTokEventListener from TikTokEventListenerBase
...
Added current viewers to TikTokRoomInfoEventHandler
2024-10-09 18:06:28 -04:00
kohlerpop1
1b3ee24aea
Add STREAM_SUSPENDED proto and use it to fire stream ended event!
2024-10-08 21:41:04 -04:00
kohlerpop1
5f5ada312a
Renamed PingTask to HeartbeatTask to reflect discovered byte array of TikTok's custom heartbeat value
2024-07-30 16:09:50 -04:00
kohlerpop1
05e18ef8e0
Added User instance to LiveUserDataMapper Response to access the retrieved user.
2024-07-27 13:02:31 -04:00
JW
2bc1993ea5
- Create of methods for more events
...
- User.name was empty in testing event
- Add `onConnecting` to builder
2024-07-21 12:08:27 +02:00
kohlerpop1
3d4a517adb
Removal of TikTokRoomDataResponseEvent.java as its included in TikTokPreConnectionEvent.java
...
Added ListUser#toString
Changed TikTokLiveHttpClient.getStartingPayload and TikTokLiveHttpClient.getByteResponse to protected
Altered DownloadData to be dynamic to declare request values or append them instead!
2024-07-18 17:41:27 -04:00
kohlerpop1
b59373254c
Make TikTokLinkMicBattleEvent.is1v1 and is2v2 dynamic based upon team instance
...
Moved Team1v1 and Team2v2 totalPoints to Team for universal access
2024-07-05 16:21:42 -04:00
jacek.wolniewicz
aa56f8eaea
-- tests improvement
2024-07-05 13:21:59 +02:00
kohlerpop1
316868818b
Renamed Priority.priorityValue to value to follow enum standards
...
Clarified message in TikTokEventListener
2024-07-03 21:04:44 -04:00
jacek.wolniewicz
36475c2cf6
- change method name from onMapping, to mappings
2024-07-04 00:00:26 +02:00
jacek.wolniewicz
2dbe81278c
Merge branch 'refs/heads/master' into develop-1.8.2
2024-07-03 23:45:11 +02:00
jacek.wolniewicz
fa855fa3aa
Improvement on the ListenersManager
2024-07-03 23:40:48 +02:00
jacek.wolniewicz
290a4970fd
Improvement of Listener
2024-07-03 22:29:11 +02:00
jacek.wolniewicz
660cb287e9
Improvement of Listener
2024-07-03 22:27:15 +02:00
kohlerpop1
f5de7720cd
Created TikTokLiveUnknownHostException for use inside of TikTokLiveClient!
2024-07-03 14:24:37 -04:00
kohlerpop1
1054453451
Change parameter names for clarification!
2024-07-02 17:50:37 -04:00
kohlerpop1
8d715d4f50
Added javadocs for clarity
...
Optimized methods in TikTokGiftEventHandler and TikTokGenericEventMapper
2024-07-01 17:02:08 -04:00
jacek.wolniewicz
1736236ccf
Due to convention, interfaces should not have TikTok name inside, but they should have prefix Live instead
...
- rename TikTokMapper to LiveMapper
- rename TikTokLiveMapperHelper to LiveMapperHelper
Create interface:
LiveEventsHandler for TikTokLiveEventHandler
LiveMessagesHandler for TikTokLiveMessageHandler
2024-07-01 22:19:07 +02:00
jacek.wolniewicz
85d99ce4f1
TikTokLive client sevices customization
2024-07-01 21:57:07 +02:00
jacek.wolniewicz
87727070e9
Move all events documentation to the 'EventsBuilder'
2024-07-01 21:33:04 +02:00
jacek.wolniewicz
71f744cf49
Merge remote-tracking branch 'origin/develop-1.8.1' into develop-1.8.1
2024-07-01 21:26:10 +02:00
jacek.wolniewicz
046d5f1756
Simplify adding events to TikTok Builder,
...
checkout `EventsBuilder`
2024-07-01 21:25:30 +02:00
kohlerpop1
c36b0f1f62
Fixed spelling mistake!
2024-07-01 15:04:05 -04:00
jacek.wolniewicz
4d4317d96c
Clean up code
2024-06-30 07:28:50 +02:00
kohlerpop1
947c9c49a2
Improve addProxy(String addressPort) in ProxyClientSettings
...
Added @param action description and return values
Optimized methods in TikTokLiveMapper
Optimized Thread in TikTokWebSocketPingingTask
Optimized TikTokLiveEventHandler and TikTokLiveMessageHandler methods
2024-06-29 23:28:49 -04:00
jacek.wolniewicz
1c88491b8c
Merge branch 'refs/heads/dev-dependecy-injection' into develop-1.7.3
...
# Conflicts:
# API/src/main/java/io/github/jwdeveloper/tiktok/data/settings/ProxyClientSettings.java
# Client/src/main/java/io/github/jwdeveloper/tiktok/TikTokLiveClientBuilder.java
2024-06-29 22:57:56 +02:00
jacek.wolniewicz
47b050d0ba
Introduce dependecy injection container
...
- TikTokLiveClientBuilder this class has been higly modify to support DI container
2024-06-29 22:52:39 +02:00
kohlerpop1
cfef082d3b
Updated ProxyData exceptions to include previous exception to finish stacktrace
...
Updated LiveUserData.Request to throw an IllegalArgumentException when a null or blank username is provided
Updated HttpClientSettings to use setProxyClientSettings instead of direct access
Fixed ProxyRotation bug starting at index 1 instead of 0 and made methods default to synchronized in case concurrency is used in implementors code
Changed HttpClient#toUrl to toUri
Added @Getter to HttpClientFactory for liveClientSettings
Added consumer to TikTokLive#requests so that way proxies can be used when calling the fetch methods
Changed LiveUserData.Response#startTime to clarify the variable name
2024-06-28 23:07:10 -04:00
kohlerpop1
69f1d5b5c2
Fixed proto file type names, created TikTokEventListenerBase with all events, created ListUser with additional information, and created all events for TikTokLink individual events
2024-06-01 22:18:43 -04:00
kohlerpop1
95e357af92
Updated HTTP response code messages
...
General optimization of classes and removal of no longer needed classes
Removed unused imports
2024-05-29 14:00:20 -04:00
kohlerpop1
af52e15a45
Removal of shared cookie parameter cookie in TikTokWebSocketClient!
...
Privatized objects in HttpClientSettings so getters are used!
2024-05-23 21:29:03 -04:00
kohlerpop1
5c715bfd52
Changed Picture#Empty to Picture#empty to follow Java standards
...
Updated descriptions in LiveClientSettings
Added new LiveHttpClient#fetchRoomGiftsData(String room_id) to fetch gifts for this specific room/livestream and altered GiftsDataMapper to reflect the new fetchRoomGiftsData and other TikTokLive client and http client classes
2024-05-13 21:14:03 -04:00
kohlerpop1
d09c90ef54
Added append live username option to FileStorage and now support connection to 18+ age restricted!
2024-05-10 16:44:42 -04:00
kohlerpop1
301df6392d
More updated to TikTokLinkMicBattleEvent, updated Gift since its no longer enum we do not need to use Unsafe, and added default mappings for WebcastLinkMicBattle and WebcastLinkMicArmies
2024-04-19 13:41:07 -04:00
kohlerpop1
fb9fc04ee5
Revert "More updated to TikTokLinkMicBattleEvent, updated Gift since its no longer enum we do not need to use Unsafe, and added default mappings for WebcastLinkMicBattle and WebcastLinkMicArmies"
...
This reverts commit 43a8ba4225 .
2024-04-19 13:33:49 -04:00
kohlerpop1
43a8ba4225
More updated to TikTokLinkMicBattleEvent, updated Gift since its no longer enum we do not need to use Unsafe, and added default mappings for WebcastLinkMicBattle and WebcastLinkMicArmies
2024-04-19 13:28:10 -04:00
kohlerpop1
67948b14cc
Changed isNotClosing to isOpen because if isOpen is false inside of any of the using methods, it throws an exception.
2024-04-10 11:54:35 -04:00
kohlerpop1
22e11a7822
Removed TikTokRoomInfo.getHostUser() in favor of TikTokRoomInfo.getHost().
...
Major rework of TikTokLinkMicBattleEvent and proto to support it.
Addition changes to other files to support!
2024-04-09 21:38:04 -04:00
kohlerpop1
71853db5cc
Merge remote-tracking branch 'origin/develop-1.5.0' into develop-1.5.0-live-user-data-fix
...
# Conflicts:
# Client/src/main/java/io/github/jwdeveloper/tiktok/TikTokLiveClient.java
2024-02-29 20:38:53 -05:00
kohlerpop1
ef90d4cd58
Moved validation to TikTokLiveClientBuilder#validate!
2024-02-29 20:38:05 -05:00
JW
eea691a5aa
- implementing publishing messages
2024-03-01 02:20:11 +01:00
kohlerpop1
29631ac468
Fixed Live User Data Mapper throwing MalformedJsonException!
2024-02-29 19:19:23 -05:00
JW
45bac053b9
Removed unused projects
2024-02-28 16:44:07 +01:00
JW
ffbd67eef4
made: settings.fetchGifts default to true,
...
attach to options `setOffline`
create static method `of` for events
-TikTokGiftEvent
-TikTokCommentEvent
-TikTokSubscribeEvent
-TikTokFollowEvent
-TikTokLikeEvent
-TikTokJoinEvent
Rename:
GiftSendType -> GiftComboStateType
2024-02-28 16:05:25 +01:00
JW
e923f3fad7
made: settings.fetchGifts default to true,
...
attach to options `setOffline`
create static method `of` for events
-TikTokGiftEvent
-TikTokCommentEvent
-TikTokSubscribeEvent
-TikTokFollowEvent
-TikTokLikeEvent
-TikTokJoinEvent
2024-02-28 15:58:16 +01:00
JW
faa1185b97
made: settings.fetchGifts default to true
2024-02-28 15:11:03 +01:00
JW
0fcac60cbe
Update gifts manager
2024-02-25 21:29:21 +01:00
JW
63dd8c20ac
Update gifts manager
2024-02-25 21:02:39 +01:00
JW
b809bb6cda
Update gifts manager
2024-02-22 20:28:13 +01:00