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
No related branches found
No related tags found
No related merge requests found
...@@ -229,9 +229,9 @@ void AudioRtpSession::sendDtmfEvent (sfl::DtmfEvent *dtmf) ...@@ -229,9 +229,9 @@ void AudioRtpSession::sendDtmfEvent (sfl::DtmfEvent *dtmf)
bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&) bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&)
{ {
_debug ("AudioRtpSession: onRTPPacketRecv"); // _debug ("AudioRtpSession: onRTPPacketRecv");
// receiveSpeakerData (); receiveSpeakerData ();
return true; return true;
} }
...@@ -358,8 +358,6 @@ void AudioRtpSession::run () ...@@ -358,8 +358,6 @@ void AudioRtpSession::run ()
sendMicData (); sendMicData ();
} }
receiveSpeakerData();
// This also should be moved // This also should be moved
notifyIncomingCall(); notifyIncomingCall();
...@@ -390,6 +388,8 @@ void AudioRtpSession::run () ...@@ -390,6 +388,8 @@ void AudioRtpSession::run ()
} }
timeout = 0; timeout = 0;
} }
// receiveSpeakerData();
} }
_debug ("AudioRtpSession: Left main loop for call %s", _ca->getCallId().c_str()); _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