| 1815 g_variant_builder_add(&b, "a{sv}", opts); |
1815 g_variant_builder_add(&b, "a{sv}", opts); |
| 1816 |
1816 |
| 1817 g_dbus_message_set_body(msg, g_variant_builder_end(&b)); |
1817 g_dbus_message_set_body(msg, g_variant_builder_end(&b)); |
| 1818 |
1818 |
| 1819 g_dbus_connection_send_message_with_reply(data->u.screenshare.dbus_connection, msg, |
1819 g_dbus_connection_send_message_with_reply(data->u.screenshare.dbus_connection, msg, |
| 1820 0, 200, NULL, NULL, request_completed_cb, data); |
1820 0, 2000, NULL, NULL, request_completed_cb, data); |
| 1821 } |
1821 } |
| 1822 |
1822 |
| 1823 static GstElement *create_pipewiresrc_cb(PurpleMedia *media, const gchar *session_id, |
1823 static GstElement *create_pipewiresrc_cb(PurpleMedia *media, const gchar *session_id, |
| 1824 const gchar *participant) |
1824 const gchar *participant) |
| 1825 { |
1825 { |