When built for AirPlay 2, add pw=true to the Bonjour raop properties if the classic AirPlay password is set.

This commit is contained in:
Mike Brady
2026-03-10 16:12:20 +00:00
parent af6b3e1d2c
commit a14517d752
+2 -1
View File
@@ -79,7 +79,8 @@ void build_bonjour_strings(__attribute((unused)) rtsp_conn_info *conn) {
txt_records[entry_number++] = "cn=0,1";
txt_records[entry_number++] = "da=true";
txt_records[entry_number++] = "et=0,1";
if (config.password != NULL)
txt_records[entry_number++] = "pw=true";
uint64_t features_hi = config.airplay_features;
features_hi = (features_hi >> 32) & 0xffffffff;
uint64_t features_lo = config.airplay_features;