Method

PurpleMediaCodecget_optional_parameter

Declaration [src]

PurpleKeyValuePair*
purple_media_codec_get_optional_parameter (
  PurpleMediaCodec* codec,
  const gchar* name,
  const gchar* value
)

Description [src]

Gets an optional parameter based on the values given.

Parameters

name const gchar*
 

The name of the parameter to search for.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
value const gchar*
 

The value to search for or NULL.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: PurpleKeyValuePair
 

The value found or NULL.

 The data is owned by the instance.