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:
Iwan Timmer
2017-05-05 06:22:30 +02:00
committed by Cameron Gutman
parent dbb7cee399
commit 9bf8d361a1
7 changed files with 1024 additions and 21 deletions

View File

@@ -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)