mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 13:59:58 +00:00
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:
1 parent
a517f7cbca
commit
e8113f0e66
4 files changed
+31
-1
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user