Upgrading CEF in our application to 4324 (Chrome 88) mostly to pick up the recent Chromium exploits and I wanted to also address the various audio issues we have by using the ForceWaveAudio mode, and finally implementing a CefAudioHandler() implementation.
I have hooked up the interface and getting valid looking callbacks in OnAudioStreamPacket(...) etc. so now I need to select an SDK to play back the audio data. I might be able to use something our main application builds against (FMod) and if not, Port Audio is looking like a reasonable choice. (https://portaudio.com).
My question is how do you keep the audio in sync with the video? I don't see any in the callbacks that help such as a high resolution time offset from the stream start position. If anyone has tackled this and can share what they did, I'd be very grateful.