<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Hello,<br>
<p>I have some questions regarding handling resolution change and
rearrangement of displays while screen cast session is active.<br>
</p>
I can receive current display properties and arrangement in
space(x,y, width and height of each display) via response from <a moz-do-not-send="true" href="https://flatpak.github.io/xdg-desktop-portal/#gdbus-method-org-freedesktop-portal-ScreenCast.Start">Start</a>
method during initialization.<br>
<br>
<br>
1. But if I change a screen's resolution while streaming is active,
I am expecting to <a moz-do-not-send="true" href="https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/doc/tutorial5.c#L43">`on_param_changed</a>`
being called with updated display size(width and height of stream,
it won't have location of display though), but it does not happen.<br>
<br>
Is my expectation is wrong and I just need to create a new session
in this case?<br>
<br>
<p>2. Another case is the position change of the two screens
relative to each other(x,y). <br>
</p>
<p>One possible way to get changed display arrangement is before
mentioned parsing of the response of `Start` method.<br>
</p>
<p>Is there are any other options available?<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
--
Thanks,
Alexander.</pre>
</body>
</html>