| Top |
GstRTSPResult gst_rtsp_connection_create (const GstRTSPUrl *url,GstRTSPConnection **conn);
GstRTSPResult gst_rtsp_connection_create_from_fd (gint fd,const gchar *ip,guint16 port,const gchar *initial_buffer,GstRTSPConnection **conn);
GstRTSPResult gst_rtsp_connection_accept (gint sock,GstRTSPConnection **conn);
GstRTSPResult gst_rtsp_connection_connect (GstRTSPConnection *conn,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_read (GstRTSPConnection *conn,guint8 *data,guint size,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_write (GstRTSPConnection *conn,const guint8 *data,guint size,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_poll (GstRTSPConnection *conn,GstRTSPEvent events,GstRTSPEvent *revents,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_send (GstRTSPConnection *conn,GstRTSPMessage *message,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_receive (GstRTSPConnection *conn,GstRTSPMessage *message,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_next_timeout (GstRTSPConnection *conn,GTimeVal *timeout);
GstRTSPResult
gst_rtsp_connection_reset_timeout (GstRTSPConnection *conn);
GstRTSPResult gst_rtsp_connection_flush (GstRTSPConnection *conn,gboolean flush);
GstRTSPResult gst_rtsp_connection_set_auth (GstRTSPConnection *conn,GstRTSPAuthMethod method,const gchar *user,const gchar *pass);
void gst_rtsp_connection_set_auth_param (GstRTSPConnection *conn,const gchar *param,const gchar *value);
void
gst_rtsp_connection_clear_auth_params (GstRTSPConnection *conn);
GstRTSPResult gst_rtsp_connection_set_qos_dscp (GstRTSPConnection *conn,guint qos_dscp);
void gst_rtsp_connection_set_ip (GstRTSPConnection *conn,const gchar *ip);
const gchar *
gst_rtsp_connection_get_ip (const GstRTSPConnection *conn);
GstRTSPUrl *
gst_rtsp_connection_get_url (const GstRTSPConnection *conn);
void gst_rtsp_connection_set_tunneled (GstRTSPConnection *conn,gboolean tunneled);
gboolean
gst_rtsp_connection_is_tunneled (const GstRTSPConnection *conn);
const gchar *
gst_rtsp_connection_get_tunnelid (const GstRTSPConnection *conn);
GstRTSPResult gst_rtsp_connection_do_tunnel (GstRTSPConnection *conn,GstRTSPConnection *conn2);
gint
gst_rtsp_connection_get_readfd (const GstRTSPConnection *conn);
gint
gst_rtsp_connection_get_writefd (const GstRTSPConnection *conn);
void gst_rtsp_connection_set_http_mode (GstRTSPConnection *conn,gboolean enable);
GstRTSPResult gst_rtsp_connection_set_proxy (GstRTSPConnection *conn,const gchar *host,guint port);
GstRTSPWatch * gst_rtsp_watch_new (GstRTSPConnection *conn,GstRTSPWatchFuncs *funcs,gpointer user_data,GDestroyNotify notify);
guint gst_rtsp_watch_queue_message (GstRTSPWatch *watch,GstRTSPMessage *message);
gst_rtsp_watch_queue_message is deprecated and should not be used in newly-written code.
guint gst_rtsp_watch_queue_data (GstRTSPWatch *watch,const guint8 *data,guint size);
gst_rtsp_watch_queue_data is deprecated and should not be used in newly-written code.
GstRTSPResult gst_rtsp_watch_send_message (GstRTSPWatch *watch,GstRTSPMessage *message,guint *id);
GstRTSPResult gst_rtsp_watch_write_data (GstRTSPWatch *watch,const guint8 *data,guint size,guint *id);
typedef struct {
GstRTSPResult (*message_received) (GstRTSPWatch *watch, GstRTSPMessage *message,
gpointer user_data);
GstRTSPResult (*message_sent) (GstRTSPWatch *watch, guint id,
gpointer user_data);
GstRTSPResult (*closed) (GstRTSPWatch *watch, gpointer user_data);
GstRTSPResult (*error) (GstRTSPWatch *watch, GstRTSPResult result,
gpointer user_data);
GstRTSPStatusCode (*tunnel_start) (GstRTSPWatch *watch, gpointer user_data);
GstRTSPResult (*tunnel_complete) (GstRTSPWatch *watch, gpointer user_data);
GstRTSPResult (*error_full) (GstRTSPWatch *watch, GstRTSPResult result,
GstRTSPMessage *message, guint id,
gpointer user_data);
GstRTSPResult (*tunnel_lost) (GstRTSPWatch *watch, gpointer user_data);
} GstRTSPWatchFuncs;