Lines Matching refs:url
50 char *url; member
64 .url = NULL,
302 if (g_rtsp_ctrl.url == NULL) { in py_rtsp_start()
305 snprintf(path, sizeof(path), "main/%s", g_rtsp_ctrl.url); in py_rtsp_start()
313 if (g_rtsp_ctrl.url == NULL) { in py_rtsp_start()
316 snprintf(path, sizeof(path), "sub/%s", g_rtsp_ctrl.url); in py_rtsp_start()
351 int py_rtsp_open(int camera_idx, int media_type, int fps, const char *url) in py_rtsp_open() argument
358 if (url && strlen(url) > 0) { in py_rtsp_open()
359 g_rtsp_ctrl.url = strdup(url); in py_rtsp_open()
360 if (g_rtsp_ctrl.url == NULL) { in py_rtsp_open()
369 if (g_rtsp_ctrl.url) { in py_rtsp_open()
370 free(g_rtsp_ctrl.url); in py_rtsp_open()
371 g_rtsp_ctrl.url = NULL; in py_rtsp_open()
406 if (g_rtsp_ctrl.url) { in py_rtsp_close()
407 free(g_rtsp_ctrl.url); in py_rtsp_close()
408 g_rtsp_ctrl.url = NULL; in py_rtsp_close()