Send the new loss stats packet for GFE 2.1.1

This commit is contained in:
Cameron Gutman 2014-08-17 20:56:56 -07:00
parent 6571708eb5
commit 1e4c65e7bb

View File

@ -31,7 +31,7 @@ static const int PPAYLOAD_START_STREAM_B[4] = { 0, 0, 0, 0xa }; // FIXME: Little
#define PPAYLEN_RESYNC 24
#define PTYPE_LOSS_STATS 0x140c
#define PPAYLEN_LOSS_STATS 20
#define PPAYLEN_LOSS_STATS 32
#define PTYPE_FRAME_STATS 0x1417
#define PPAYLEN_FRAME_STATS 64
@ -141,6 +141,9 @@ static void lossStatsThreadFunc(void* context) {
BbPutInt(&byteBuffer, LOSS_REPORT_INTERVAL_MS);
BbPutInt(&byteBuffer, 1000);
BbPutLong(&byteBuffer, currentFrame);
BbPutInt(&byteBuffer, 0);
BbPutInt(&byteBuffer, 0);
BbPutInt(&byteBuffer, 0x14);
// Send the message (and don't expect a response)
if (!sendMessageAndForget(PTYPE_LOSS_STATS,