• Home
  • Raw
  • Download

Lines Matching refs:rtsp

95     pa_rtsp_client *rtsp;  member
771 if (inet_pton(AF_INET, pa_rtsp_localip(c->rtsp), &sa4.sin_addr) > 0) { in open_bind_udp_socket()
779 } else if (inet_pton(AF_INET6, pa_rtsp_localip(c->rtsp), &sa6.sin6_addr) > 0) { in open_bind_udp_socket()
868 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
872 pa_assert(rtsp); in rtsp_stream_cb()
873 pa_assert(rtsp == c->rtsp); in rtsp_stream_cb()
885 ip = pa_rtsp_localip(c->rtsp); in rtsp_stream_cb()
893 pa_rtsp_set_url(c->rtsp, url); in rtsp_stream_cb()
923 pa_rtsp_disconnect(rtsp); in rtsp_stream_cb()
951 pa_rtsp_announce(c->rtsp, sdp); in rtsp_stream_cb()
987 pa_rtsp_setup(c->rtsp, trs); in rtsp_stream_cb()
1000 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1004 c->rtsp = NULL; in rtsp_stream_cb()
1041 sport = pa_rtsp_serverport(c->rtsp); in rtsp_stream_cb()
1103 pa_rtsp_record(c->rtsp, &c->seq, &c->rtptime); in rtsp_stream_cb()
1124 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1131 c->rtsp = NULL; in rtsp_stream_cb()
1190 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1192 c->rtsp = NULL; in rtsp_stream_cb()
1220 pa_rtsp_client_free(c->rtsp); in rtsp_stream_cb()
1222 c->rtsp = NULL; in rtsp_stream_cb()
1233 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
1237 pa_assert(rtsp); in rtsp_auth_cb()
1238 pa_assert(rtsp == c->rtsp); in rtsp_auth_cb()
1252 pa_rtsp_add_header(c->rtsp, "Client-Instance", sci); in rtsp_auth_cb()
1258 pa_rtsp_add_header(c->rtsp, "Apple-Challenge", sac); in rtsp_auth_cb()
1260 pa_rtsp_options(c->rtsp); in rtsp_auth_cb()
1278 pa_rtsp_remove_header(c->rtsp, "Apple-Challenge"); in rtsp_auth_cb()
1330 pa_rtsp_add_header(c->rtsp, "Authorization", ath); in rtsp_auth_cb()
1334 pa_rtsp_options(c->rtsp); in rtsp_auth_cb()
1340 c->sci = pa_xstrdup(pa_rtsp_get_header(c->rtsp, "Client-Instance")); in rtsp_auth_cb()
1348 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1349 c->rtsp = NULL; in rtsp_auth_cb()
1360 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1361 c->rtsp = NULL; in rtsp_auth_cb()
1371 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1372 c->rtsp = NULL; in rtsp_auth_cb()
1390 pa_rtsp_client_free(c->rtsp); in rtsp_auth_cb()
1391 c->rtsp = NULL; in rtsp_auth_cb()
1420 if (c->rtsp) in pa_raop_client_disconnect()
1421 pa_rtsp_client_free(c->rtsp); in pa_raop_client_disconnect()
1424 c->rtsp = NULL; in pa_raop_client_disconnect()
1459 c->rtsp = NULL; in pa_raop_client_new()
1507 if (c->rtsp) in pa_raop_client_free()
1508 pa_rtsp_client_free(c->rtsp); in pa_raop_client_free()
1509 c->rtsp = NULL; in pa_raop_client_free()
1520 if (c->rtsp || c->password) { in pa_raop_client_authenticate()
1528 …c->rtsp = pa_rtsp_client_new(c->core->mainloop, c->host, c->port, DEFAULT_USER_AGENT, c->autorecon… in pa_raop_client_authenticate()
1530 pa_assert(c->rtsp); in pa_raop_client_authenticate()
1532 pa_rtsp_set_callback(c->rtsp, rtsp_auth_cb, c); in pa_raop_client_authenticate()
1533 rv = pa_rtsp_connect(c->rtsp); in pa_raop_client_authenticate()
1549 if (c->rtsp) { in pa_raop_client_announce()
1557 …c->rtsp = pa_rtsp_client_new(c->core->mainloop, c->host, c->port, DEFAULT_USER_AGENT, c->autorecon… in pa_raop_client_announce()
1559 pa_assert(c->rtsp); in pa_raop_client_announce()
1566 pa_rtsp_set_callback(c->rtsp, rtsp_stream_cb, c); in pa_raop_client_announce()
1568 rv = pa_rtsp_connect(c->rtsp); in pa_raop_client_announce()
1575 if (!c->rtsp || !c->sci) { in pa_raop_client_is_alive()
1599 if (!c->rtsp || !c->sci) { in pa_raop_client_can_stream()
1628 if (!c->rtsp || !c->sci) { in pa_raop_client_stream()
1663 if (!c->rtsp) { in pa_raop_client_set_volume()
1681 if (c->rtsp != NULL && pa_rtsp_exec_ready(c->rtsp)) in pa_raop_client_set_volume()
1682 rv = pa_rtsp_setparameter(c->rtsp, param); in pa_raop_client_set_volume()
1693 if (!c->rtsp || !pa_rtsp_exec_ready(c->rtsp)) { in pa_raop_client_flush()
1703 rv = pa_rtsp_flush(c->rtsp, c->seq, c->rtptime); in pa_raop_client_flush()
1712 if (!c->rtsp) { in pa_raop_client_teardown()
1722 rv = pa_rtsp_teardown(c->rtsp); in pa_raop_client_teardown()