gstreamer-rtsp-1.0
Description:
GStreamer RTSP Library
- Home: https://gstreamer.freedesktop.org/
- C-Documentation: https://gstreamer.freedesktop.org/documentation/rtsplib/index.html
- Devhelp-Package download
Content:
Namespaces:
- Gst
- RTSP
- Extension - This interface is implemented e.g. by the Windows Media Streaming RTSP exentension (rtspwms) and the RealMedia RTSP extension (rtspreal).
- AuthCredential - RTSP Authentication credentials
- AuthParam - RTSP Authentication parameter
- Connection - This object manages the RTSP connection to the server.
- Message - Provides methods for creating and parsing request, response and data messages.
- Url - Provides helper functions to handle RTSP urls.
- Watch - Opaque RTSP watch object that can be used for asynchronous RTSP operations.
- Range - Provides helper functions to deal with time ranges.
- Time - A time indication.
- Time2 - Extra fields for a time indication.
- TimeRange - A time range.
- Transport - Provides helper functions to deal with RTSP transport strings.
- AuthMethod - Authentication methods, ordered by strength
- Event - The possible events for the connection.
- Family - The possible network families.
- HeaderField - Enumeration of rtsp header fields
- LowerTrans - The different transport methods.
- Method - The different supported RTSP methods.
- MsgType - The type of a message.
- Profile - The transfer profile to use.
- RangeUnit - Different possible time range units.
- Result - Result codes from the RTSP functions.
- State - The different RTSP states.
- StatusCode - Enumeration of rtsp status codes
- TimeType - Possible time types.
- TransMode - The transfer mode to use.
- Version - The supported RTSP versions.
- public const int _DEFAULT_PORT
The default RTSP port to connect to.
- public delegate bool ConnectionAcceptCertificateFunc (TlsConnection conn, TlsCertificate peer_cert, TlsCertificateFlags errors)
- public void auth_credentials_free (AuthCredential credentials)
Free a
null
-terminated array of credentials returned from parse_auth_credentials. - public Result connection_accept (Socket socket, out Connection? conn, Cancellable? cancellable = null)
Accept a new connection on
socket
and create a new Connection for handling communication on new socket. - public Result connection_create (Url url, out Connection conn)
Create a newly allocated Connection from
url
and store it inconn
. - public Result connection_create_from_socket (Socket socket, string ip, uint16 port, string initial_buffer, out Connection? conn)
Create a new Connection for handling communication on the existing socket
socket
. - public HeaderField find_header_field (string header)
Convert
header
to a HeaderField. - public Method find_method (string method)
Convert
method
to a Method. - public string? generate_digest_auth_response (string? algorithm, string method, string realm, string username, string password, string uri, string nonce)
Calculates the digest auth response from the values given by the server and the username and password.
- public string? generate_digest_auth_response_from_md5 (string? algorithm, string method, string md5, string uri, string nonce)
Calculates the digest auth response from the values given by the server and the md5sum.
- public bool header_allow_multiple (HeaderField field)
Check whether
field
may appear multiple times in a message. - public unowned string? header_as_text (HeaderField field)
Convert
field
to a string. - public Result message_new (out Message msg)
Create a new initialized Message.
- public Result message_new_data (out Message msg, uint8 channel)
Create a new data Message with
channel
and store the result message inmsg
. - public Result message_new_request (out Message msg, Method method, string uri)
Create a new Message with
method
anduri
and store the result request message inmsg
. - public Result message_new_response (out Message msg, StatusCode code, string? reason, Message? request)
Create a new response Message with
code
andreason
and store the result message inmsg
. - public unowned string? method_as_text (Method method)
- public string options_as_text (Method options)
Convert
options
to a string. - public Method options_from_text (string options)
Convert the comma separated list
options
to a Method bitwise or of methods. - public bool range_convert_units (TimeRange range, RangeUnit unit)
- public void range_free (TimeRange range)
- public bool range_get_times (TimeRange range, out ClockTime min, out ClockTime max)
- public Result range_parse (string rangestr, out TimeRange range)
- public string range_to_string (TimeRange range)
- public unowned string status_as_text (StatusCode code)
Convert
code
to a string. - public string strresult (Result result)
Convert
result
in a human readable string. - public Result transport_get_manager (TransMode trans, out unowned string? manager, uint option)
- public Result transport_get_mime (TransMode trans, out unowned string mime)
- public Result transport_init (out Transport transport)
- public Result transport_new (out Transport transport)
- public Result transport_parse (string str, out Transport transport)
- public Result url_parse (string urlstr, out Url? url)
Parse the RTSP
urlstr
into a newly allocated Url. - public unowned string version_as_text (Version version)