[farsight2/master] Document create_local_codec_associations function
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:42 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 0a91c87..c177e6f 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -274,6 +274,19 @@ match_original_codec_and_codec_pref (CodecAssociation *ca, gpointer user_data)
return (tmpcodec != NULL);
}
+/**
+ * create_local_codec_associations:
+ * @blueprints: The #GList of CodecBlueprint
+ * @codec_pref: The #GList of #FsCodec representing codec preferences
+ * @current_codec_associations: The #GList of current #CodecAssociation
+ *
+ * This function creates a list of codec associations from installed codecs
+ * and the preferences. It also takes into account the currently negotiated
+ * codecs to keep the same payload types and optional parameters.
+ *
+ * Returns: a #GList of #CodecAssociation
+ */
+
GList *
create_local_codec_associations (
GList *blueprints,
--
1.5.6.5
More information about the farsight-commits
mailing list