webrtc
webrtc copied to clipboard
Opus audio is not received completely
Your environment.
- Version: v3.1.15
- Browser: N/A
What did you do?
I've written a small program to test Pion in which I have two instances of the same program communicate with each other over WebRTC using Pion. One "calls" the other and sends over RTP an opus track.
What did you expect?
To receive the audio that was sent with no discernible differences.
What happened?
The received audio sounds as if some samples or packets were skipped or lost. It was tested locally, so it's not a network problem, and the resulting audio sounds the same every time, so the lost data is always the same.
The test program: https://github.com/Yaroslav-95/wrtcion Version where the received audio is saved to disk: https://github.com/Yaroslav-95/wrtcion/tree/save-to-file
Maybe it's not really an issue with Pion, I'm not sure. But I've been trying to get this to work properly and honestly I have no idea what I might be doing wrong, or If I'm doing something wrong.