gstrtsp.rtsptransport

Module for [RTSPTransport] class

Types 1

Provides helper functions to deal with RTSP transport strings.

Fields
GstRTSPTransport _cInstance
Methods
void * _cPtr()
gstrtsp.types.RTSPTransMode trans() @propertyGet `trans` field. Returns: the transport mode
void trans(gstrtsp.types.RTSPTransMode propval) @propertySet `trans` field. Params: propval = the transport mode
gstrtsp.types.RTSPProfile profile() @propertyGet `profile` field. Returns: the tansport profile
void profile(gstrtsp.types.RTSPProfile propval) @propertySet `profile` field. Params: propval = the tansport profile
gstrtsp.types.RTSPLowerTrans lowerTransport() @propertyGet `lowerTransport` field. Returns: the lower transport
void lowerTransport(gstrtsp.types.RTSPLowerTrans propval) @propertySet `lowerTransport` field. Params: propval = the lower transport
string destination() @propertyGet `destination` field. Returns: the destination ip/hostname
void destination(string propval) @propertySet `destination` field. Params: propval = the destination ip/hostname
string source() @propertyGet `source` field. Returns: the source ip/hostname
void source(string propval) @propertySet `source` field. Params: propval = the source ip/hostname
uint layers() @propertyGet `layers` field. Returns: the number of layers
void layers(uint propval) @propertySet `layers` field. Params: propval = the number of layers
bool modePlay() @propertyGet `modePlay` field. Returns: if play mode was selected
void modePlay(bool propval) @propertySet `modePlay` field. Params: propval = if play mode was selected
bool modeRecord() @propertyGet `modeRecord` field. Returns: if record mode was selected
void modeRecord(bool propval) @propertySet `modeRecord` field. Params: propval = if record mode was selected
bool append() @propertyGet `append` field. Returns: is append mode was selected
void append(bool propval) @propertySet `append` field. Params: propval = is append mode was selected
gstrtsp.rtsprange.RTSPRange interleaved() @propertyGet `interleaved` field. Returns: the interleave range
void interleaved(gstrtsp.rtsprange.RTSPRange propval) @propertySet `interleaved` field. Params: propval = the interleave range
uint ttl() @propertyGet `ttl` field. Returns: the time to live for multicast UDP
void ttl(uint propval) @propertySet `ttl` field. Params: propval = the time to live for multicast UDP
gstrtsp.rtsprange.RTSPRange port() @propertyGet `port` field. Returns: the port pair for multicast sessions
void port(gstrtsp.rtsprange.RTSPRange propval) @propertySet `port` field. Params: propval = the port pair for multicast sessions
gstrtsp.rtsprange.RTSPRange clientPort() @propertyGet `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) @propertySet `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() @propertyGet `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) @propertySet `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() @propertyGet `ssrc` field. Returns: the ssrc that the sender/receiver will use
void ssrc(uint propval) @propertySet `ssrc` field. Params: propval = the ssrc that the sender/receiver will use
string asText()Convert 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)Get 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)Get the #GstElement that can handle the buffers transported over trans.
gstrtsp.types.RTSPResult getMime(gstrtsp.types.RTSPTransMode trans, out string mime)Get 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)Initialize transport so that it can be used.
gstrtsp.types.RTSPResult new_(out gstrtsp.rtsptransport.RTSPTransport transport)Allocate a new initialized #GstRTSPTransport. Use [gstrtsp.rtsptransport.RTSPTransport.free] after usage.
gstrtsp.types.RTSPResult parse(string str, out gstrtsp.rtsptransport.RTSPTransport transport)Parse the RTSP transport string str into transport.
Constructors
this(void * ptr, Flag!"Take" take)