Fetch receive time only once per frame instead of once per packet
This commit is contained in:
parent
fe7cb006da
commit
0b8dc80823
3 changed files with 12 additions and 1 deletions
|
|
@ -669,6 +669,9 @@ void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length, unsigned long l
|
|||
void queueRtpPacket(PRTPFEC_QUEUE_ENTRY queueEntry) {
|
||||
int dataOffset;
|
||||
|
||||
LC_ASSERT(!queueEntry->isParity);
|
||||
LC_ASSERT(queueEntry->receiveTimeMs != 0);
|
||||
|
||||
dataOffset = sizeof(*queueEntry->packet);
|
||||
if (queueEntry->packet->header & FLAG_EXTENSION) {
|
||||
dataOffset += 4; // 2 additional fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue