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
2024-01-24 18:36:37 -06:00
parent a517f7cbca
commit e8113f0e66
4 changed files with 31 additions and 1 deletions

View File

@@ -53,4 +53,5 @@ typedef struct _RTP_VIDEO_QUEUE {
void RtpvInitializeQueue(PRTP_VIDEO_QUEUE queue);
void RtpvCleanupQueue(PRTP_VIDEO_QUEUE queue);
int RtpvAddPacket(PRTP_VIDEO_QUEUE queue, PRTP_PACKET packet, int length, PRTPV_QUEUE_ENTRY packetEntry);
uint32_t RtpvGetCurrentFrameNumber(PRTP_VIDEO_QUEUE queue);
void RtpvSubmitQueuedPackets(PRTP_VIDEO_QUEUE queue);