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 a TChromium is playing any sound ?
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Check if a TChromium is playing any sound ?
Is there a way to check if the current url is playing any sound ? For instance, i'd like to put a speaker icon on a TChromium tab if it's playing sound.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Check if a TChromium is playing any sound ?
Hi,
The API hasn't changed much in this regard. We're still in the same situation as last year :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=2030
Try using the "Media" domain of the DevTools protocol :
https://chromedevtools.github.io/devtools-protocol/tot/Media/
I haven't tested it but perhaps you can receive an event when a player is running.
The API hasn't changed much in this regard. We're still in the same situation as last year :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=2030
Try using the "Media" domain of the DevTools protocol :
https://chromedevtools.github.io/devtools-protocol/tot/Media/
I haven't tested it but perhaps you can receive an event when a player is running.