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.

Check if page is playing sound ?

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

Check if page is playing sound ?

Post by thefunkyjoint »

Is there a method on CEF4Delphi, to check if the current page is currently playing sound ?

I'm asking because Chrome will display a small speaker on the right of the tab of a page playing a sound, so probably Chromium has a method to check this.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Check if page is playing sound ?

Post by salvadordf »

Hi,

You can use the TChromiumCore.OnAudioStreamStarted and TChromiumCore.OnAudioStreamStopped events but the last time I tried them they were CPU intensive.

I tried them several months ago and this CPU usage issue might be fixed by now. I haven't tried recently.
Post Reply