gstrtsp.rtspurl
Module for [RTSPUrl] class
class RTSPUrl
Types 1
classRTSPUrl : gobject.boxed.Boxed
Provides helper functions to handle RTSP urls.
Methods
gstrtsp.types.RTSPLowerTrans transports() @property nothrowGet `transports` field. Returns: the transports allowedvoid transports(gstrtsp.types.RTSPLowerTrans propval) @property nothrowSet `transports` field. Params: propval = the transports allowedvoid family(gstrtsp.types.RTSPFamily propval) @property nothrowSet `family` field. Params: propval = the familyvoid abspath(string propval) @property nothrowSet `abspath` field. Params: propval = the absolute pathvoid query(string propval) @property nothrowSet `query` field. Params: propval = additional query parametersgstrtsp.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,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_pathgstrtsp.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...