Skip to content

bluez5: bump device profile timeout

P V requested to merge pvir/pipewire:bluez5-profile-wait into master

bluez5: bump device profile timeout

Double device profile timeout to 6sec.

In some cases, BlueZ can take more than the previous 3sec to connect all profiles. It's better to wait for a bit longer, so that devices have all profiles visible already when they first appear.

This works around issues in Wireplumber profile selection logic.


bluez5: mark connected when all source/sink profiles connected

Don't require all device profiles to be connected before marking the device as connected before profile timeout. Show device already when all A2DP/HSP/HFP profiles for sink/source direction have connected.

There are devices that in principle can have both sink/source profiles present, but cannot operate both directions at the same time. In case profiles come online later, the only effect is that the device profiles will get an update after the device is published.

Merge request reports