| Top |
| #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 () |
| #define | GST_RTSP_AUTH_MAX |
| enum | GstRTSPEvent |
| enum | GstRTSPResult |
| enum | GstRTSPFamily |
| enum | GstRTSPState |
| enum | GstRTSPVersion |
| enum | GstRTSPMethod |
| enum | GstRTSPAuthMethod |
| enum | GstRTSPHeaderField |
| enum | GstRTSPStatusCode |
#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.
gchar *
gst_rtsp_strresult (GstRTSPResult result);
Convert result
in a human readable string.
const gchar *
gst_rtsp_method_as_text (GstRTSPMethod method);
Convert method
to a string.
const gchar *
gst_rtsp_version_as_text (GstRTSPVersion version);
Convert version
to a string.
const gchar *
gst_rtsp_header_as_text (GstRTSPHeaderField field);
Convert field
to a string.
gboolean
gst_rtsp_header_allow_multiple (GstRTSPHeaderField field);
Check whether field
may appear multiple times in a message.
const gchar *
gst_rtsp_status_as_text (GstRTSPStatusCode code);
Convert code
to a string.
gchar *
gst_rtsp_options_as_text (GstRTSPMethod options);
Convert options
to a string.
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
GstRTSPHeaderField
gst_rtsp_find_header_field (const gchar *header);
Convert header
to a GstRTSPHeaderField.
GstRTSPMethod
gst_rtsp_find_method (const gchar *method);
Convert method
to a GstRTSPMethod.
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".
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
#define GST_RTSP_AUTH_MAX GST_RTSP_AUTH_DIGEST
Strongest available authentication method
Result codes from the RTSP functions.
|
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 |
The different supported RTSP methods.