LogPrint(eLogWarning,"Streaming: SYNACK packet was not ACKed after ",m_NumResendAttempts," attempts, terminate, rSID=",m_RecvStreamID,", sSID=",m_SendStreamID);
m_Status=eStreamStatusReset;
Close();
return;
}
if(m_NumResendAttempts>=MAX_NUM_RESEND_ATTEMPTS)
if(m_NumResendAttempts>=MAX_NUM_RESEND_ATTEMPTS)
{
{
LogPrint(eLogWarning,"Streaming: packet was not ACKed after ",MAX_NUM_RESEND_ATTEMPTS," attempts, terminate, rSID=",m_RecvStreamID,", sSID=",m_SendStreamID);
LogPrint(eLogWarning,"Streaming: packet was not ACKed after ",MAX_NUM_RESEND_ATTEMPTS," attempts, terminate, rSID=",m_RecvStreamID,", sSID=",m_SendStreamID);
@ -1424,13 +1431,7 @@ namespace stream
SendPackets(packets);
SendPackets(packets);
m_LastSendTime=ts;
m_LastSendTime=ts;
m_IsSendTime=false;
m_IsSendTime=false;
if(m_IsNAcked||m_IsResendNeeded)
if(m_IsNAcked||m_IsResendNeeded)ScheduleSend();
{
if(m_SequenceNumber>1)// doesn't resend agressively very first packet