jdwilder
December 5th, 2016, 10:10 PM
Hi,
It appears that all audio output and capture fails for the Unity integration on Android, when attempting to restart a client.
For instance, this simple modification to TS3_Client_Example effectively disables audio:
class TS3_Client_Example
{
...
void connect()
{
...
// Add these lines to the end to stop then restart the client:
ts3_client.StopClient();
ts3_client.StartClient(serverAddress, serverPort, serverPassword, nickName, ref defaultChannel, defaultChannelPassword);
}
This works on PC, but not on Android. It also appears the client is connecting to the server correctly (the server reports the disconnect and reconnect), but just the audio is broken (the server does not detect captured audio).
It appears that all audio output and capture fails for the Unity integration on Android, when attempting to restart a client.
For instance, this simple modification to TS3_Client_Example effectively disables audio:
class TS3_Client_Example
{
...
void connect()
{
...
// Add these lines to the end to stop then restart the client:
ts3_client.StopClient();
ts3_client.StartClient(serverAddress, serverPort, serverPassword, nickName, ref defaultChannel, defaultChannelPassword);
}
This works on PC, but not on Android. It also appears the client is connecting to the server correctly (the server reports the disconnect and reconnect), but just the audio is broken (the server does not detect captured audio).