Manevolent / ts3j

An open-source Java Teamspeak 3 client library using the TS3 full client protocol
Apache License 2.0
105 stars 15 forks source link

Play sound and save client identity #3

Closed jkoenig134 closed 5 years ago

jkoenig134 commented 5 years ago

Hello. I tried to write a bot, bot there are some problems with it. Could you please post a running workaround for sending audio und for saving the identity? If i save the public key there is the issue could not validate client identity.

Manevolent commented 5 years ago

Sure, I'll put together ident export and get an example out there of sending/receiving audio.

jkoenig134 commented 5 years ago

wow, thanks for the fast answer!

jkoenig134 commented 5 years ago

public void disconnect() {...}

could you overload the function for disconnecting with a leave message like disconnect(String message) {...}

Manevolent commented 5 years ago

9d602a8 should have INI saving to disk (see: IdentitySaveTest.java), disconnect reasons, and a new example under a new examples folder for you to try out sending audio.