Change presentationTimeMs to presentationTimeUs: retain more resolution when dealing with RTP video timestamps from Sunshine. Include raw rtpTimestamp value for use with integer time APIs.

This commit is contained in:
Andy Grundman authored and Cameron Gutman committed 2025-11-06 20:27:01 -06:00
1 parent fdd026518c
commit e356b2cfde
4 files changed
+28 -15

No files matched your search

+2 -1
View File
@@ -7,7 +7,8 @@ typedef struct _RTPV_QUEUE_ENTRY {
struct _RTPV_QUEUE_ENTRY* prev;
PRTP_PACKET packet;
uint64_t receiveTimeUs;
uint64_t presentationTimeMs;
uint64_t presentationTimeUs;
uint32_t rtpTimestamp;
int length;
bool isParity;
} RTPV_QUEUE_ENTRY, *PRTPV_QUEUE_ENTRY;