Module: sems Branch: master Commit: b1665bc83aa8b8e4b414f3283afd16bc04d3ff08 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b1665bc83aa8b8e4b414f3283afd16bc04d3ff08
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
