module-raop: Add support for auth_setup

This step is required by some devices.

Co-authored-by: Christian Glombek <lorbus@fedoraproject.org>
This commit is contained in:
Davis Davalos-DeLosh 2022-06-28 21:19:45 +02:00 committed by Wim Taymans
parent f9660f5e8f
commit eb3c2f3e95
4 changed files with 72 additions and 5 deletions

View file

@ -223,6 +223,8 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
* 4 = FairPlay SAPv2.5. */
if (str_in_list(value, ",", "1"))
value = "RSA";
else if (str_in_list(value, ",", "4"))
value = "auth_setup";
else
value = "none";
pw_properties_set(props, "raop.encryption.type", value);