Module: sems
Branch: 1.4
Commit: 8b92dd793e1382a9d692d3c9849c3dce297d9539
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8b92dd793e1382a9d692d3c9849c3dce297d9539

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Mon Mar 21 23:51:19 2011 +0100

b/f: bind the relay stream against the local RTP IP.

---

 core/AmB2BSession.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp
index 28d66ca..0840d52 100644
--- a/core/AmB2BSession.cpp
+++ b/core/AmB2BSession.cpp
@@ -785,7 +785,7 @@ void AmB2BSession::setupRelayStreams(AmB2BSession* 
other_session) {
   for (unsigned int i=0; i<relay_rtp_streams_cnt; i++) {
     other_session->relay_rtp_streams[i]->setRelayStream(relay_rtp_streams[i]);
     other_stream_fds[i] = 
other_session->relay_rtp_streams[i]->getLocalSocket();
-    relay_rtp_streams[i]->setLocalIP(advertisedIP());
+    relay_rtp_streams[i]->setLocalIP(localRTPIP());
     relay_rtp_streams[i]->enableRtpRelay();
   }
 }

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to