mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 08:55:48 +00:00
Send the new loss stats packet for GFE 2.1.1
This commit is contained in:
parent
6571708eb5
commit
1e4c65e7bb
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user