mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
raop: Allow digest authentication and auth-setup to be used together
The current implementation assumes these are mutually exclusive, but Yamaha MusicCast requires an auth-setup step following the digest authentication. `rtsp_auth_reply` could be dropped in favour of `rtsp_options_reply`, but you may end up in a loop if the other end keeps responding with 401.
This commit is contained in:
parent
4b0945bf01
commit
f059f14c68
1 changed files with 4 additions and 1 deletions
|
|
@ -1168,7 +1168,10 @@ static void rtsp_auth_reply(void *data, int status, const struct spa_dict *heade
|
|||
|
||||
switch (status) {
|
||||
case 200:
|
||||
rtsp_do_announce(impl);
|
||||
if (impl->encryption == CRYPTO_AUTH_SETUP)
|
||||
rtsp_do_auth_setup(impl);
|
||||
else
|
||||
rtsp_do_announce(impl);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue