From 8052ef27929923ad3143d70cac0de99b422fdf58 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 26 Mar 2021 19:49:22 +0200 Subject: [PATCH] bluez config: update based on the latest media-session config --- src/config/config.lua.d/30-bluez-monitor.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/config/config.lua.d/30-bluez-monitor.lua b/src/config/config.lua.d/30-bluez-monitor.lua index 6f407f3d..1e6cc2f7 100644 --- a/src/config/config.lua.d/30-bluez-monitor.lua +++ b/src/config/config.lua.d/30-bluez-monitor.lua @@ -3,8 +3,6 @@ bluez_monitor = {} bluez_monitor.properties = { - -- MSBC is not expected to work on all headset + adapter combinations. - --["bluez5.msbc-support"] = true, --["bluez5.sbc-xq-support"] = true, -- Enabled headset roles (default: [ hsp_hs hfp_ag ]), this @@ -36,7 +34,19 @@ bluez_monitor.rules = { }, -- Apply properties on the matched object. apply_properties = { - -- ["device.nick"] = "My Device", + -- Autoconnect device profiles, disabled by default + -- if the property is not specified. + ["bluez5.reconnect-profiles"] = "[ hfp_hf hsp_hs a2dp_sink ]", + + -- MSBC is not expected to work on all headset + adapter combinations. + --["bluez5.msbc-support"] = false, + + -- LDAC encoding quality + -- Available values: auto (Adaptive Bitrate, default) + -- hq (High Quality, 990/909kbps) + -- sq (Standard Quality, 660/606kbps) + -- mq (Mobile use Quality, 330/303kbps) + --["bluez5.a2dp.ldac.quality"] = "auto", }, }, {