#include <stdbool.h>
#include <glib.h>
#include <netinet/in.h>
Go to the source code of this file.
Data Structures |
struct | key_data |
struct | rtspcl_data |
Functions |
static GQuark | rtsp_client_quark (void) |
| The quark used for GError.domain.
|
void | free_kd (struct key_data *kd) |
char * | kd_lookup (struct key_data *kd, const char *key) |
G_GNUC_MALLOC struct rtspcl_data * | rtspcl_open (void) |
bool | rtspcl_connect (struct rtspcl_data *rtspcld, const char *host, short destport, const char *sid, GError **error_r) |
void | rtspcl_close (struct rtspcl_data *rtspcld) |
void | rtspcl_add_exthds (struct rtspcl_data *rtspcld, const char *key, char *data) |
bool | exec_request (struct rtspcl_data *rtspcld, const char *cmd, const char *content_type, const char *content, int get_response, const struct key_data *hds, struct key_data **kd, GError **error_r) |
bool | rtspcl_set_parameter (struct rtspcl_data *rtspcld, const char *parameter, GError **error_r) |
void | rtspcl_set_useragent (struct rtspcl_data *rtspcld, const char *name) |
bool | rtspcl_announce_sdp (struct rtspcl_data *rtspcld, const char *sdp, GError **error_r) |
bool | rtspcl_setup (struct rtspcl_data *rtspcld, struct key_data **kd, int control_port, int ntp_port, GError **error_r) |
bool | rtspcl_record (struct rtspcl_data *rtspcld, int seq_num, int rtptime, GError **error_r) |
char * | rtspcl_local_ip (struct rtspcl_data *rtspcld) |
Function Documentation
bool exec_request |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
cmd, |
|
|
const char * |
content_type, |
|
|
const char * |
content, |
|
|
int |
get_response, |
|
|
const struct key_data * |
hds, |
|
|
struct key_data ** |
kd, |
|
|
GError ** |
error_r |
|
) |
| |
char* kd_lookup |
( |
struct key_data * |
kd, |
|
|
const char * |
key |
|
) |
| |
static GQuark rtsp_client_quark |
( |
void |
| ) |
[inline, static] |
The quark used for GError.domain.
Definition at line 68 of file rtsp_client.h.
void rtspcl_add_exthds |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
key, |
|
|
char * |
data |
|
) |
| |
bool rtspcl_announce_sdp |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
sdp, |
|
|
GError ** |
error_r |
|
) |
| |
bool rtspcl_connect |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
host, |
|
|
short |
destport, |
|
|
const char * |
sid, |
|
|
GError ** |
error_r |
|
) |
| |
G_GNUC_MALLOC struct rtspcl_data* rtspcl_open |
( |
void |
| ) |
[read] |
bool rtspcl_record |
( |
struct rtspcl_data * |
rtspcld, |
|
|
int |
seq_num, |
|
|
int |
rtptime, |
|
|
GError ** |
error_r |
|
) |
| |
bool rtspcl_set_parameter |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
parameter, |
|
|
GError ** |
error_r |
|
) |
| |
void rtspcl_set_useragent |
( |
struct rtspcl_data * |
rtspcld, |
|
|
const char * |
name |
|
) |
| |
bool rtspcl_setup |
( |
struct rtspcl_data * |
rtspcld, |
|
|
struct key_data ** |
kd, |
|
|
int |
control_port, |
|
|
int |
ntp_port, |
|
|
GError ** |
error_r |
|
) |
| |