You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
Would adding support for system-wide Push to Talk be possible? Currently, it will only work if the window has focus (as stated by Discord on the browser version itself), but is there any workaround?
The text was updated successfully, but these errors were encountered:
The only concern is finding and running the Discord javascript that enables the microphone and transmits the audio.
I've got two ideas in mind:
Abusing the mic off button of the Discord client, not clean at all but will work fine
Using a preload script to wrap a custom function around the browser's sound API, to have control over the stream requested by Discord and mute it whenever the globalShortcut is not pressed
My only concern about the second one is the CPU usage, we will need to keep an eye on the activity monitor while testing it
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would adding support for system-wide Push to Talk be possible? Currently, it will only work if the window has focus (as stated by Discord on the browser version itself), but is there any workaround?
The text was updated successfully, but these errors were encountered: