gstrtp.rtppayload_info

Module for [RTPPayloadInfo] class

Types 1

Structure holding default payload type information.

Fields
Methods
void * _cPtr() nothrow
ubyte payloadType() @property nothrowGet `payloadType` field. Returns: payload type, -1 means dynamic
void payloadType(ubyte propval) @property nothrowSet `payloadType` field. Params: propval = payload type, -1 means dynamic
string media() @property nothrowGet `media` field. Returns: the media type(s), usually "audio", "video", "application", "text", "message".
void media(string propval) @property nothrowSet `media` field. Params: propval = the media type(s), usually "audio", "video", "application", "text", "message".
string encodingName() @property nothrowGet `encodingName` field. Returns: the encoding name of @pt
void encodingName(string propval) @property nothrowSet `encodingName` field. Params: propval = the encoding name of @pt
uint clockRate() @property nothrowGet `clockRate` field. Returns: default clock rate, 0 = unknown/variable
void clockRate(uint propval) @property nothrowSet `clockRate` field. Params: propval = default clock rate, 0 = unknown/variable
string encodingParameters() @property nothrowGet `encodingParameters` field. Returns: encoding parameters. For audio this is the number of channels. NULL = not applicable.
void encodingParameters(string propval) @property nothrowSet `encodingParameters` field. Params: propval = encoding parameters. For audio this is the number of channels. NULL = not applicable.
uint bitrate() @property nothrowGet `bitrate` field. Returns: the bitrate of the media. 0 = unknown/variable.
void bitrate(uint propval) @property nothrowSet `bitrate` field. Params: propval = the bitrate of the media. 0 = unknown/variable.
gstrtp.rtppayload_info.RTPPayloadInfo forName(string media, string encodingName) static nothrowGet the #GstRTPPayloadInfo for media and encoding_name. This function is mostly used to get the default clock-rate and bandwidth for dynamic payload types specified with media and encoding name.
gstrtp.rtppayload_info.RTPPayloadInfo forPt(ubyte payloadType) static nothrowGet the #GstRTPPayloadInfo for payload_type. This function is mostly used to get the default clock-rate and bandwidth for static payload types specified with payload_type.
Constructors
this(void * ptr, Flag!"Take" take)