gstrtspconnection

gstrtspconnection

Functions

GstRTSPResult gst_rtsp_connection_create ()
GstRTSPResult gst_rtsp_connection_create_from_fd ()
GstRTSPResult gst_rtsp_connection_accept ()
GstRTSPResult gst_rtsp_connection_connect ()
GstRTSPResult gst_rtsp_connection_close ()
GstRTSPResult gst_rtsp_connection_free ()
GstRTSPResult gst_rtsp_connection_read ()
GstRTSPResult gst_rtsp_connection_write ()
GstRTSPResult gst_rtsp_connection_poll ()
GstRTSPResult gst_rtsp_connection_send ()
GstRTSPResult gst_rtsp_connection_receive ()
GstRTSPResult gst_rtsp_connection_next_timeout ()
GstRTSPResult gst_rtsp_connection_reset_timeout ()
GstRTSPResult gst_rtsp_connection_flush ()
GstRTSPResult gst_rtsp_connection_set_auth ()
void gst_rtsp_connection_set_auth_param ()
void gst_rtsp_connection_clear_auth_params ()
GstRTSPResult gst_rtsp_connection_set_qos_dscp ()
void gst_rtsp_connection_set_ip ()
const gchar * gst_rtsp_connection_get_ip ()
GstRTSPUrl * gst_rtsp_connection_get_url ()
void gst_rtsp_connection_set_tunneled ()
gboolean gst_rtsp_connection_is_tunneled ()
const gchar * gst_rtsp_connection_get_tunnelid ()
GstRTSPResult gst_rtsp_connection_do_tunnel ()
gint gst_rtsp_connection_get_readfd ()
gint gst_rtsp_connection_get_writefd ()
void gst_rtsp_connection_set_http_mode ()
GstRTSPResult gst_rtsp_connection_set_proxy ()
GstRTSPWatch * gst_rtsp_watch_new ()
void gst_rtsp_watch_unref ()
guint gst_rtsp_watch_attach ()
void gst_rtsp_watch_reset ()
guint gst_rtsp_watch_queue_message ()
guint gst_rtsp_watch_queue_data ()
GstRTSPResult gst_rtsp_watch_send_message ()
GstRTSPResult gst_rtsp_watch_write_data ()

Types and Values

Includes

#include <gst/rtsp/gstrtspconnection.h>

Description

Functions

gst_rtsp_connection_create ()

GstRTSPResult
gst_rtsp_connection_create (const GstRTSPUrl *url,
                            GstRTSPConnection **conn);

gst_rtsp_connection_create_from_fd ()

GstRTSPResult
gst_rtsp_connection_create_from_fd (gint fd,
                                    const gchar *ip,
                                    guint16 port,
                                    const gchar *initial_buffer,
                                    GstRTSPConnection **conn);

gst_rtsp_connection_accept ()

GstRTSPResult
gst_rtsp_connection_accept (gint sock,
                            GstRTSPConnection **conn);

gst_rtsp_connection_connect ()

GstRTSPResult
gst_rtsp_connection_connect (GstRTSPConnection *conn,
                             GTimeVal *timeout);

gst_rtsp_connection_close ()

GstRTSPResult
gst_rtsp_connection_close (GstRTSPConnection *conn);

gst_rtsp_connection_free ()

GstRTSPResult
gst_rtsp_connection_free (GstRTSPConnection *conn);

gst_rtsp_connection_read ()

GstRTSPResult
gst_rtsp_connection_read (GstRTSPConnection *conn,
                          guint8 *data,
                          guint size,
                          GTimeVal *timeout);

gst_rtsp_connection_write ()

GstRTSPResult
gst_rtsp_connection_write (GstRTSPConnection *conn,
                           const guint8 *data,
                           guint size,
                           GTimeVal *timeout);

gst_rtsp_connection_poll ()

GstRTSPResult
gst_rtsp_connection_poll (GstRTSPConnection *conn,
                          GstRTSPEvent events,
                          GstRTSPEvent *revents,
                          GTimeVal *timeout);

gst_rtsp_connection_send ()

GstRTSPResult
gst_rtsp_connection_send (GstRTSPConnection *conn,
                          GstRTSPMessage *message,
                          GTimeVal *timeout);

gst_rtsp_connection_receive ()

GstRTSPResult
gst_rtsp_connection_receive (GstRTSPConnection *conn,
                             GstRTSPMessage *message,
                             GTimeVal *timeout);

