• Home
  • Raw
  • Download

Lines Matching refs:rtsp

99     pa_rtsp_client *rtsp;  member
775 if (inet_pton(AF_INET, pa_rtsp_localip(c->rtsp), &sa4.sin_addr) > 0) { in open_bind_udp_socket()
783 } else if (inet_pton(AF_INET6, pa_rtsp_localip(c->rtsp), &sa6.sin6_addr) > 0) { in open_bind_udp_socket()
872 static void rtsp_stream_cb(pa_rtsp_client *rtsp, pa_rtsp_state_t state, pa_rtsp_status_t status, pa… in rtsp_stream_cb() argument
876 pa_assert(rtsp); in rtsp_stream_cb()
877 pa_assert(rtsp == c->rtsp); in rtsp_stream_cb()
889 ip = pa_rtsp_localip(c->rtsp); in rtsp_stream_cb()
897 pa_rtsp_set_url(c->rtsp, url); in rtsp_stream_cb()
927 pa_rtsp_disconnect(rtsp); in rtsp_stream_cb()
955 pa_rtsp_announce(c->rtsp, sdp); in rtsp_stream_cb()
991 pa_rtsp_setup(c->rtsp, trs); in rtsp_stream_cb()
1004 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1008 c->rtsp = NULL; in rtsp_stream_cb()
1045 sport = pa_rtsp_serverport(c->rtsp); in rtsp_stream_cb()
1107 pa_rtsp_record(c->rtsp, &c->seq, &c->rtptime); in rtsp_stream_cb()
1128 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1135 c->rtsp = NULL; in rtsp_stream_cb()
1194 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1196 c->rtsp = NULL; in rtsp_stream_cb()
1224 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1226 c->rtsp = NULL; in rtsp_stream_cb()
1237 static void rtsp_auth_cb(pa_rtsp_client *rtsp, pa_rtsp_state_t state, pa_rtsp_status_t status, pa_h… in rtsp_auth_cb() argument
1241 pa_assert(rtsp); in rtsp_auth_cb()
1242 pa_assert(rtsp == c->rtsp); in rtsp_auth_cb()
1256 pa_rtsp_add_header(c->rtsp, "Client-Instance", sci); in rtsp_auth_cb()
1262 pa_rtsp_add_header(c->rtsp, "Apple-Challenge", sac); in rtsp_auth_cb()
1264 pa_rtsp_options(c->rtsp); in rtsp_auth_cb()
1282 pa_rtsp_remove_header(c->rtsp, "Apple-Challenge"); in rtsp_auth_cb()
1334 pa_rtsp_add_header(c->rtsp, "Authorization", ath); in rtsp_auth_cb()
1338 pa_rtsp_options(c->rtsp); in rtsp_auth_cb()
1344 c->sci = pa_xstrdup(pa_rtsp_get_header(c->rtsp, "Client-Instance")); in rtsp_auth_cb()
1352 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1353 c->rtsp = NULL; in rtsp_auth_cb()
1364 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1365 c->rtsp = NULL; in rtsp_auth_cb()
1375 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1376 c->rtsp = NULL; in rtsp_auth_cb()
1394 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1395 c->rtsp = NULL; in rtsp_auth_cb()
1424 if (c->rtsp) in pa_raop_client_disconnect()
1425 pa_rtsp_client_free(c->rtsp); in pa_raop_client_disconnect()
1428 c->rtsp = NULL; in pa_raop_client_disconnect()
1463 c->rtsp = NULL; in pa_raop_client_new()
1511 if (c->rtsp) in pa_raop_client_free()
1512 pa_rtsp_client_free(c->rtsp); in pa_raop_client_free()
1513 c->rtsp = NULL; in pa_raop_client_free()
1524 if (c->rtsp || c->password) { in pa_raop_client_authenticate()
1532 …c->rtsp = pa_rtsp_client_new(c->core->mainloop, c->host, c->port, DEFAULT_USER_AGENT, c->autorecon… in pa_raop_client_authenticate()
1534 pa_assert(c->rtsp); in pa_raop_client_authenticate()
1536 pa_rtsp_set_callback(c->rtsp, rtsp_auth_cb, c); in pa_raop_client_authenticate()
1537 rv = pa_rtsp_connect(c->rtsp); in pa_raop_client_authenticate()
1553 if (c->rtsp) { in pa_raop_client_announce()
1561 …c->rtsp = pa_rtsp_client_new(c->core->mainloop, c->host, c->port, DEFAULT_USER_AGENT, c->autorecon… in pa_raop_client_announce()
1563 pa_assert(c->rtsp); in pa_raop_client_announce()
1570 pa_rtsp_set_callback(c->rtsp, rtsp_stream_cb, c); in pa_raop_client_announce()
1572 rv = pa_rtsp_connect(c->rtsp); in pa_raop_client_announce()
1579 if (!c->rtsp || !c->sci) { in pa_raop_client_is_alive()
1603 if (!c->rtsp || !c->sci) { in pa_raop_client_can_stream()
1632 if (!c->rtsp || !c->sci) { in pa_raop_client_stream()
1667 if (!c->rtsp) { in pa_raop_client_set_volume()
1685 if (c->rtsp != NULL && pa_rtsp_exec_ready(c->rtsp)) in pa_raop_client_set_volume()
1686 rv = pa_rtsp_setparameter(c->rtsp, param); in pa_raop_client_set_volume()
1697 if (!c->rtsp || !pa_rtsp_exec_ready(c->rtsp)) { in pa_raop_client_flush()
1707 rv = pa_rtsp_flush(c->rtsp, c->seq, c->rtptime); in pa_raop_client_flush()
1716 if (!c->rtsp) { in pa_raop_client_teardown()
1726 rv = pa_rtsp_teardown(c->rtsp); in pa_raop_client_teardown()