diff options
Diffstat (limited to 'src/sip-media-session.c')
-rw-r--r-- | src/sip-media-session.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sip-media-session.c b/src/sip-media-session.c index ee1d4ca..2db4f66 100644 --- a/src/sip-media-session.c +++ b/src/sip-media-session.c @@ -704,7 +704,11 @@ int sip_media_session_set_remote_info (SIPMediaSession *session, const char* r_s } g_assert(media == NULL); - g_assert(i == priv->streams->len); + if (i != priv->streams->len) + { + g_warning ("There were %u parsed SDP m-lines but we have %u streams - " + "is someone failing to comply with RFCs?"); + } /* XXX: hmm, this is not the correct place really */ g_object_set (session, "state", JS_STATE_ACTIVE, NULL); |