Cannot start streaming right now as we don't have a portal!
Created by: henlo-birb
Running on Ubuntu 19.10 I have xdg-desktop-portal-gtk installed. It detects my miracast device, but when I try to connect, I get the "Cannot start streaming right now as we don't have a portal!" error. Debug log:
(gnome-network-displays:10503): Gtk-DEBUG: 02:36:35.451: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(gnome-network-displays:10503): GLib-GIO-DEBUG: 02:36:35.454: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
** (gnome-network-displays:10503): DEBUG: 02:36:35.571: WFDP2PRegistry: Found a new device, creating provider
** (gnome-network-displays:10503): DEBUG: 02:36:35.571: WfdP2PProvider: Discover is now set to 1
** (gnome-network-displays:10503): DEBUG: 02:36:35.583: NdScreencastPortal: Aquired Portal proxy
** (gnome-network-displays:10503): DEBUG: 02:36:35.583: task is: 0x5601ccf17190
** (gnome-network-displays:10503): WARNING **: 02:36:35.586: Error calling DBus method during Screencast portal initialization: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
** (gnome-network-displays:10503): DEBUG: 02:36:35.586: WFDP2PRegistry: Got NMClient
** (gnome-network-displays:10503): DEBUG: 02:36:35.591: NdPulseaudio: Querying sink info by name
** (gnome-network-displays:10503): DEBUG: 02:36:35.603: NdPulseaudio: Error querying sink info
** (gnome-network-displays:10503): DEBUG: 02:36:35.603: NdPulseaudio: Got a sink info for the expected name
** (gnome-network-displays:10503): DEBUG: 02:36:39.575: WFDP2PProvider: Ignoring peer " " (B0:EE:7B:3A:6E:97) as it has no WFDIEs set
** (gnome-network-displays:10503): DEBUG: 02:36:39.577: WFDP2PProvider: Found a new sink with peer 0x5601cd07a1f0 on device 0x5601cd030180
** (gnome-network-displays:10503): DEBUG: 02:36:39.578: SinkList: Adding a sink
** (gnome-network-displays:10503): WARNING **: 02:36:57.884: Cannot start streaming right now as we don't have a portal!