electron/patches/webrtc
Athul Iddya fa5b1be6f3
fix: delete desktop capturers when they're not needed (#39194)
* fix: delete desktop capturers when they're not needed

Delete desktop capturer objects by resetting the DesktopMediaList
objects that own them after the sources have been collected. Capturers
that are not delegated are already being reset via a patch on
NativeDesktopMediaList. That is not safe for delegated capturers as
thumbnail generation depends on user events. Deleting the
DesktopMediaList operation is safe for all capturers and releases OS
capture resources as soon as possible.

* fix: add a patch to clean up PipeWire resources

Adding a patch to workaround a Chromium issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=1467060

The patch can be removed when the issue is resolved.
2023-07-26 10:40:19 +02:00
..
.patches fix: delete desktop capturers when they're not needed (#39194) 2023-07-26 10:40:19 +02:00
fix_fallback_to_x11_capturer_on_wayland.patch fix: fallback to X11 capturer if pipewire fails on Wayland (#37511) 2023-03-07 13:59:06 -08:00
fix_mark_pipewire_capturer_as_failed_after_session_is_closed.patch fix: delete desktop capturers when they're not needed (#39194) 2023-07-26 10:40:19 +02:00