diff options
author | Lorn Potter <[email protected]> | 2024-06-25 10:56:54 +1000 |
---|---|---|
committer | Lorn Potter <[email protected]> | 2025-06-13 07:57:18 +1000 |
commit | 85355fc5d3fc59afc1e540232cb0a46e09ef53e2 (patch) | |
tree | 7cb62556a4b71bb2c3a9d1abb5a1a88b943c8584 /src/multimedia/pulseaudio | |
parent | 844faa3842fe838c03d4bc1de3cbf21c45461c92 (diff) |
This add support for window and screen capturing.
This is restricted for user with secure contexts, as it uses getDisplayMedia to
grab a window, and browser tab or an entire display screen, and requires
user permission to share that part of the screen.
This works differently than on other platforms, as the permissions cannot be
persisted, so every session requires the user to
give permission each time.
see
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia
and
https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture
Also, there is no real way to restrict the capture to window, or screen
or application, the user can give permissions to one or more, or none.
Fixes: QTBUG-126602
Change-Id: Ie9ce99e8e3fc135f57d56f50edae95c50fa0307a
Reviewed-by: Artem Dyomin <[email protected]>
Diffstat (limited to 'src/multimedia/pulseaudio')
0 files changed, 0 insertions, 0 deletions