#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <curl/curl.h>
Go to the source code of this file.
|
static int | _getch (void) |
|
static void | get_media_control_attribute (const char *sdp_filename, char *control) |
|
static void | get_sdp_filename (const char *url, char *sdp_filename, size_t namelen) |
|
int | main (int argc, char *const argv[]) |
|
static void | rtsp_describe (CURL *curl, const char *uri, const char *sdp_filename) |
|
static void | rtsp_options (CURL *curl, const char *uri) |
|
static void | rtsp_play (CURL *curl, const char *uri, const char *range) |
|
static void | rtsp_setup (CURL *curl, const char *uri, const char *transport) |
|
static void | rtsp_teardown (CURL *curl, const char *uri) |
|
#define my_curl_easy_perform |
( |
|
A | ) |
|
Value: fprintf(stderr,
"curl_easy_perform(%s) failed: %d\n", #A,
res);
if(strcmp(arg,"1305")!=0)
CURL_EXTERN CURLcode curl_easy_perform(CURL *curl)
Definition at line 70 of file docs/examples/rtsp.c.
#define my_curl_easy_setopt |
( |
|
A, |
|
|
|
B, |
|
|
|
C |
|
) |
| |
Value: fprintf(stderr,
"curl_easy_setopt(%s, %s, %s) failed: %d\n", \
if(strcmp(arg,"1305")!=0)
#define curl_easy_setopt(handle, option, value)
Definition at line 64 of file docs/examples/rtsp.c.
#define VERSION_STR "V1.0" |
static int _getch |
( |
void |
| ) |
|
|
static |
static void get_media_control_attribute |
( |
const char * |
sdp_filename, |
|
|
char * |
control |
|
) |
| |
|
static |
static void get_sdp_filename |
( |
const char * |
url, |
|
|
char * |
sdp_filename, |
|
|
size_t |
namelen |
|
) |
| |
|
static |
int main |
( |
int |
argc, |
|
|
char *const |
argv[] |
|
) |
| |
static void rtsp_describe |
( |
CURL * |
curl, |
|
|
const char * |
uri, |
|
|
const char * |
sdp_filename |
|
) |
| |
|
static |
static void rtsp_options |
( |
CURL * |
curl, |
|
|
const char * |
uri |
|
) |
| |
|
static |
static void rtsp_play |
( |
CURL * |
curl, |
|
|
const char * |
uri, |
|
|
const char * |
range |
|
) |
| |
|
static |
static void rtsp_setup |
( |
CURL * |
curl, |
|
|
const char * |
uri, |
|
|
const char * |
transport |
|
) |
| |
|
static |
static void rtsp_teardown |
( |
CURL * |
curl, |
|
|
const char * |
uri |
|
) |
| |
|
static |