mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
raop: add user agent
This commit is contained in:
parent
0573944e59
commit
e52f9f513e
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue