mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: fix device connection issue if profile(UUIDs) info is delayed
Keep all types of devices, only emit device info if device has audio profiles. Heuristically add profiles based on bluez actions so device can still be connected even without initial UUIDs info from signal InterfaceAdded for org.bluez.Device1. Fixes #1330
This commit is contained in:
parent
b44fdf5ebb
commit
3433f40cd9
5 changed files with 33 additions and 6 deletions
|
|
@ -1137,6 +1137,7 @@ static DBusHandlerResult hsphfpd_parse_endpoint_properties(struct impl *backend,
|
|||
t->n_channels = 1;
|
||||
t->channels[0] = SPA_AUDIO_CHANNEL_MONO;
|
||||
|
||||
spa_bt_device_add_profile(d, t->profile);
|
||||
spa_bt_device_connect_profile(t->device, t->profile);
|
||||
|
||||
spa_log_debug(backend->log, NAME": Transport %s available for hsphfpd", endpoint->path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue