RTPPayloadInfo.forName

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.

The search for encoding_name will be performed in a case insensitive way.

Parameters

mediathe media to find
encodingNamethe encoding name to find

Returns

a #GstRTPPayloadInfo or NULL when no info could be found.