mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-13 13:29:58 -05:00
rtp: New pa_rtsp_options function
Add a function performing a call to the OPTIONS request; also, in some special cases, tuning transport parameters is required (default: "RTP/AVP/TCP;unicast;interleaved=0-1;mode=record") ! The RAOP client for example needs to overwrite them. Reviewed-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
736fabf0ca
commit
a0199dd99d
3 changed files with 29 additions and 4 deletions
|
|
@ -299,10 +299,14 @@ static void rtsp_cb(pa_rtsp_client *rtsp, pa_rtsp_state state, pa_headerlist *he
|
|||
break;
|
||||
}
|
||||
|
||||
case STATE_OPTIONS:
|
||||
pa_log_debug("RAOP: OPTIONS");
|
||||
break;
|
||||
|
||||
case STATE_ANNOUNCE:
|
||||
pa_log_debug("RAOP: ANNOUNCED");
|
||||
pa_rtsp_remove_header(c->rtsp, "Apple-Challenge");
|
||||
pa_rtsp_setup(c->rtsp);
|
||||
pa_rtsp_setup(c->rtsp, NULL);
|
||||
break;
|
||||
|
||||
case STATE_SETUP: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue