|
|
|
@ -126,7 +126,7 @@ void CController::ReadReflectorThread()
|
|
|
|
c2_mux.unlock();
|
|
|
|
c2_mux.unlock();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
Dump(packet, "ERROR: Got a reflector packet with unknown Codec:");
|
|
|
|
Dump(packet, "ERROR: Received a reflector packet with unknown Codec:");
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -159,14 +159,10 @@ void CController::AudiotoCodec2(std::shared_ptr<CTranscoderPacket> packet)
|
|
|
|
// we might be all done...
|
|
|
|
// we might be all done...
|
|
|
|
if (packet->AllCodecsAreSet())
|
|
|
|
if (packet->AllCodecsAreSet())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
send_mux.lock();
|
|
|
|
SendToReflector(packet);
|
|
|
|
SendToReflector(packet);
|
|
|
|
|
|
|
|
send_mux.unlock();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
|
|
|
if (packet->IsSecond())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
AppendM17(packet);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// The original incoming coded was M17, so we will calculate the audio and then
|
|
|
|
// The original incoming coded was M17, so we will calculate the audio and then
|
|
|
|
|