Top |
Functions
#define | GST_RTSP_CHECK() |
gchar * | gst_rtsp_strresult () |
const gchar * | gst_rtsp_method_as_text () |
const gchar * | gst_rtsp_version_as_text () |
const gchar * | gst_rtsp_header_as_text () |
gboolean | gst_rtsp_header_allow_multiple () |
const gchar * | gst_rtsp_status_as_text () |
gchar * | gst_rtsp_options_as_text () |
GstRTSPMethod | gst_rtsp_options_from_text () |
GstRTSPHeaderField | gst_rtsp_find_header_field () |
GstRTSPMethod | gst_rtsp_find_method () |
gchar * | gst_rtsp_generate_digest_auth_response () |
Types and Values
#define | GST_RTSP_AUTH_MAX |
enum | GstRTSPEvent |
enum | GstRTSPResult |
enum | GstRTSPFamily |
enum | GstRTSPState |
enum | GstRTSPVersion |
enum | GstRTSPMethod |
enum | GstRTSPAuthMethod |
enum | GstRTSPHeaderField |
enum | GstRTSPStatusCode |
Functions
GST_RTSP_CHECK()
#define GST_RTSP_CHECK(stmt, label)
Macro that checks the return value of stmt
and jumps to label
when it does
not equal GST_RTSP_OK.
gst_rtsp_strresult ()
gchar *
gst_rtsp_strresult (GstRTSPResult result
);
Convert result
in a human readable string.
gst_rtsp_method_as_text ()
const gchar *
gst_rtsp_method_as_text (GstRTSPMethod method
);
Convert method
to a string.
gst_rtsp_version_as_text ()
const gchar *
gst_rtsp_version_as_text (GstRTSPVersion version
);
Convert version
to a string.
gst_rtsp_header_as_text ()
const gchar *
gst_rtsp_header_as_text (GstRTSPHeaderField field
);
Convert field
to a string.
gst_rtsp_header_allow_multiple ()
gboolean
gst_rtsp_header_allow_multiple (GstRTSPHeaderField field
);
Check whether field
may appear multiple times in a message.
gst_rtsp_status_as_text ()
const gchar *
gst_rtsp_status_as_text (GstRTSPStatusCode code
);
Convert code
to a string.
gst_rtsp_options_as_text ()
gchar *
gst_rtsp_options_as_text (GstRTSPMethod options
);
Convert options
to a string.
gst_rtsp_options_from_text ()
GstRTSPMethod
gst_rtsp_options_from_text (const gchar *options
);
Convert the comma separated list options
to a GstRTSPMethod bitwise or
of methods. This functions is the reverse of gst_rtsp_options_as_text()
.
Since: 1.2
gst_rtsp_find_header_field ()
GstRTSPHeaderField
gst_rtsp_find_header_field (const gchar *header
);
Convert header
to a GstRTSPHeaderField.
gst_rtsp_find_method ()
GstRTSPMethod
gst_rtsp_find_method (const gchar *method
);
Convert method
to a GstRTSPMethod.
gst_rtsp_generate_digest_auth_response ()
gchar * gst_rtsp_generate_digest_auth_response (const gchar *algorithm
,const gchar *method
,const gchar *realm
,const gchar *username
,const gchar *password
,const gchar *uri
,const gchar *nonce
);
Calculates the digest auth response from the values given by the server and the username and password. See RFC2069 for details.
Currently only supported algorithm "md5".
Parameters
algorithm |
Hash algorithm to use, or |
[allow-none] |
method |
Request method, e.g. PLAY |
|
realm |
Realm |
|
username |
Username |
|
password |
Password |
|
uri |
Original request URI |
|
nonce |
Nonce |
Since: 1.12
Types and Values
GST_RTSP_AUTH_MAX
#define GST_RTSP_AUTH_MAX GST_RTSP_AUTH_DIGEST
Strongest available authentication method
enum GstRTSPResult
Result codes from the RTSP functions.
Members
no error |
||
some unspecified error occured |
||
invalid arguments were provided to a function |
||
an operation was canceled |
||
no memory was available for the operation |
||
a host resolve error occured |
||
function not implemented |
||
a system error occured, errno contains more details |
||
a parsing error occured |
||
windows networking could not start |
||
windows networking stack has wrong version |
||
end-of-file was reached |
||
a network problem occured, h_errno contains more details |
||
the host is not an IP host |
||
a timeout occured |
||
the tunnel GET request has been performed |
||
the tunnel POST request has been performed |
||
last error |
enum GstRTSPMethod
The different supported RTSP methods.