Skip to content
Snippets Groups Projects
Commit 51439291 authored by asavard's avatar asavard
Browse files

[#4367] Move receive speaker data method

parent b9d248dc
Branches
Tags
No related merge requests found
......@@ -226,7 +226,7 @@ bool AudioRtpSession::onRTPPacketRecv (ost::IncomingRTPPkt&)
{
//_debug ("AudioRtpSession: onRTPPacketRecv");
receiveSpeakerData ();
// receiveSpeakerData ();
return true;
}
......@@ -259,6 +259,7 @@ void AudioRtpSession::sendMicData()
void AudioRtpSession::receiveSpeakerData ()
{
_debug("receive spkr data");
const ost::AppDataUnit* adu = NULL;
......@@ -342,6 +343,8 @@ void AudioRtpSession::run ()
_debug ("AudioRtpSession: Entering mainloop for call %s",_ca->getCallId().c_str());
receiveSpeakerData ();
uint32 timeout = 0;
while ( isActive() ) {
if ( timeout < 1000 ){ // !(timeout/1000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment