/*
* This file is part of Shairport Sync.
- * Copyright (c) Mike Brady 2018 -- 2019
+ * Copyright (c) Mike Brady 2018 -- 2022
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person
// NULL);
#endif
+#ifdef CONFIG_AIRPLAY_2
+ shairport_sync_set_protocol(SHAIRPORT_SYNC(shairportSyncSkeleton), "AirPlay 2");
+#else
+ shairport_sync_set_protocol(SHAIRPORT_SYNC(shairportSyncSkeleton), "AirPlay");
+#endif
+
shairport_sync_set_version(SHAIRPORT_SYNC(shairportSyncSkeleton), PACKAGE_VERSION);
char *vs = get_version_string();
shairport_sync_set_version_string(SHAIRPORT_SYNC(shairportSyncSkeleton), vs);
<property name="ALACDecoder" type="s" access="readwrite" />
<property name="Version" type="s" access="read" />
<property name="VersionString" type="s" access="read" />
+ <property name="Protocol" type="s" access="read" />
</interface>
<interface name="org.gnome.ShairportSync.Diagnostics">
<property name="Verbosity" type="i" access="readwrite" />