gstrtsp.rtspurl

Module for [RTSPUrl] class

class RTSPUrl

Types 1

Provides helper functions to handle RTSP urls.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
RTSPUrl self() nothrowReturns `this`, for use in `with` statements.
gstrtsp.types.RTSPLowerTrans transports() @property nothrowGet `transports` field. Returns: the transports allowed
void transports(gstrtsp.types.RTSPLowerTrans propval) @property nothrowSet `transports` field. Params: propval = the transports allowed
gstrtsp.types.RTSPFamily family() @property nothrowGet `family` field. Returns: the family
void family(gstrtsp.types.RTSPFamily propval) @property nothrowSet `family` field. Params: propval = the family
string user() @property nothrowGet `user` field. Returns: the user
void user(string propval) @property nothrowSet `user` field. Params: propval = the user
string passwd() @property nothrowGet `passwd` field. Returns: the password
void passwd(string propval) @property nothrowSet `passwd` field. Params: propval = the password
string host() @property nothrowGet `host` field. Returns: the host
void host(string propval) @property nothrowSet `host` field. Params: propval = the host
ushort port() @property nothrowGet `port` field. Returns: the port
void port(ushort propval) @property nothrowSet `port` field. Params: propval = the port
string abspath() @property nothrowGet `abspath` field. Returns: the absolute path
void abspath(string propval) @property nothrowSet `abspath` field. Params: propval = the absolute path
string query() @property nothrowGet `query` field. Returns: additional query parameters
void query(string propval) @property nothrowSet `query` field. Params: propval = additional query parameters
gstrtsp.rtspurl.RTSPUrl copy() nothrowMake a copy of url. Returns: a copy of url. Free with gst_rtsp_url_free () after usage.
string[] decodePathComponents() nothrowSplits the path of url on '/' boundaries, decoding the resulting components,
gstrtsp.types.RTSPResult getPort(out ushort port) nothrowGet the port number of url.
string getRequestUri() nothrowGet a newly allocated string describing the request URI for url. Returns: a string with the request URI. [glib.global.gfree] after usage.
string getRequestUriWithControl(string controlPath) nothrowGet a newly allocated string describing the request URI for url combined with the control path for control_path
gstrtsp.types.RTSPResult setPort(ushort port) nothrowSet the port number in url to port.
gstrtsp.types.RTSPResult parse(string urlstr, out gstrtsp.rtspurl.RTSPUrl url) static nothrowParse the RTSP urlstr into a newly allocated #GstRTSPUrl. Free after usage with [gstrtsp.rtspurl.RTSPUrl.free].
Constructors
this(gstrtsp.types.RTSPLowerTrans transports = gstrtsp.types.RTSPLowerTrans.init, gstrtsp.types.RTSPFamily family = gstrtsp.types.RTSPFamily.init, string user = string.init, string passwd = string.init, string host = string.init, ushort port = ushort.init, string abspath = string.init, string query = string.init)Create a `rtspurl.RTSPUrl` boxed type. Params: transports = the transports allowed family = the family user = the user passwd = the password host = the host port = the port abspath = the absolute p...
this(void * ptr, Flag!"Take" take)