Skip to content

Commit

Permalink
Update the mDNS strings for the Classic AirPlay feature of AP2
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Jul 6, 2023
1 parent 1fd863f commit 9a8f1ba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,15 @@ 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,4";
txt_records[entry_number++] = "et=0,1";
txt_records[entry_number++] = ap1_featuresString;
txt_records[entry_number++] = firmware_version;
txt_records[entry_number++] = "md=2";
#ifdef CONFIG_METADATA
if (config.get_coverart == 0)
txt_records[entry_number++] = "md=0,2";
else
txt_records[entry_number++] = "md=0,1,2";
#endif
txt_records[entry_number++] = "am=Shairport Sync";
txt_records[entry_number++] = "sf=0x4";
txt_records[entry_number++] = "tp=UDP";
Expand Down

0 comments on commit 9a8f1ba

Please sign in to comment.