Module: sems
Branch: master
Commit: 9692fe9a54af9fdba50fcf48954a26901812cb58
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=9692fe9a54af9fdba50fcf48954a26901812cb58

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Fri Sep 26 11:05:24 2014 +0200

b/f: initialize relay RTP streams with raw_relay

---

 core/AmB2BMedia.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/core/AmB2BMedia.cpp b/core/AmB2BMedia.cpp
index b83d5aa..5c76def 100644
--- a/core/AmB2BMedia.cpp
+++ b/core/AmB2BMedia.cpp
@@ -495,7 +495,10 @@ void AudioStreamData::setReceiving(bool r) {
 AmB2BMedia::RelayStreamPair::RelayStreamPair(AmB2BSession *_a, AmB2BSession 
*_b)
 : a(_a, _a ? _a->getRtpInterface() : -1),
   b(_b, _b ? _b->getRtpInterface() : -1)
-{ }
+{
+  a.enableRawRelay();
+  b.enableRawRelay();
+}
 
 AmB2BMedia::AmB2BMedia(AmB2BSession *_a, AmB2BSession *_b): 
   ref_cnt(0), // everybody who wants to use must add one reference itselves

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

Reply via email to