[farsight2/master] Add a bit more debug and properly save the recv stream codec
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:09 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index b01a1f0..a48880b 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2434,15 +2434,26 @@ fs_rtp_session_get_recv_codec_locked (FsRtpSession *session,
}
if (item)
- stream_codecs = g_list_remove_all (stream_codecs, item);
+ {
+ GST_DEBUG ("Receiving on stream codec " FS_CODEC_FORMAT,
+ FS_CODEC_ARGS (recv_codec));
+ stream_codecs = g_list_remove_all (stream_codecs, recv_codec);
+ }
else
+ {
+ GST_DEBUG ("Had stream, but it did not have negotiatied codec");
recv_codec = NULL;
+ }
fs_codec_list_destroy (stream_codecs);
}
if (!recv_codec)
+ {
recv_codec = codec_copy_without_config (ca->codec);
+ GST_DEBUG ("Receiving on session codec " FS_CODEC_FORMAT,
+ FS_CODEC_ARGS (recv_codec));
+ }
if (bp)
*bp = ca->blueprint;
--
1.5.6.5
More information about the farsight-commits
mailing list