[farsight2/master] Accept case when no remote clock-rate is specified (its probably a re-match..)

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:24 PST 2008


---
 gst/fsrtpconference/fs-rtp-specific-nego.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-specific-nego.c b/gst/fsrtpconference/fs-rtp-specific-nego.c
index 90ae3c2..4a8228a 100644
--- a/gst/fsrtpconference/fs-rtp-specific-nego.c
+++ b/gst/fsrtpconference/fs-rtp-specific-nego.c
@@ -215,7 +215,8 @@ sdp_is_compat_default (FsCodec *local_codec, FsCodec *remote_codec,
 
   GST_DEBUG ("Using default codec negotiation function");
 
-  if (remote_codec->clock_rate &&
+  if ((local_codec->clock_rate || validate_config) &&
+      remote_codec->clock_rate &&
       local_codec->clock_rate != remote_codec->clock_rate)
   {
     GST_DEBUG ("Clock rates differ local=%u remote=%u", local_codec->clock_rate,
-- 
1.5.6.5




More information about the farsight-commits mailing list