b/f: set rtp_interface correctly on RTP stream creation.

sayer/1.4-spce2.6
Raphael Coeffic 16 years ago
parent 3a6d778305
commit 8322f36d88

@ -620,6 +620,8 @@ inline AmRtpAudio* AmSession::RTPStream() {
if (NULL == _rtp_str.get()) {
DBG("creating RTP stream instance for session [%p]\n",
this);
if(rtp_interface < 0)
rtp_interface = dlg.getOutboundIf();
_rtp_str.reset(new AmRtpAudio(this,rtp_interface));
}
return _rtp_str.get();

Loading…
Cancel
Save