Add workspace screen sharing (#64)
Add workspace selection to the screen-sharing picker with pinned capture, privacy filtering and bounded capture resources. Refresh captured tab labels when title or app-ID metadata changes.
This commit is contained in:
1 parent
e64ab52190
commit
ab11269246
32 files changed
+2125
-165
No files matched your search
@@ -324,8 +324,10 @@ class WindowCapture(unittest.TestCase):
|
||||
self.assertNotEqual(monitor[start:start + 3], bytes([0, 255, 0]),
|
||||
"private occluder leaked into the filtered capture")
|
||||
for index in range(1, 15):
|
||||
self.assertNotEqual(monitor[(index - 1) * frame_bytes:index * frame_bytes], monitor[index * frame_bytes:(index + 1) * frame_bytes],
|
||||
"monitor stream reused stale pixels after source damage")
|
||||
self.assertTrue(
|
||||
monitor[(index - 1) * frame_bytes:index * frame_bytes]
|
||||
!= monitor[index * frame_bytes:(index + 1) * frame_bytes],
|
||||
f"monitor stream reused stale pixels after source damage at frame {index}")
|
||||
worker.stdin.close()
|
||||
self.assertEqual(worker.wait(timeout=7), 0)
|
||||
finally:
|
||||
|
||||
Reference in new issue
Block a user