Lines Matching refs:uri
80 static void rtsp_options(CURL *curl, const char *uri) in rtsp_options() argument
83 printf("\nRTSP: OPTIONS %s\n", uri); in rtsp_options()
84 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_options()
91 static void rtsp_describe(CURL *curl, const char *uri, in rtsp_describe() argument
96 printf("\nRTSP: DESCRIBE %s\n", uri); in rtsp_describe()
114 static void rtsp_setup(CURL *curl, const char *uri, const char *transport) in rtsp_setup() argument
117 printf("\nRTSP: SETUP %s\n", uri); in rtsp_setup()
119 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_setup()
127 static void rtsp_play(CURL *curl, const char *uri, const char *range) in rtsp_play() argument
130 printf("\nRTSP: PLAY %s\n", uri); in rtsp_play()
131 my_curl_easy_setopt(curl, CURLOPT_RTSP_STREAM_URI, uri); in rtsp_play()
142 static void rtsp_teardown(CURL *curl, const char *uri) in rtsp_teardown() argument
145 printf("\nRTSP: TEARDOWN %s\n", uri); in rtsp_teardown()
224 char *uri = malloc(strlen(url) + 32); in main() local
249 snprintf(uri, strlen(url) + 32, "%s", url); in main()
250 rtsp_options(curl, uri); in main()
253 rtsp_describe(curl, uri, sdp_filename); in main()
259 snprintf(uri, strlen(url) + 32, "%s/%s", url, control); in main()
260 rtsp_setup(curl, uri, transport); in main()
263 snprintf(uri, strlen(url) + 32, "%s/", url); in main()
264 rtsp_play(curl, uri, range); in main()
270 rtsp_teardown(curl, uri); in main()
287 free(uri); in main()