Browse code

b/f: initialize relay RTP streams with raw_relay

Stefan Sayer authored on 26/09/2014 09:05:24
Showing 1 changed files
... ...
@@ -495,7 +495,10 @@ void AudioStreamData::setReceiving(bool r) {
495 495
 AmB2BMedia::RelayStreamPair::RelayStreamPair(AmB2BSession *_a, AmB2BSession *_b)
496 496
 : a(_a, _a ? _a->getRtpInterface() : -1),
497 497
   b(_b, _b ? _b->getRtpInterface() : -1)
498
-{ }
498
+{
499
+  a.enableRawRelay();
500
+  b.enableRawRelay();
501
+}
499 502
 
500 503
 AmB2BMedia::AmB2BMedia(AmB2BSession *_a, AmB2BSession *_b): 
501 504
   ref_cnt(0), // everybody who wants to use must add one reference itselves