Open jim3692 opened 11 months ago
This is potentially game-changing. I don't know about Gnome, but KDE's Dbus interface will allow us to grab the name of the video window that is being captured, so no need to manually select the audio input though the popup in firefox, we can automatically link the audio from the window that's been selected to share.
Edit: y'know....in theory,,,,,,,, maybe. But it's a lot better than a generic name that never changes. Disclaimer: No I am not broadcasting copyrighted stuff, amazon, I just clicked the first video I saw to demo it :)
It looks like in Firefox 121, the input nodes are no longer named
AudioCallbackDriver
, but they have the name of the tab or the frame which contains the call, in themedia.name
field.Maybe we could utilize the injected script to get the title of the page and add it to the ignore list.