gstrtsp.rtsptransport

Module for [RTSPTransport] class

Types 1

Provides helper functions to deal with RTSP transport strings.

Fields
GstRTSPTransport _cInstance
Methods
void * _cPtr() nothrow
gstrtsp.types.RTSPTransMode trans() @property nothrowGet `trans` field. Returns: the transport mode
void trans(gstrtsp.types.RTSPTransMode propval) @property nothrowSet `trans` field. Params: propval = the transport mode
gstrtsp.types.RTSPProfile profile() @property nothrowGet `profile` field. Returns: the tansport profile
void profile(gstrtsp.types.RTSPProfile propval) @property nothrowSet `profile` field. Params: propval = the tansport profile
gstrtsp.types.RTSPLowerTrans lowerTransport() @property nothrowGet `lowerTransport` field. Returns: the lower transport
void lowerTransport(gstrtsp.types.RTSPLowerTrans propval) @property nothrowSet `lowerTransport` field. Params: propval = the lower transport
string destination() @property nothrowGet `destination` field. Returns: the destination ip/hostname
void destination(string propval) @property nothrowSet `destination` field. Params: propval = the destination ip/hostname
string source() @property nothrowGet `source` field. Returns: the source ip/hostname
void source(string propval) @property nothrowSet `source` field. Params: propval = the source ip/hostname
uint layers() @property nothrowGet `layers` field. Returns: the number of layers
void layers(uint propval) @property nothrowSet `layers` field. Params: propval = the number of layers
bool modePlay() @property nothrowGet `modePlay` field. Returns: if play mode was selected
void modePlay(bool propval) @property nothrowSet `modePlay` field. Params: propval = if play mode was selected
bool modeRecord() @property nothrowGet `modeRecord` field. Returns: if record mode was selected
void modeRecord(bool propval) @property nothrowSet `modeRecord` field. Params: propval = if record mode was selected
bool append() @property nothrowGet `append` field. Returns: is append mode was selected
void append(bool propval) @property nothrowSet `append` field. Params: propval = is append mode was selected
gstrtsp.rtsprange.RTSPRange interleaved() @property nothrowGet `interleaved` field. Returns: the interleave range
void interleaved(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `interleaved` field. Params: propval = the interleave range
uint ttl() @property nothrowGet `ttl` field. Returns: the time to live for multicast UDP
void ttl(uint propval) @property nothrowSet `ttl` field. Params: propval = the time to live for multicast UDP
gstrtsp.rtsprange.RTSPRange port() @property nothrowGet `port` field. Returns: the port pair for multicast sessions
void port(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `port` field. Params: propval = the port pair for multicast sessions
gstrtsp.rtsprange.RTSPRange clientPort() @property nothrowGet `clientPort` field. Returns: the client port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the client.
void clientPort(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `clientPort` field. Params: propval = the client port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the client.
gstrtsp.rtsprange.RTSPRange serverPort() @property nothrowGet `serverPort` field. Returns: the server port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the server.
void serverPort(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `serverPort` field. Params: propval = the server port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the server.
uint ssrc() @property nothrowGet `ssrc` field. Returns: the ssrc that the sender/receiver will use
void ssrc(uint propval) @property nothrowSet `ssrc` field. Params: propval = the ssrc that the sender/receiver will use
string asText() nothrowConvert transport into a string that can be used to signal the transport in an RTSP SETUP response. Returns: a string describing the RTSP transport or null when the transport is invalid.
gstrtsp.types.RTSPResult getMediaType(out string mediaType) nothrowGet the media type of transport. This media type is typically used to generate #GstCaps events.
gstrtsp.types.RTSPResult getManager(gstrtsp.types.RTSPTransMode trans, out string manager, uint option) static nothrowGet the #GstElement that can handle the buffers transported over trans.
gstrtsp.types.RTSPResult getMime(gstrtsp.types.RTSPTransMode trans, out string mime) static nothrowGet the mime type of the transport mode trans. This mime type is typically used to generate #GstCaps events.
gstrtsp.types.RTSPResult init_(out gstrtsp.rtsptransport.RTSPTransport transport) static nothrowInitialize transport so that it can be used.
gstrtsp.types.RTSPResult new_(out gstrtsp.rtsptransport.RTSPTransport transport) static nothrowAllocate a new initialized #GstRTSPTransport. Use [gstrtsp.rtsptransport.RTSPTransport.free] after usage.
gstrtsp.types.RTSPResult parse(string str, out gstrtsp.rtsptransport.RTSPTransport transport) static nothrowParse the RTSP transport string str into transport.
Constructors
this(void * ptr, Flag!"Take" take)