Commit Graph
177 Commits
Author SHA1 Message Date
Manevolent 614b3d9d69 Address #9 and fix thread exits, add InterruptedException handlers, and make Microphone handling more stateful (don't run a thread all the time if nobody ever sets it) 2019-11-24 19:42:23 -07:00
Manevolent 92d97f96dc Fix two exceptions and fix channel password support 2019-11-22 09:07:38 -07:00
Manevolent 547947c95d Merge remote-tracking branch 'origin/master' 2019-11-14 01:19:42 -07:00
Manevolent 9694a3f2c5 The new TS3 server version broke TS3j, it is now ‭218092286‬ decimal. 2019-11-14 01:19:36 -07:00
sump pump 7ffae34864 Update README.md 2019-11-10 16:44:11 -07:00
sump pump 80482ae2cd Update README.md 2019-11-10 16:42:13 -07:00
sump pump f72791637d Merge pull request #5 from Phyrone/master
made clientversion changeable
2019-07-16 09:12:07 -06:00
Phyrone 06c21c0c56 made clientversion changeable 2019-07-16 23:47:05 +09:00
Manevolent d7b996e897 Merge remote-tracking branch 'origin/master' 2019-05-29 11:50:47 -04:00
Manevolent a86381a47b Exception propagation 2019-05-29 11:50:40 -04:00
sump pump 361521297a Update README.md 2019-05-29 10:45:33 -04:00
sump pump 43ea437f60 Update README.md 2019-05-15 20:21:52 -04:00
Manevolent 51aac79189 Merge remote-tracking branch 'origin/master' 2019-03-05 11:05:05 -05:00
Manevolent d750f9685c Setting description, editing client properties 2019-03-05 11:04:54 -05:00
Manevolent 299a0457bd runtime error 2019-02-12 18:35:24 -05:00
Manevolent 9648bd6226 adding/removing client permissions 2019-02-12 18:35:18 -05:00
Manevolent 55b10d6ba5 Merge remote-tracking branch 'origin/master' 2019-02-05 08:51:54 -05:00
Manevolent a883c8beef notifyclientchatclosed event handled 2019-02-05 08:51:46 -05:00
sump pump e84542c6bb Update README.md 2019-01-28 15:23:22 -05:00
Manevolent 7c33cfa97a - There was a bug that could cause TS3J to stop firing certain events to all event listeners if the command execution codes were generated quickly, sequentially by those event listener threads. This is now fixed.
- There is now more detailed output for command futures when reconnecting: "client reconnecting" instead of "client disconnected"
 - The MusicPlayer example now returns exit code -1 when it is kicked/disconnected prematurely.
2019-01-22 21:07:51 -05:00
Manevolent 0fed4c68ce Clamp high precision timer to specific tick drift 2019-01-22 11:50:03 -05:00
Manevolent 3e8991929e Audio sender and music player changes 2019-01-21 14:17:54 -05:00
Manevolent 8cd5fd100c We don't have an "onConnected" event, adding that now. 2019-01-20 19:34:26 -05:00
Manevolent 941308d67b Example of music streaming from disk 2018-12-24 20:32:26 -05:00
Manevolent 7b25be6420 Improper order of operations for ident export 2018-12-22 11:59:36 -05:00
Manevolent d9c2805528 com.sun package breaking Jitpack.io 2018-12-21 16:15:53 -05:00
Manevolent 9d602a8f98 Added audio sender test and disconnect reasons 2018-12-21 11:02:08 -05:00
Manevolent 24da34d23d Merge remote-tracking branch 'origin/master' 2018-12-21 09:57:56 -05:00
Manevolent 72c585a089 Ts3 INI saving, API is in. Loads into the official client, too. Check out LocalIdentity.save() methods 2018-12-21 09:57:49 -05:00
mane f8e8e84c43 Update README.md 2018-11-30 13:44:18 -05:00
mane 7bc317c207 Update README.md 2018-11-30 13:11:28 -05:00
mane b39741bebc Update README.md 2018-11-30 13:10:12 -05:00
Manevolent 91187964c5 Ts3 INI identity loading 2018-11-05 14:48:31 -05:00
Manevolent 3987f3c097 Allow getChannelInfo when in RETRIEVING_DATA state 2018-10-23 09:52:46 -04:00
Manevolent f06634879b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/com/github/manevolent/ts3j/protocol/socket/client/LocalTeamspeakClientSocket.java
2018-10-22 13:42:29 -04:00
Manevolent efd4b4b771 Reorganizing the removal of awaiting commands and so forth in hopes that lock-ups don't happen on reconnect. 2018-10-22 13:40:43 -04:00
Manevolent 99398369f1 Move stuff around 2018-10-13 16:32:23 -04:00
Manevolent 7889dc0caf Send serverflag0 with new packets as a test of sorts 2018-10-13 16:31:34 -04:00
Manevolent 61ce9df1f8 Compilation issues with jitpack 2018-10-13 16:14:07 -04:00
Manevolent 2202b3ab9a Now that we have discerned the issue with receiving audio packets, I feel better reverting back to only providing the packet body, and not the header also, in the user callbacks. 2018-10-13 16:08:55 -04:00
Manevolent d97b95f021 When the COMPRESSED flag is set by the official Teamspeak Gbmh client on a VOICE or VOICE_WHISPER packet, which is done for the first 5 packets of any decoder session, the packet is always 1 byte longer. More importantly, the final byte is static for those 5 packets.
You have to trim that last byte off, otherwise your audio will be corrupted.  TS3J now does this automatically and stores it in ServerFlag0 for you, as a nullable Byte object. This way you can handle it if you need to. This has also been factored into the output/write stage.

Digging into theory, I believe this ID has something to do with the opening of a new decoder to ensure that the decoder opens cleanly each time. You do NOT have to do anything to your decoder to reset states, etc., from what I can tell. In other words, COMPRESSED being on shouldn't change the behavior of your decoding.
2018-10-13 16:03:51 -04:00
Manevolent d9ce7f21a3 JitPack is broken. Trying one more time to get this to go through. 2018-10-13 02:17:13 -04:00
Manevolent 2f7bf10322 Merge remote-tracking branch 'origin/master' 2018-10-13 01:35:14 -04:00
Manevolent ce77f91c6f I'm changing whisper and voice handlers. I think that the COMPRESSED flag is important, it may signal you to reset your decoder for each incoming packet. Not sure. 2018-10-13 01:35:09 -04:00
Manevolent a85904555e Synchronize the remote counter, and correct an issue with rest() concerning generation IDs 2018-10-02 08:58:29 -04:00
Manevolent 6bf85e3c6c Re-order handleError (handleComplete) 2018-09-20 02:13:05 -04:00
Manevolent 5ee74e6c45 Make step 127 public 2018-09-18 15:13:58 -04:00
Manevolent e4a1e69410 Packet flags for server, setters would apply to wrong object 2018-09-18 00:15:14 -04:00
Manevolent 8ba218f094 Timestamp was not sent right 2018-09-17 23:54:54 -04:00
Manevolent 66bc483490 Init1 changes to make it neater 2018-09-17 23:41:28 -04:00