RTPPayloadInfo.forName

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.

class RTPPayloadInfo
static
forName
(
string media
,)

Parameters

media string

the media to find

encodingName string

the encoding name to find

Return Value

Type: gstrtp.rtppayload_info.RTPPayloadInfo

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