mw::mo::moflex::Demuxer::GetStreamFrameData Function

Syntax


DemuxerReturn GetStreamFrameData(u32 streamIndex, const u8*& pFrameData, u32& frameSize, u32& frameType, s64& frameTimeStamp);

Arguments

Name Description
in streamIndex Index of the wanted stream.
out pFrameData A pointer reference that will contain the frame data.
out frameSize An integer that will contain the frame size.
out frameType An integer that will contain the frame type, value can be one the mw::mo::moflex::FrameType enumerated values.
out frameTimeStamp A 64 bits integer that will contain the frame timestamp, in microseconds.

Returns

mw::mo::moflex::DEMUXER_RETURN_OK if success.
mw::mo::moflex::DEMUXER_RETURN_NULL if Create method was not previously called.
mw::mo::moflex::DEMUXER_RETURN_STREAM_NOT_FOUND if stream 'streamIndex' does not exist.
mw::mo::moflex::DEMUXER_RETURN_NO_AVAILABLE_FRAME if there are no available frame of stream 'streamIndex'.

Description

Retrieves the oldest read frame data of a wanted stream in a Moflex content.

Revision History

2010/04/15
Initial version.