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() @propertyGet `transports` field. Returns: the transports allowedvoid transports(gstrtsp.types.RTSPLowerTrans propval) @propertySet `transports` field. Params: propval = the transports allowedvoid family(gstrtsp.types.RTSPFamily propval) @propertySet `family` field. Params: propval = the familyvoid query(string propval) @propertySet `query` field. Params: propval = additional query parametersgstrtsp.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_pathgstrtsp.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...