gstrtp.rtppayload_info
Module for [RTPPayloadInfo] class
class RTPPayloadInfo
Types 1
classRTPPayloadInfo
Structure holding default payload type information.
Fields
GstRTPPayloadInfo _cInstanceMethods
void * _cPtr()void payloadType(ubyte propval) @propertySet `payloadType` field. Params: propval = payload type, -1 means dynamicstring 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".void encodingName(string propval) @propertySet `encodingName` field. Params: propval = the encoding name of @ptvoid clockRate(uint propval) @propertySet `clockRate` field. Params: propval = default clock rate, 0 = unknown/variablestring 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.