Commit bf05695
committed
Use libwebrtc's DesktopCapturer for screen capture
This adds support for screen sharing on Wayland (fixes #28754).
libwebrtc replaces scap, which aims to be cross platform but was
only used on Windows and X11. The X11 support relied on an out-of-tree
branch on which the original author closed their own pull request
(CapSoftware/scap#124). This also replaces
Zed's platform-specific code on macOS. Switching to a single
cross platform library simplifies the code by removing the need
for Zed to have its own traits for cross platform abstraction.1 parent 6e45669 commit bf05695
File tree
39 files changed
+614
-1639
lines changed- .github/workflows
- crates
- audio
- call
- src/call_impl
- collab_ui
- src
- collab/src/tests
- gpui
- src
- app
- platform
- linux
- headless
- wayland
- x11
- mac
- test
- windows
- livekit_client
- examples
- src
- livekit_client
- mock_client
- title_bar
- src
- script
- tooling/xtask/src/tasks/workflows
39 files changed
+614
-1639
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| |||
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
216 | 225 | | |
217 | 226 | | |
218 | 227 | | |
| |||
252 | 261 | | |
253 | 262 | | |
254 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
255 | 267 | | |
256 | 268 | | |
257 | 269 | | |
| |||
292 | 304 | | |
293 | 305 | | |
294 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
295 | 310 | | |
296 | 311 | | |
297 | 312 | | |
| |||
324 | 339 | | |
325 | 340 | | |
326 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
327 | 345 | | |
328 | 346 | | |
329 | 347 | | |
| |||
394 | 412 | | |
395 | 413 | | |
396 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
397 | 418 | | |
398 | 419 | | |
399 | 420 | | |
| |||
0 commit comments