gstrtp.rtppayload_info

Module for [RTPPayloadInfo] class

Types 1

Structure holding default payload type information.

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