richard-vd
New Member
In recent releases of Apple software (macOS Big Sur using Safari 14.0.1, iOS 14.2 and iPadOS 14.2) the audio of my RTSP stream starts heavily distorted when using WebRTC (Opus audio). After some time audio becomes clean but it can go back to the distorted state later on. I already tried changing from stereo to mono audio and using a low audio bit rate, but it makes no difference. It does not happen when using MSE or HLS.
Older Apple software works fine, and other browsers on macOS Big Sur work fine too (Firefox, Chrome).
Could it be that the timestamps on the audio are a little too early? I have a feeling that tweaking the PTS offset on the Opus audio encoder might improve this.
I can share the URLs privately.
Older Apple software works fine, and other browsers on macOS Big Sur work fine too (Firefox, Chrome).
Could it be that the timestamps on the audio are a little too early? I have a feeling that tweaking the PTS offset on the Opus audio encoder might improve this.
I can share the URLs privately.