diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-05-17 14:18:45 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-06-07 15:44:35 +0000 |
commit | 99c1e5934fef1dfda6ecd682e48b97abb6823887 (patch) | |
tree | 389bf94316191df8507e363bbc0e90630b9980ab /src/core/qtwebengine.gni | |
parent | dc70e81da3f7b639ace9c5cc14e1fd4eb1942e4c (diff) |
Fix WebRTC screen sharing on macOS
Previously when a screen sharing request was accepted on macOS, instead
of showing the captured screen, a black rectangle was displayed. This
was due to passing an incorrect screen id to the screen capturer, which
resulted in a failed attempt to find the main active screen.
The fix is to query for all available screen ids from the operating
system, and choose the first id as the id to pass along to the screen
capturer.
Task-number: QTBUG-55165
Change-Id: Id8e648e59755aa2820b05b990adeaa9b58fd26f0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/qtwebengine.gni')
-rw-r--r-- | src/core/qtwebengine.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/qtwebengine.gni b/src/core/qtwebengine.gni index 1c0c8a415..bb269baa2 100644 --- a/src/core/qtwebengine.gni +++ b/src/core/qtwebengine.gni @@ -25,6 +25,7 @@ deps = [ "//net:net_browser_services", "//skia", "//third_party/WebKit/public:blink", + "//third_party/webrtc/base:base", "//ui/accessibility", "//third_party/mesa:mesa_headers", ":qtwebengine_sources", |