Replies: 1 comment
-
I can't give you a full answer to your question since I never looked into that part of the code. I can however point you towards some sections in the code. This is were UDP voice packets are received (notice the mumble/src/mumble/ServerHandler.cpp Lines 251 to 266 in a559839 The packet is given to the mumble/src/mumble/AudioOutput.cpp Line 184 in a559839 from where it is passed to mumble/src/mumble/AudioOutputSpeech.cpp Lines 216 to 222 in a559839 So as you can see the sequence number determines the time stamp of the audio. I simply assume that if the timestamp lies in the past, the package is basically discarded whereas if it lays in the future it will be placed there in the hope that the packet in between arrives in time to take its place 🤷 |
Beta Was this translation helpful? Give feedback.
-
I am wondering if anyone can help me explain or point me to the code where Mumble handles out of order UDP packets ? i can see there is a sequence number but how do Mumble out of order packets is there a mechanism that will accumulate packets and sort them before it starts playing the audio ?
If anyone can help me with an explanation i would be happy and/or direct me to the code how it handles it it would be great as i would like to understand how 'reliable' i can assume it can be over UDP.
Beta Was this translation helpful? Give feedback.
All reactions