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)
GType _gType() @property
RTSPUrl self()Returns `this`, for use in `with` statements.
gstrtsp.types.RTSPLowerTrans transports() @propertyGet `transports` field. Returns: the transports allowed
void transports(gstrtsp.types.RTSPLowerTrans propval) @propertySet `transports` field. Params: propval = the transports allowed
gstrtsp.types.RTSPFamily family() @propertyGet `family` field. Returns: the family
void family(gstrtsp.types.RTSPFamily propval) @propertySet `family` field. Params: propval = the family
string user() @propertyGet `user` field. Returns: the user
void user(string propval) @propertySet `user` field. Params: propval = the user
string passwd() @propertyGet `passwd` field. Returns: the password
void passwd(string propval) @propertySet `passwd` field. Params: propval = the password
string host() @propertyGet `host` field. Returns: the host
void host(string propval) @propertySet `host` field. Params: propval = the host
ushort port() @propertyGet `port` field. Returns: the port
void port(ushort propval) @propertySet `port` field. Params: propval = the port
string abspath() @propertyGet `abspath` field. Returns: the absolute path
void abspath(string propval) @propertySet `abspath` field. Params: propval = the absolute path
string query() @propertyGet `query` field. Returns: additional query parameters
void query(string propval) @propertySet `query` field. Params: propval = additional query parameters
gstrtsp.rtspurl.RTSPUrl copy()Make a copy of url. Returns: a copy of url. Free with gstrtspurl_free () after usage.
string[] decodePathComponents()Splits the path of url on '/' boundaries, decoding the resulting components,
gstrtsp.types.RTSPResult getPort(out ushort port)Get the port number of url.
string getRequestUri()Get 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)Get a newly allocated string describing the request URI for url combined with the control path for control_path
gstrtsp.types.RTSPResult setPort(ushort port)Set the port number in url to port.
gstrtsp.types.RTSPResult parse(string urlstr, out gstrtsp.rtspurl.RTSPUrl url)Parse 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)