Handling resolution change and rearrangement of displays
Alexander Zvegintsev
alexander.zvegintsev at oracle.com
Thu Dec 1 23:24:01 UTC 2022
Hello,
I have some questions regarding handling resolution change and
rearrangement of displays while screen cast session is active.
I can receive current display properties and arrangement in space(x,y,
width and height of each display) via response from Start
<https://flatpak.github.io/xdg-desktop-portal/#gdbus-method-org-freedesktop-portal-ScreenCast.Start>
method during initialization.
1. But if I change a screen's resolution while streaming is active, I am
expecting to `on_param_changed
<https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/doc/tutorial5.c#L43>`
being called with updated display size(width and height of stream, it
won't have location of display though), but it does not happen.
Is my expectation is wrong and I just need to create a new session in
this case?
2. Another case is the position change of the two screens relative to
each other(x,y).
One possible way to get changed display arrangement is before mentioned
parsing of the response of `Start` method.
Is there are any other options available?
--
--
Thanks,
Alexander.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/wakefield-dev/attachments/20221202/ba1d1f86/attachment.htm>
More information about the wakefield-dev
mailing list