BlueZ 5 exposes a 'State' property in the media transport interface. With regard to PA, this replaces the profile-specific interfaces, since they were being used to know if the audio was streaming or not.
6fdf2b0 bluetooth: Support media transport's State property
src/modules/bluetooth/bluetooth-util.c | 42 +++++++++++++++++++++++++++++++-
1 file changed, 41 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org