I want to redirect CEF audio output but not working
switches
- Code: Select all
--no-sandbox --off-screen-rendering-enabled --autoplay-policy=no-user-gesture-required
let the CefClient implements CefAudioHandler,
then mute audio on the OnAfterCreated(CefRefPtr<CefBrowser> browser) callback
- Code: Select all
browser.get()->GetHost().get()->SetAudioMuted(TRUE);
load the page but none of the CefAudioHandler methods being called.
while
- If I do not mute it I can hear sound from desktop
- audio unit test shows no error
thank you for your help