Send the new loss stats packet for GFE 2.1.1
This commit is contained in:
parent
6571708eb5
commit
1e4c65e7bb
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ static const int PPAYLOAD_START_STREAM_B[4] = { 0, 0, 0, 0xa }; // FIXME: Little
|
||||||
#define PPAYLEN_RESYNC 24
|
#define PPAYLEN_RESYNC 24
|
||||||
|
|
||||||
#define PTYPE_LOSS_STATS 0x140c
|
#define PTYPE_LOSS_STATS 0x140c
|
||||||
#define PPAYLEN_LOSS_STATS 20
|
#define PPAYLEN_LOSS_STATS 32
|
||||||
|
|
||||||
#define PTYPE_FRAME_STATS 0x1417
|
#define PTYPE_FRAME_STATS 0x1417
|
||||||
#define PPAYLEN_FRAME_STATS 64
|
#define PPAYLEN_FRAME_STATS 64
|
||||||
|
|
@ -141,6 +141,9 @@ static void lossStatsThreadFunc(void* context) {
|
||||||
BbPutInt(&byteBuffer, LOSS_REPORT_INTERVAL_MS);
|
BbPutInt(&byteBuffer, LOSS_REPORT_INTERVAL_MS);
|
||||||
BbPutInt(&byteBuffer, 1000);
|
BbPutInt(&byteBuffer, 1000);
|
||||||
BbPutLong(&byteBuffer, currentFrame);
|
BbPutLong(&byteBuffer, currentFrame);
|
||||||
|
BbPutInt(&byteBuffer, 0);
|
||||||
|
BbPutInt(&byteBuffer, 0);
|
||||||
|
BbPutInt(&byteBuffer, 0x14);
|
||||||
|
|
||||||
// Send the message (and don't expect a response)
|
// Send the message (and don't expect a response)
|
||||||
if (!sendMessageAndForget(PTYPE_LOSS_STATS,
|
if (!sendMessageAndForget(PTYPE_LOSS_STATS,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue