Exemplo n.º 1
0
 public void ConnectToServer() {
   // if is currently streaming, ignore request.
   if (tcpClient != null && audioStreamer != null && audioStreamer.isStreaming()) return;
   // closeConnection(); //not closing, since sometimes remains open.
   sendMessageUsingTcp(
       uniqueId + Consts.commandChar + Consts.requestSendAudio + Consts.commandChar);
 }