MP4GetRtpPacketBFrame - Man Page

Get the B frame flag of an RTP packet

Syntax

#include <mp4.h>

int8_t MP4GetRtpPacketBFrame(
MP4FileHandle hFile,
MP4TrackId hintTrackId,
u_int16_t packetIndex
)

Arguments

hFile

Specifies the mp4 file to which the operation applies.

hintTrackId

Specifies the hint track to which the operation applies.

packetIndex

Specifies the packet to which the operation applies.

Return Values

Upon success, the state of the B frame flag for the specified packet. Upon an error, -1.

Description

MP4GetRtpPacketBFrame returns the state of the B Frame flag of an RTP packet. See MP4AddRtpHint for a description of this flag.

See Also

MP4(3) MP4AddRtpHint(3) MP4ReadRtpPacket(3)

Info

Version 0.9 Cisco Systems Inc. MP4 File Format Library