Skip to content
Snippets Groups Projects
Commit 61efb9f2 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4367] Implement on packet receive

parent 009905f4
Branches
No related tags found
No related merge requests found
......@@ -229,9 +229,9 @@ void AudioRtpSession::sendDtmfEvent (sfl::DtmfEvent *dtmf)
bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&)
{
_debug ("AudioRtpSession: onRTPPacketRecv");
// _debug ("AudioRtpSession: onRTPPacketRecv");
// receiveSpeakerData ();
receiveSpeakerData ();
return true;
}
......@@ -358,8 +358,6 @@ void AudioRtpSession::run ()
sendMicData ();
}
receiveSpeakerData();
// This also should be moved
notifyIncomingCall();
......@@ -390,6 +388,8 @@ void AudioRtpSession::run ()
}
timeout = 0;
}
// receiveSpeakerData();
}
_debug ("AudioRtpSession: Left main loop for call %s", _ca->getCallId().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment