Skip to content

Screencapture example improvements#4

Closed
Be-ing wants to merge 14 commits intogethopp:expose_desktop_capturerfrom
Be-ing:screencapture_example
Closed

Screencapture example improvements#4
Be-ing wants to merge 14 commits intogethopp:expose_desktop_capturerfrom
Be-ing:screencapture_example

Conversation

@Be-ing
Copy link
Copy Markdown

@Be-ing Be-ing commented Oct 20, 2025

separated from #3

iparaskev and others added 10 commits October 13, 2025 22:52
Implements screen sharing by exposing libwebrtc's
DesktopCapturer.

A few platform specific notes:
  - macos:
    * It is using screen capture kit and the system picker by
      default. If the system picker is disabled then get_sources
      returns an empty list when trying to capture a display. The
      display native id needs to be acquired using different means
      from the client.
  - linux:
    * With pipewire the only way to select window or display is via
      the system picker.
@Be-ing Be-ing force-pushed the screencapture_example branch from b866e66 to bc67a85 Compare October 22, 2025 21:06
so state can be moved into the callback
@Be-ing Be-ing force-pushed the screencapture_example branch 2 times, most recently from 73dc2b7 to 8665f59 Compare November 2, 2025 05:48
like libwebrtc's C++ API. There's no need to have the callback
accessible in the same place in the code as the DesktopCapturer
is instantiated and sources are enumerated.
@Be-ing Be-ing force-pushed the screencapture_example branch from f605040 to 22c39f2 Compare November 14, 2025 04:56
@iparaskev iparaskev force-pushed the expose_desktop_capturer branch from a97df01 to 0a1bcb0 Compare November 17, 2025 00:11
@Be-ing Be-ing closed this Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants