DemuxerReturn GetStreamFrameData(u32 streamIndex, const u8*& pFrameData, u32& frameSize, u32& frameType, s64& frameTimeStamp);
| 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. |
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'.
Retrieves the oldest read frame data of a wanted stream in a Moflex content.