RTSPUrl

Provides helper functions to handle RTSP urls.

Constructors

this
this(gstrtsp.types.RTSPLowerTrans transports, gstrtsp.types.RTSPFamily family, string user, string passwd, string host, ushort port, string abspath, string query)

Create a rtspurl.RTSPUrl boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
gstrtsp.rtspurl.RTSPUrl copy()

Make a copy of url.

decodePathComponents
string[] decodePathComponents()

Splits the path of url on '/' boundaries, decoding the resulting components,

getPort
gstrtsp.types.RTSPResult getPort(ushort port)

Get the port number of url.

getRequestUri
string getRequestUri()

Get a newly allocated string describing the request URI for url.

getRequestUriWithControl
string getRequestUriWithControl(string controlPath)

Get a newly allocated string describing the request URI for url combined with the control path for control_path

self
RTSPUrl self()

Returns this, for use in with statements.

setPort
gstrtsp.types.RTSPResult setPort(ushort port)

Set the port number in url to port.

Properties

abspath
string abspath [@property getter]

Get field abspath.

abspath
string abspath [@property setter]

Set field abspath.

family
gstrtsp.types.RTSPFamily family [@property getter]

Get field family.

family
gstrtsp.types.RTSPFamily family [@property setter]

Set field family.

gType
GType gType [@property getter]
host
string host [@property getter]

Get field host.

host
string host [@property setter]

Set field host.

passwd
string passwd [@property getter]

Get field passwd.

passwd
string passwd [@property setter]

Set field passwd.

port
ushort port [@property getter]

Get field port.

port
ushort port [@property setter]

Set field port.

query
string query [@property getter]

Get field query.

query
string query [@property setter]

Set field query.

transports
gstrtsp.types.RTSPLowerTrans transports [@property getter]

Get field transports.

transports
gstrtsp.types.RTSPLowerTrans transports [@property setter]

Set field transports.

user
string user [@property getter]

Get field user.

user
string user [@property setter]

Set field user.

Static functions

getGType
GType getGType()
parse
gstrtsp.types.RTSPResult parse(string urlstr, gstrtsp.rtspurl.RTSPUrl url)

Parse the RTSP urlstr into a newly allocated #GstRTSPUrl. Free after usage with gstrtsp.rtspurl.RTSPUrl.free.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.