I'm getting this error on web version of whatsapp, when using TChromium :
https://ibb.co/CMQB2L6
Allow microphone
To record voice messages, Whatsapp needs access to your microphone. Click in the URL bar and choose 'Always allow web.whatsapp.com to access your microphone'.
I'm setting options like this :
GlobalCEFApp.MuteAudio := false;
GlobalCEFApp.EnableMediaStream := true;
GlobalCEFApp.UseFakeUIForMediaStream := true;
Any other option to set so Whatsapp can use the microphone to send audio messages ?
Thanks
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Allow microphone error on Whatsapp
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Allow microphone error on Whatsapp
Hi,
Try disabling the GlobalCEFApp.EnableMediaStream property and implement TChromium.OnRequestMediaAccessPermission
Set aResult to True and call callback.cont(CEF_PERMISSION_RESULT_ACCEPT)
Try disabling the GlobalCEFApp.EnableMediaStream property and implement TChromium.OnRequestMediaAccessPermission
Set aResult to True and call callback.cont(CEF_PERMISSION_RESULT_ACCEPT)