Every now and then i experience an audible glitch, and i want to track down what exactly wrong, making a good system to track those glitches along the way.
- Rust back-end culprit: the time between cpal receives enough PCMs to encode Opus frame of the OPUS_FRAME_LEN (=20ms right now) and encoder is done its job should be less than OPUS_FRAME_LEN (=20ms right now).
- Network culprit: client should be receiving something every OPUS_FRAME_LEN (=20ms right now).
- Client's device culprit: the decoding function should be evoked and done its work every OPUS_FRAME_LEN (=20ms right now).
Every now and then i experience an audible glitch, and i want to track down what exactly wrong, making a good system to track those glitches along the way.