| Top |
GstRTSPResult gst_rtsp_connection_create (const GstRTSPUrl *url,GstRTSPConnection **conn);
GstRTSPResult gst_rtsp_connection_create_from_socket (GSocket *socket,const gchar *ip,guint16 port,const gchar *initial_buffer,GstRTSPConnection **conn);
GstRTSPResult gst_rtsp_connection_accept (GSocket *socket,GstRTSPConnection **conn,GCancellable *cancellable);
GstRTSPResult gst_rtsp_connection_connect (GstRTSPConnection *conn,GTimeVal *timeout);
GstRTSPResult gst_rtsp_connection_connect_with_response (GstRTSPConnection *conn,GTimeVal *timeout,GstRTSPMessage *response);
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);
void gst_rtsp_connection_set_http_mode (GstRTSPConnection *conn,gboolean enable);
GstRTSPResult gst_rtsp_connection_set_proxy (GstRTSPConnection *conn,const gchar *host,guint port);
GSocket *
gst_rtsp_connection_get_read_socket (const GstRTSPConnection *conn);
GSocket *
gst_rtsp_connection_get_write_socket (const GstRTSPConnection *conn);
GTlsConnection * gst_rtsp_connection_get_tls (GstRTSPConnection *conn,GError **error);
gboolean gst_rtsp_connection_set_tls_validation_flags (GstRTSPConnection *conn,GTlsCertificateFlags flags);
GTlsCertificateFlags
gst_rtsp_connection_get_tls_validation_flags
(GstRTSPConnection *conn);
void gst_rtsp_connection_set_tls_database (GstRTSPConnection *conn,GTlsDatabase *database);
GTlsDatabase *
gst_rtsp_connection_get_tls_database (GstRTSPConnection *conn);
void gst_rtsp_connection_set_tls_interaction (GstRTSPConnection *conn,GTlsInteraction *interaction);
GTlsInteraction *
gst_rtsp_connection_get_tls_interaction
(GstRTSPConnection *conn);
GstRTSPWatch * gst_rtsp_watch_new (GstRTSPConnection *conn,GstRTSPWatchFuncs *funcs,gpointer user_data,GDestroyNotify notify);
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);
void gst_rtsp_watch_get_send_backlog (GstRTSPWatch *watch,gsize *bytes,guint *messages);
void gst_rtsp_watch_set_send_backlog (GstRTSPWatch *watch,gsize bytes,guint messages);
void gst_rtsp_watch_set_flushing (GstRTSPWatch *watch,gboolean flushing);
GstRTSPResult gst_rtsp_watch_wait_backlog (GstRTSPWatch *watch,GTimeVal *timeout);
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);
GstRTSPResult (*tunnel_http_response) (GstRTSPWatch *watch,
GstRTSPMessage *request,
GstRTSPMessage *response,
gpointer user_data);
} GstRTSPWatchFuncs;