Closed mwager closed 3 years ago
Problem: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia -> deprecated. 👎
Also:
navigator.mediaDevices.getUserMedia does not work on macOS for audio capture due to a fundamental limitation whereby apps that want to access the system's audio require a signed kernel extension. Chromium, and by extension Electron, does not provide this.
Just dumping my research results here: https://developer.chrome.com/docs/extensions/reference/tabCapture/ https://github.com/electron/electron/issues/4776 https://github.com/electron/electron/issues/10515 https://github.com/Streampunk/naudiodon
Kext development: https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/About/About.html#//apple_ref/doc/uid/TP30000905 https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/KernelExtensions/KernelExtensions.html
Disabling SIP to run unsigned kext: https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html#//apple_ref/doc/uid/TP40016462-CH5-SW1
more info soon!