Frame type fields are present all the way back to GFE 3.2 (and probably further)

This commit is contained in:
Cameron Gutman 2022-10-03 18:26:24 -05:00
parent 4c62b5d23a
commit a4870f619b

View File

@ -708,7 +708,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
// If this is the first packet, skip the frame header (if one exists)
if (firstPacket) {
// Parse the frame type from the header
if (APP_VERSION_AT_LEAST(7, 1, 415)) {
if (APP_VERSION_AT_LEAST(7, 1, 350)) {
switch (currentPos.data[currentPos.offset + 3]) {
case 1: // Normal P-frame
break;