Add missing bandwidth to TS UDP output

This commit is contained in:
Thulinma 2017-10-25 11:13:02 +02:00
parent 3e4dca8f84
commit a97d3e8d27

View file

@ -110,6 +110,7 @@ namespace Mist {
static int curFilled = 0;
if (curFilled == udpSize){
pushSock.SendNow(packetBuffer);
myConn.addUp(packetBuffer.size());
packetBuffer.clear();
packetBuffer.reserve(udpSize * len);
curFilled = 0;