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.

Enable microphone access

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Enable microphone access

Post by thefunkyjoint »

When using CEF4Delphi app, the web version of Whatsapp won't let you use the microphone feature to record a message ; it returns the error message 'Microphone not found'.

Is there any setting on CEF4Delphi to enable it ? GlobalCEFApp.MuteAudio is already set to FALSE.

Thanks
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Enable microphone access

Post by salvadordf »

The update to CEF 104.4.18 introduced new events to allow the user to select which permissions are granted for each web page :
https://www.briskbard.com/forum/viewtopic.php?p=8399#p8399

The MiniBrowser demo has an example that shows how to use those events.

Set GlobalCEFApp.EnableMediaStream to True if you want to access the camera and microphone automatically.
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: Enable microphone access

Post by thefunkyjoint »

Thank you, it worked !
Post Reply