Media recorder use cases

Using the media recording capabilities of OpenMAX AL generally involves three steps:

OpenMAX AL diagram showing the sequence of actions when using the media recorder object.

The following diagrams show how to use the buffer queue in three different applications.

Video recording is supported only when encoding data from a buffer queue and sending the output encoded data to another buffer queue, as described in the Encode data from buffer queue and output encoded data to buffer queue use case below.

Record from the buffer queue

This use case only applies to audio recording.

The encoded data is sent back in the callback function. You need to specify the input format in XADataFormat_QNXEncoded::audio_info.

OpenMAX AL diagram showing the sequence of actions when recording from the buffer queue.

Encode to the buffer queue

This use case only applies to audio recording.

OpenMAX AL diagram showing the sequence of actions when encoding to the buffer queue.

Encode data from buffer queue and output encoded data to buffer queue

This use case applies to audio or video recording.

OpenMAX AL diagram showing the sequence of actions when encoding data from the buffer queue and outputting the encoded data to the buffer queue.

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus