Transport
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ GIR ( name = "RTSPTransport" ) ]
public struct Transport
Provides helper functions to deal with RTSP transport strings.
Content:
Static methods:
- public static Result get_manager (TransMode trans, out unowned string? manager, uint option)
Get the Element that can handle
the buffers transported over trans
.
- public static Result get_mime (TransMode trans, string mime)
Get the mime type of the transport mode trans
.
- public static Result parse (string str, Transport transport)
Parse the RTSP transport string str
into transport
.
Methods:
- public Result @new ()
Allocate a new initialized Transport.
- public string as_text ()
Convert this into a string that can
be used to signal the transport in an RTSP SETUP response.
- public Result free ()
Free the memory used by this.
- public Result get_media_type (out unowned string media_type)
Get the media type of this.
- public Result init ()
Initialize this so that it can be
used.
Fields: