Search code examples
androidandroid-ndkopenmax

Does Android supports recording through OpenMAX AL APIs?


I have been trying to record audio/video on Android device and play it back using Open MAX AL APIs.

So far, audio playback part works smoothly. I referred native-media example to play mp4 file from the SD card using Media Player object. Before trying video playback, I started exploring audio recording.

While trying recording, I realized that Engine::CreateMediaRecorder returns SL_RESULT_FEATURE_UNSUPPORTED.

  1. Does that mean, Android does not support recording through OpenMAXAL APIs?
  2. This link partially talks about some of the features except Media Recorder. Where are the Android supported features of OpenMAXAL documented?

Solution

  • Yes, it is not supported. Please refer this reply from Glenn Kasten.