gstrtsp.rtsptransport
Module for [RTSPTransport] class
class RTSPTransport
Types 1
classRTSPTransport
Provides helper functions to deal with RTSP transport strings.
Fields
GstRTSPTransport _cInstanceMethods
void * _cPtr() nothrowvoid trans(gstrtsp.types.RTSPTransMode propval) @property nothrowSet `trans` field. Params: propval = the transport modegstrtsp.types.RTSPProfile profile() @property nothrowGet `profile` field. Returns: the tansport profilevoid profile(gstrtsp.types.RTSPProfile propval) @property nothrowSet `profile` field. Params: propval = the tansport profilegstrtsp.types.RTSPLowerTrans lowerTransport() @property nothrowGet `lowerTransport` field. Returns: the lower transportvoid lowerTransport(gstrtsp.types.RTSPLowerTrans propval) @property nothrowSet `lowerTransport` field. Params: propval = the lower transportvoid destination(string propval) @property nothrowSet `destination` field. Params: propval = the destination ip/hostnamevoid source(string propval) @property nothrowSet `source` field. Params: propval = the source ip/hostnamevoid layers(uint propval) @property nothrowSet `layers` field. Params: propval = the number of layersvoid modePlay(bool propval) @property nothrowSet `modePlay` field. Params: propval = if play mode was selectedvoid modeRecord(bool propval) @property nothrowSet `modeRecord` field. Params: propval = if record mode was selectedvoid append(bool propval) @property nothrowSet `append` field. Params: propval = is append mode was selectedgstrtsp.rtsprange.RTSPRange interleaved() @property nothrowGet `interleaved` field. Returns: the interleave rangevoid interleaved(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `interleaved` field. Params: propval = the interleave rangevoid ttl(uint propval) @property nothrowSet `ttl` field. Params: propval = the time to live for multicast UDPgstrtsp.rtsprange.RTSPRange port() @property nothrowGet `port` field. Returns: the port pair for multicast sessionsvoid port(gstrtsp.rtsprange.RTSPRange propval) @property nothrowSet `port` field. Params: propval = the port pair for multicast sessionsgstrtsp.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.void ssrc(uint propval) @property nothrowSet `ssrc` field. Params: propval = the ssrc that the sender/receiver will usestring 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.