Lines Matching refs:url
52 #include "url.h"
565 /* put a default control url */
577 /* get the control url */
580 /* XXX: may need to add full url resolution */
1034 static void handle_rtp_info(RTSPState *rt, const char *url,
1038 if (!rtptime || !url[0])
1047 if (!strcmp(rtsp_st->control_url, url)) {
1057 char key[20], value[MAX_URL_SIZE], url[MAX_URL_SIZE] = "";
1070 if (!strcmp(key, "url"))
1071 av_strlcpy(url, value, sizeof(url));
1077 handle_rtp_info(rt, url, seq, rtptime);
1078 url[0] = '\0';
1086 handle_rtp_info(rt, url, seq, rtptime);
1334 * @param url the target url for the request
1343 const char *method, const char *url,
1358 snprintf(buf, sizeof(buf), "%s %s RTSP/1.0\r\n", method, url);
1369 rt->auth, url, method);
1400 const char *url, const char *headers)
1402 return rtsp_send_cmd_with_content_async(s, method, url, headers, NULL, 0);
1405 int ff_rtsp_send_cmd(AVFormatContext *s, const char *method, const char *url,
1409 return ff_rtsp_send_cmd_with_content(s, method, url, headers, reply,
1414 const char *method, const char *url,
1427 if ((ret = rtsp_send_cmd_with_content_async(s, method, url, header,
1642 char url[MAX_URL_SIZE], options[30] = "";
1650 ff_url_join(url, sizeof(url), "rtp", NULL, peer,
1653 ff_rtp_set_remote_url(rtsp_st->rtp_handle, url) < 0) {
1660 char url[MAX_URL_SIZE], namebuf[50], optbuf[20] = "";
1678 ff_url_join(url, sizeof(url), "rtp", NULL, namebuf,
1680 err = ffurl_open_whitelist(&rtsp_st->rtp_handle, url, AVIO_FLAG_READ_WRITE,
1760 host, sizeof(host), &port, path, sizeof(path), s->url);
1794 /* Construct the URI used in request; this is similar to s->url,
2006 s->url);
2392 char url[MAX_URL_SIZE];
2434 ff_url_join(url, sizeof(url), "rtp", NULL,
2441 p = strchr(s->url, '?');
2443 av_strlcatf(url, sizeof(url), "&localaddr=%s", buf);
2445 av_strlcatf(url, sizeof(url), "&localaddr=%s", rt->localaddr);
2446 append_source_addrs(url, sizeof(url), "sources",
2449 append_source_addrs(url, sizeof(url), "block",
2452 err = ffurl_open_whitelist(&rtsp_st->rtp_handle, url, AVIO_FLAG_READ,
2526 ret = ffurl_open_whitelist(&in, s->url, AVIO_FLAG_READ,
2578 NULL, 0, s->url);
2584 p = strchr(s->url, '?');