summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2008-02-01 18:00:19 +0000
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2008-02-01 18:00:19 +0000
commit99b4ff90ad0b4b484011b91bd11e1490318408c4 (patch)
treeebca5b7278ea21a4e8d710a654ce90d5314cd94a
parent0c1ea9e1d24403e9b0c59600c0c3284e7087d895 (diff)
SIPMediaSession: debug printout for clamping the number of streams in the response
-rw-r--r--src/sip-media-session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sip-media-session.c b/src/sip-media-session.c
index e23c027..6280cea 100644
--- a/src/sip-media-session.c
+++ b/src/sip-media-session.c
@@ -1400,7 +1400,10 @@ priv_session_local_sdp (SIPMediaSession *session,
len = priv->streams->len;
if (!authoritative && len > priv->remote_stream_count)
- len = priv->remote_stream_count;
+ {
+ len = priv->remote_stream_count;
+ DEBUG("clamped response to %u streams seen in the offer", len);
+ }
g_string_append (user_sdp, "v=0\r\n");