raop: add user agent

This commit is contained in:
Wim Taymans 2021-11-13 10:13:55 +01:00
parent 0573944e59
commit e52f9f513e

View file

@ -1147,6 +1147,8 @@ static void rtsp_connected(void *data)
base64_encode(rac, sizeof(rac), sac, '\0'); base64_encode(rac, sizeof(rac), sac, '\0');
pw_properties_set(impl->headers, "Apple-Challenge", sac); 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, pw_rtsp_client_send(impl->rtsp, "OPTIONS", &impl->headers->dict,
NULL, NULL, rtsp_options_reply, impl); NULL, NULL, rtsp_options_reply, impl);
} }