holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://pears.com/
Apache License 2.0
85 stars 9 forks source link

bypass electron media access status in Linux and ask for media access in linux and windows #163

Closed rafapaezbas closed 1 month ago

rafapaezbas commented 1 month ago

getMediaAccessStatus isn't supported by Electron on Linux.

The pull request also corrects a bug introduced in the line: desktopSources: (options = null) => ipc.desktopSources(options = null)

Bug introduced in commit https://github.com/holepunchto/pear/commit/2fcfad16b6092fe099b9df96ba3cf8db012464b7