M3GPMP4LibAsyncObserver Class Reference

class M3GPMP4LibAsyncObserver

Provides async parse read observer.

Member Functions Documentation

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

voidM3GPMP4LibAudioFramesAvailable(MP4ErraError,
mp4_u32aAudioSize,
mp4_u32aTimeStamp,
mp4_u32aReturnedFrames,
mp4_u32aTimestamp2
)[pure virtual]

Informs the client about asyncronous parse audio frames operation completion.

Parameters

MP4Err aErrorError code.
mp4_u32 aAudioSizeSize of the returned audio frames (in bytes).
mp4_u32 aTimeStampAudio frame presentation time in milliseconds from the beginning of the audio sequence.
mp4_u32 aReturnedFramesNumber of frames returned, or 0 if not known.
mp4_u32 aTimestamp2Audio frame presentation time in timescale from the beginning of the audio sequence

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

voidM3GPMP4LibVideoFrameAvailable(MP4ErraError,
mp4_u32aFrameSize,
mp4_u32aTimeStamp,
mp4_boolaKeyFrame,
mp4_u32aTimestamp2
)[pure virtual]

Informs the client about asyncronous parse video frame operation completion.

Parameters

MP4Err aErrorError code.
mp4_u32 aFrameSizeSize of the returned frame (in bytes).
mp4_u32 aTimeStampVideo frame presentation time in milliseconds from the beginning of the video sequence
mp4_bool aKeyFrameReturns MP4TRUE if the current frame is a key frame (intra), otherwise the value is MP4FALSE
mp4_u32 aTimestamp2Video frame presentation time in timescale from the beginning of the video sequence