-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Platform: Windows 10 / Electron
Issue: Keydown and Keyup Hook fails when a new getUserMediaStream of any device is initialized, however it only fails to do so when the electron client is focused. If the client is not focused while the Stream is allocated to a variable then the hook resumes correct functionality.
To replicate:
In main\index.ts add:
import {uIOhook} from 'uiohook-napi'
uIOhook.start();
uIOhook.on('keydown', (e) => {
console.log(e);
});
In any front end section such as Core add a call to navigator.mediaDevices.getUserMedia() utilizing navigator.mediaDevices.enumerateDevices() for grabbing your local Microphone DeviceId.
Once initialized, no logs are present.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels