Manevolent / ts3j

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

Problem with packet size #40

Closed TheMajster closed 3 years ago

TheMajster commented 3 years ago

Max packet size = 500. I tested and with every song is this same error, how i could fix?

@Manevolent

java.lang.IllegalArgumentException: packet too large: 641; VOICE cannot split at com.github.manevolent.ts3j.protocol.socket.client.AbstractTeamspeakClientSocket.writePacket(AbstractTeamspeakClientSocket.java:356) at com.github.manevolent.ts3j.protocol.socket.client.AbstractTeamspeakClientSocket.writePacket(AbstractTeamspeakClientSocket.java:322) at com.github.manevolent.ts3j.protocol.socket.client.LocalTeamspeakClientSocket$MicrophoneTask.run(LocalTeamspeakClientSocket.java:622) at com.github.manevolent.ts3j.util.HighPrecisionTimer.run(HighPrecisionTimer.java:61)