mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
bluez5: add logic to fallback to previous behavior if connection info handling is not supportrd by session manager (i.e wireplumber).
This commit is contained in:
parent
01df7671d5
commit
75b4c80dc6
2 changed files with 77 additions and 2 deletions
|
|
@ -577,6 +577,8 @@ int sm_bluez5_monitor_start(struct sm_media_session *session)
|
|||
if ((str = pw_properties_get(impl->conf, "properties")) != NULL)
|
||||
pw_properties_update_string(impl->props, str, strlen(str));
|
||||
|
||||
pw_properties_set(impl->props, "api.bluez5.connection-info", "true");
|
||||
|
||||
impl->handle = pw_context_load_spa_handle(context, SPA_NAME_API_BLUEZ5_ENUM_DBUS, &impl->props->dict);
|
||||
if (impl->handle == NULL) {
|
||||
res = -errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue