mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 20:35:31 +00:00
sip: gst-rfc3551: Add docstrings for public functions
This commit is contained in:
parent
2cb8139094
commit
d253870509
1 changed files with 23 additions and 0 deletions
|
@ -56,6 +56,12 @@ media_codec_available_in_gst (MediaCodecInfo *codec) {
|
||||||
return available;
|
return available;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* media_codec_by_name:
|
||||||
|
*
|
||||||
|
* @name: The name of the codec
|
||||||
|
*
|
||||||
|
* Returns: (transfer: none) A #MediaCodecInfo, if found
|
||||||
|
*/
|
||||||
MediaCodecInfo *
|
MediaCodecInfo *
|
||||||
media_codec_by_name (const char *name)
|
media_codec_by_name (const char *name)
|
||||||
{
|
{
|
||||||
|
@ -69,6 +75,12 @@ media_codec_by_name (const char *name)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* media_codec_by_payload_id:
|
||||||
|
*
|
||||||
|
* @payload_id: The payload id (see RFC 3551, 3555, 4733, 4855)
|
||||||
|
*
|
||||||
|
* Returns: (transfer: none) A #MediaCodecInfo, if found
|
||||||
|
*/
|
||||||
MediaCodecInfo *
|
MediaCodecInfo *
|
||||||
media_codec_by_payload_id (guint payload_id)
|
media_codec_by_payload_id (guint payload_id)
|
||||||
{
|
{
|
||||||
|
@ -80,6 +92,13 @@ media_codec_by_payload_id (guint payload_id)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* media_codec_get_gst_capabilities:
|
||||||
|
*
|
||||||
|
* @codec: A #MediaCodecInfo
|
||||||
|
*
|
||||||
|
* Returns: (transfer: full) The capability string describing GstCaps.
|
||||||
|
* Used for the RTP source element.
|
||||||
|
*/
|
||||||
gchar *
|
gchar *
|
||||||
media_codec_get_gst_capabilities (MediaCodecInfo *codec)
|
media_codec_get_gst_capabilities (MediaCodecInfo *codec)
|
||||||
{
|
{
|
||||||
|
@ -90,6 +109,10 @@ media_codec_get_gst_capabilities (MediaCodecInfo *codec)
|
||||||
codec->payload_id);
|
codec->payload_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* media_codecs_get_candidates:
|
||||||
|
*
|
||||||
|
* Returns: (transfer: none) A #GList of codec candidates of type #MediaCodecInfo
|
||||||
|
*/
|
||||||
GList *
|
GList *
|
||||||
media_codecs_get_candidates ()
|
media_codecs_get_candidates ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue