Add missing bandwidth to TS UDP output
This commit is contained in:
parent
3e4dca8f84
commit
a97d3e8d27
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ namespace Mist {
|
||||||
static int curFilled = 0;
|
static int curFilled = 0;
|
||||||
if (curFilled == udpSize){
|
if (curFilled == udpSize){
|
||||||
pushSock.SendNow(packetBuffer);
|
pushSock.SendNow(packetBuffer);
|
||||||
|
myConn.addUp(packetBuffer.size());
|
||||||
packetBuffer.clear();
|
packetBuffer.clear();
|
||||||
packetBuffer.reserve(udpSize * len);
|
packetBuffer.reserve(udpSize * len);
|
||||||
curFilled = 0;
|
curFilled = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue