From e52f9f513e0a7053d1a8be3418ef99109365f6cc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 13 Nov 2021 10:13:55 +0100 Subject: [PATCH] raop: add user agent --- src/modules/module-raop-sink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module-raop-sink.c b/src/modules/module-raop-sink.c index c8e232d76..4ca76e052 100644 --- a/src/modules/module-raop-sink.c +++ b/src/modules/module-raop-sink.c @@ -1147,6 +1147,8 @@ static void rtsp_connected(void *data) base64_encode(rac, sizeof(rac), sac, '\0'); pw_properties_set(impl->headers, "Apple-Challenge", sac); + pw_properties_set(impl->headers, "User-Agent", DEFAULT_USER_AGENT); + pw_rtsp_client_send(impl->rtsp, "OPTIONS", &impl->headers->dict, NULL, NULL, rtsp_options_reply, impl); }