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 () |
gchar * | gst_rtsp_generate_digest_auth_response_from_md5 () |
#define | GST_RTSP_AUTH_MAX |
enum | GstRTSPEvent |
enum | GstRTSPResult |
enum | GstRTSPFamily |
enum | GstRTSPState |
enum | GstRTSPVersion |
enum | GstRTSPMethod |
enum | GstRTSPAuthMethod |
enum | GstRTSPHeaderField |
enum | GstRTSPStatusCode |
GEnum ├── GstRTSPAuthMethod ├── GstRTSPFamily ├── GstRTSPHeaderField ├── GstRTSPResult ├── GstRTSPState ├── GstRTSPStatusCode ╰── GstRTSPVersion GFlags ├── GstRTSPEvent ╰── GstRTSPMethod
#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
gchar * gst_rtsp_generate_digest_auth_response_from_md5 (const gchar *algorithm
,const gchar *method
,const gchar *md5
,const gchar *uri
,const gchar *nonce
);
Calculates the digest auth response from the values given by the server and the md5sum. See RFC2069 for details.
This function is useful when the passwords are not stored in clear text, but instead in the same format as the .htdigest file.
Currently only supported algorithm "md5".
algorithm |
Hash algorithm to use, or |
[allow-none] |
method |
Request method, e.g. PLAY |
|
md5 |
The md5 sum of username:realm:password |
|
uri |
Original request URI |
|
nonce |
Nonce |
Since: 1.16
#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.