gst_rtsp_connection_next_timeout ()

GstRTSPResult
gst_rtsp_connection_next_timeout (GstRTSPConnection *conn,
                                  GTimeVal *timeout);

gst_rtsp_connection_reset_timeout ()

GstRTSPResult
gst_rtsp_connection_reset_timeout (GstRTSPConnection *conn);

gst_rtsp_connection_flush ()

GstRTSPResult
gst_rtsp_connection_flush (GstRTSPConnection *conn,
                           gboolean flush);

gst_rtsp_connection_set_auth ()

GstRTSPResult
gst_rtsp_connection_set_auth (GstRTSPConnection *conn,
                              GstRTSPAuthMethod method,
                              const gchar *user,
                              const gchar *pass);

gst_rtsp_connection_set_auth_param ()

void
gst_rtsp_connection_set_auth_param (GstRTSPConnection *conn,
                                    const gchar *param,
                                    const gchar *value);

gst_rtsp_connection_clear_auth_params ()

void
gst_rtsp_connection_clear_auth_params (GstRTSPConnection *conn);

gst_rtsp_connection_set_qos_dscp ()

GstRTSPResult
gst_rtsp_connection_set_qos_dscp (GstRTSPConnection *conn,
                                  guint qos_dscp);

gst_rtsp_connection_set_ip ()

void
gst_rtsp_connection_set_ip (GstRTSPConnection *conn,
                            const gchar *ip);

gst_rtsp_connection_get_ip ()

const gchar *
gst_rtsp_connection_get_ip (const GstRTSPConnection *conn);

gst_rtsp_connection_get_url ()

GstRTSPUrl *
gst_rtsp_connection_get_url (const GstRTSPConnection *conn);

gst_rtsp_connection_set_tunneled ()

void
gst_rtsp_connection_set_tunneled (GstRTSPConnection *conn,
                                  gboolean tunneled);

gst_rtsp_connection_is_tunneled ()

gboolean
gst_rtsp_connection_is_tunneled (const GstRTSPConnection *conn);

gst_rtsp_connection_get_tunnelid ()

const gchar *
gst_rtsp_connection_get_tunnelid (const GstRTSPConnection *conn);

gst_rtsp_connection_do_tunnel ()

GstRTSPResult
gst_rtsp_connection_do_tunnel (GstRTSPConnection *conn,
                               GstRTSPConnection *conn2);

gst_rtsp_connection_get_readfd ()

gint
gst_rtsp_connection_get_readfd (const GstRTSPConnection *conn);

gst_rtsp_connection_get_writefd ()

gint
gst_rtsp_connection_get_writefd (const GstRTSPConnection *conn);

gst_rtsp_connection_set_http_mode ()

void
gst_rtsp_connection_set_http_mode (GstRTSPConnection *conn,
                                   gboolean enable);

gst_rtsp_connection_set_proxy ()

GstRTSPResult
gst_rtsp_connection_set_proxy (GstRTSPConnection *conn,
                               const gchar *host,
                               guint port);

gst_rtsp_watch_new ()

GstRTSPWatch *
gst_rtsp_watch_new (GstRTSPConnection *conn,
                    GstRTSPWatchFuncs *funcs,
                    gpointer user_data,
                    GDestroyNotify notify);

gst_rtsp_watch_unref ()

void
gst_rtsp_watch_unref (GstRTSPWatch *watch);

gst_rtsp_watch_attach ()

guint
gst_rtsp_watch_attach (GstRTSPWatch *watch,
                       GMainContext *context);

gst_rtsp_watch_reset ()

void
gst_rtsp_watch_reset (GstRTSPWatch *watch);

gst_rtsp_watch_queue_message ()

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.


gst_rtsp_watch_queue_data ()

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.


gst_rtsp_watch_send_message ()

GstRTSPResult
gst_rtsp_watch_send_message (GstRTSPWatch *watch,
                             GstRTSPMessage *message,
                             guint *id);

gst_rtsp_watch_write_data ()

GstRTSPResult
gst_rtsp_watch_write_data (GstRTSPWatch *watch,
                           const guint8 *data,
                           guint size,
                           guint *id);

Types and Values

GstRTSPConnection

typedef struct _GstRTSPConnection GstRTSPConnection;

GstRTSPWatch

typedef struct _GstRTSPWatch GstRTSPWatch;

GstRTSPWatchFuncs

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;