Support for rotated screen sharing in Wayland
Categories
(Core :: WebRTC, enhancement)
Tracking
()
People
(Reporter: alphare33, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
I opened a screenshare session on https://mozilla.github.io/webrtc-landing/gum_test.html and selected one of displays rotated to 90°.
Actual results:
The screenshare worked, with the output not rotated.
Expected results:
The output should be rotated according to the transformed passed along through pipewire. The wl_output_transform field should be used inside of third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc, guarded by a version check of pipewire=0.3.62
See https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1423.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::WebRTC' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
It looks like GNOME already rotates the video so that the client doesn't have to rotate it. I wonder how much leeway the specs gives (or if there is somehow a standard way of informing that the buffer has been pre-rotated).
I am using sway, a wl-roots based compositor.
Reported as an upstream (WebRTC) bug as per the request of one of its maintainers. The fix should be backported to Firefox once implemented.
Description
•