mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02: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
|
// pull any new audio data from nodes off of the network stack
|
||||||
while (nodeList->getNodeSocket()->receive(nodeAddress, packetData, &receivedBytes) &&
|
while (nodeList->getNodeSocket()->receive(nodeAddress, packetData, &receivedBytes) &&
|
||||||
packetVersionMatch(packetData)) {
|
packetVersionMatch(packetData)) {
|
||||||
|
qDebug() << "Received a packet with header" << packetData[0] << "\n";
|
||||||
if (packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_NO_ECHO
|
if (packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_NO_ECHO
|
||||||
|| packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_WITH_ECHO
|
|| packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_WITH_ECHO
|
||||||
|| packetData[0] == PACKET_TYPE_INJECT_AUDIO) {
|
|| packetData[0] == PACKET_TYPE_INJECT_AUDIO) {
|
||||||
|
|
Loading…
Reference in a new issue