I'm calling
- Code: Select all
CefRefPtr<CefBrowserHost> host = browser->GetHost();
host->SetAudioMuted(true);
but the audio is not being muted.
It works OK with identical code in the cefclient tests so I thought I might have to override
- Code: Select all
virtual void SetAudioMuted(bool mute) = 0;
But I can't see that being done anywhere in cefclient.
In any case stepping through my code in the debugger I end up in browser_host_ctocpp.cc
- Code: Select all
NO_SANITIZE("cfi-icall") void CefBrowserHostCToCpp::SetAudioMuted(bool mute)
and it makes the API call with mute = true.
So is there something else I have to do?
Any help greatly appreciated.