mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
add packet receive debug
This commit is contained in:
parent
a4798acb22
commit
ce934b0684
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ void AudioMixer::run() {
|
|||
// pull any new audio data from nodes off of the network stack
|
||||
while (nodeList->getNodeSocket()->receive(nodeAddress, packetData, &receivedBytes) &&
|
||||
packetVersionMatch(packetData)) {
|
||||
qDebug() << "Received a packet with header" << packetData[0] << "\n";
|
||||
if (packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_NO_ECHO
|
||||
|| packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_WITH_ECHO
|
||||
|| packetData[0] == PACKET_TYPE_INJECT_AUDIO) {
|
||||
|
|
Loading…
Reference in a new issue