fix: check screen capture permissions in desktopCapturer (#43080)

fix: check screen capture permissions in desktopCapturer
This commit is contained in:
Shelley Vohr 2024-08-09 10:08:49 +02:00 committed by GitHub
parent 0718c2b9ee
commit f49f6ff68b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 8 deletions

View file

@ -94,6 +94,7 @@ class DesktopCapturer : public gin::Wrappable<DesktopCapturer>,
void UpdateSourcesList(DesktopMediaList* list);
void HandleFailure();
void HandleSuccess();
std::unique_ptr<DesktopListListener> window_listener_;
std::unique_ptr<DesktopListListener> screen_listener_;