[farsight2/master] Add some debug to the codec distribution
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:15 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 8433b86..875b568 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1782,6 +1782,9 @@ fs_rtp_session_distribute_recv_codecs (FsRtpSession *session,
if (item3 == NULL)
remote_codec = NULL;
+ GST_LOG ("Adding codec to stream %p " FS_CODEC_FORMAT, stream,
+ FS_CODEC_ARGS (codec));
+
if (remote_codec)
{
for (item3 = remote_codec->optional_params; item3;
@@ -1789,11 +1792,14 @@ fs_rtp_session_distribute_recv_codecs (FsRtpSession *session,
{
FsCodecParameter *param = item3->data;
if (codec_has_config_data_named (codec, param->name))
+ {
+ GST_LOG ("Adding parameter to stream %p %s=%s", stream,
+ param->name, param->value);
fs_codec_add_optional_parameter (codec, param->name,
param->value);
+ }
}
}
-
}
fs_rtp_stream_set_negotiated_codecs (stream, new_codecs);
--
1.5.6.5
More information about the farsight-commits
mailing list