Use the spare field in the encrypted video header as the frame number

This allows us to skip decrypting extra FEC shards after a frame was reassembled.
This commit is contained in:
Cameron Gutman committed 2024-01-24 18:36:37 -06:00
1 parent a517f7cbca
commit e8113f0e66
4 files changed
+31 -1

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ typedef struct _QUEUED_DECODE_UNIT {
// for FEC stays a multiple of 16 too.
typedef struct _ENC_VIDEO_HEADER {
uint8_t iv[12];
uint32_t unused;
uint32_t frameNumber;
uint8_t tag[16];
} ENC_VIDEO_HEADER, *PENC_VIDEO_HEADER;