Browse Source

count NACKs in plain ack message size

pull/113/head
orignal 10 years ago
parent
commit
5e83d950f5
  1. 4
      Streaming.cpp

4
Streaming.cpp

@ -320,7 +320,7 @@ namespace stream
packets.push_back (p); packets.push_back (p);
} }
if (packets.size () > 0) if (packets.size () > 0)
m_Service.post (std::bind (&Stream::PostPackets, this, packets)); m_Service.post (std::bind (&Stream::PostPackets, shared_from_this (), packets));
return len; return len;
} }
@ -369,7 +369,7 @@ namespace stream
} }
packet[size] = numNacks; packet[size] = numNacks;
size++; // NACK count size++; // NACK count
packet += numNacks*4; // NACKs size += numNacks*4; // NACKs
} }
else else
{ {

Loading…
Cancel
Save