summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-21 19:03:56 (GMT)
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-03-21 19:03:56 (GMT)
commitc38383444d605650e8f33eeed2e445ef36e129c9 (patch)
treebc9142ef7855cf8b730ccf122048b8ad7d19bc40
parent7d26b23ce613498f86ddb0723e929c9868ac17de (diff)
downloadfarstream-c38383444d605650e8f33eeed2e445ef36e129c9.tar.gz
farstream-c38383444d605650e8f33eeed2e445ef36e129c9.tar.xz
rtpcodecnego: Add more debugs on local codec list creation
-rw-r--r--gst/fsrtpconference/fs-rtp-codec-negotiation.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index a63faa0..d09a1fb 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -541,6 +541,7 @@ create_local_codec_associations (
ca->codec = fs_codec_copy (codec_pref);
ca->reserved = TRUE;
codec_associations = g_list_append (codec_associations, ca);
+ GST_DEBUG ("Add reserved payload type %d", codec_pref->id);
continue;
}
@@ -776,6 +777,12 @@ create_local_codec_associations (
ca->send_codec = codec_copy_filtered (ca->codec, FS_PARAM_TYPE_CONFIG);
+ {
+ gchar *tmp = fs_codec_to_string (ca->codec);
+ GST_LOG ("Added discovered codec %s from blueprint", tmp);
+ g_free (tmp);
+ }
+
codec_associations = list_insert_local_ca (codec_associations, ca);
}