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:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user