mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-20 07:00:15 +00:00
Forward Error Correction (#24)
* Preperation for FEC by adding new queue which buffers whole frames * Add code for creating recovered RTP packet * Add checks before repair missing packets * Initial implementation for single FEC packet * Implement FEC for multiple packets
This commit is contained in:
committed by
Cameron Gutman
parent
dbb7cee399
commit
9bf8d361a1
@@ -21,7 +21,7 @@ typedef struct _NV_VIDEO_PACKET {
|
||||
int frameIndex;
|
||||
char flags;
|
||||
char reserved[3];
|
||||
int reserved2;
|
||||
int fecInfo;
|
||||
} NV_VIDEO_PACKET, *PNV_VIDEO_PACKET;
|
||||
|
||||
#define FLAG_EXTENSION 0x10
|
||||
@@ -36,4 +36,4 @@ typedef struct _RTP_PACKET {
|
||||
char reserved[8];
|
||||
} RTP_PACKET, *PRTP_PACKET;
|
||||
|
||||
#pragma pack(pop)
|
||||
#pragma pack(pop)
|
||||
|
||||
Reference in New Issue
Block a user