[farsight2/master] Add some debug for substream sync
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:17 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 1 +
gst/fsrtpconference/fs-rtp-substream.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index f7588fe..950ddb3 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2441,6 +2441,7 @@ fs_rtp_session_associate_ssrc_cname (FsRtpSession *session,
guint32 localssrc;
g_object_get (localsubstream, "ssrc", &localssrc, NULL);
+ GST_LOG ("Have substream with ssrc %x, looking for %x", localssrc, ssrc);
if (ssrc == localssrc) {
substream = localsubstream;
session->priv->free_substreams = g_list_delete_link (
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index fd7d6d9..e8ba470 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -287,6 +287,9 @@ fs_rtp_sub_stream_constructed (GObject *object)
{
FsRtpSubStream *self = FS_RTP_SUB_STREAM (object);
+ GST_DEBUG ("New substream in session %u for ssrc %x and pt %u",
+ self->priv->session->id, self->priv->ssrc, self->priv->pt);
+
if (!self->priv->conference) {
self->priv->construction_error = g_error_new (FS_ERROR,
FS_ERROR_INVALID_ARGUMENTS, "A Substream needs a conference object");
--
1.5.6.5
More information about the farsight-commits
mailing list