doc: mention xdg-desktop-portal in the media-session access-portal module

Makes it slightly easier to connect the dots.
This commit is contained in:
Peter Hutterer 2021-09-06 10:45:19 +10:00 committed by Wim Taymans
parent 55f01ae679
commit 6b6f5f3659

View file

@ -70,6 +70,11 @@
* The above properties must be set by the portal initiating the client * The above properties must be set by the portal initiating the client
* connection. * connection.
* *
* See e.g. the [xdg-desktop-portal](github.com/flatpak/xdg-desktop-portal)
* for an implementation that sets the above properties. It creates multiple
* connections to pipewire, one with `is_portal` set to true for the portal
* itself and one connection per application request to open the camera. The
* latter have `app_id` and `media_roles` set accordingly.
*/ */
#define NAME "access-portal" #define NAME "access-portal"
#define SESSION_KEY "access-portal" #define SESSION_KEY "access-portal"