From 6b6f5f36592333ba0bc7704782d658c34ab0cd97 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Sep 2021 10:45:19 +1000 Subject: [PATCH] doc: mention xdg-desktop-portal in the media-session access-portal module Makes it slightly easier to connect the dots. --- src/examples/media-session/access-portal.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/examples/media-session/access-portal.c b/src/examples/media-session/access-portal.c index 78036f98b..94d7e7cd5 100644 --- a/src/examples/media-session/access-portal.c +++ b/src/examples/media-session/access-portal.c @@ -70,6 +70,11 @@ * The above properties must be set by the portal initiating the client * 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 SESSION_KEY "access-portal"