for_name


Description:

public static unowned PayloadInfo? for_name (string media, string encoding_name)

Get the PayloadInfo 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:

media

the media to find

encoding_name

the encoding name to find

Returns:

a PayloadInfo or NULL when no info could be found.