M3GPMP4LibAsyncObserver Class Reference

class M3GPMP4LibAsyncObserver

Provides async parse read observer.

Member Functions Documentation

M3GPMP4LibAudioFramesAvailable(MP4Err, mp4_u32, mp4_u32, mp4_u32, mp4_u32)

void M3GPMP4LibAudioFramesAvailable ( MP4Err aError,
mp4_u32 aAudioSize,
mp4_u32 aTimeStamp,
mp4_u32 aReturnedFrames,
mp4_u32 aTimestamp2
) [pure virtual]

Informs the client about asyncronous parse audio frames operation completion.

Parameters

MP4Err aError Error code.
mp4_u32 aAudioSize Size of the returned audio frames (in bytes).
mp4_u32 aTimeStamp Audio frame presentation time in milliseconds from the beginning of the audio sequence.
mp4_u32 aReturnedFrames Number of frames returned, or 0 if not known.
mp4_u32 aTimestamp2 Audio frame presentation time in timescale from the beginning of the audio sequence

M3GPMP4LibVideoFrameAvailable(MP4Err, mp4_u32, mp4_u32, mp4_bool, mp4_u32)

void M3GPMP4LibVideoFrameAvailable ( MP4Err aError,
mp4_u32 aFrameSize,
mp4_u32 aTimeStamp,
mp4_bool aKeyFrame,
mp4_u32 aTimestamp2
) [pure virtual]

Informs the client about asyncronous parse video frame operation completion.

Parameters

MP4Err aError Error code.
mp4_u32 aFrameSize Size of the returned frame (in bytes).
mp4_u32 aTimeStamp Video frame presentation time in milliseconds from the beginning of the video sequence
mp4_bool aKeyFrame Returns MP4TRUE if the current frame is a key frame (intra), otherwise the value is MP4FALSE
mp4_u32 aTimestamp2 Video frame presentation time in timescale from the beginning of the video sequence