RTSPTransport

Provides helper functions to deal with RTSP transport strings.

Members

Functions

asText
string asText()

Convert transport into a string that can be used to signal the transport in an RTSP SETUP response.

getMediaType
gstrtsp.types.RTSPResult getMediaType(string mediaType)

Get the media type of transport. This media type is typically used to generate #GstCaps events.

Static functions

getManager
gstrtsp.types.RTSPResult getManager(gstrtsp.types.RTSPTransMode trans, string manager, uint option)

Get the #GstElement that can handle the buffers transported over trans.

getMime
gstrtsp.types.RTSPResult getMime(gstrtsp.types.RTSPTransMode trans, string mime)

Get the mime type of the transport mode trans. This mime type is typically used to generate #GstCaps events.

init_
gstrtsp.types.RTSPResult init_(gstrtsp.rtsptransport.RTSPTransport transport)

Initialize transport so that it can be used.

new_
gstrtsp.types.RTSPResult new_(gstrtsp.rtsptransport.RTSPTransport transport)

Allocate a new initialized #GstRTSPTransport. Use gstrtsp.rtsptransport.RTSPTransport.free after usage.

parse
gstrtsp.types.RTSPResult parse(string str, gstrtsp.rtsptransport.RTSPTransport transport)

Parse the RTSP transport string str into transport.