NadavRub
NadavRub

Reputation: 2610

Android: MediaRecorder @ Native code

Playing with the MediaRecorder Java code I have found the MediaRecorder class to be quite limited, there is no way to control the media before it is encoded/compressed, and, there is no way to control the result, file, socket, transport:MPEG2-TS, MP4 'moof' position, ...

With windows enviroment DirectShow/MediaFoundation provide fine access and control of the media pipeline.

I wonder, is there any LowLevel NDK API for the MediaRecorder that enable some of the above mentioned functionality?

I would really like to avoid implementing a native C++ MediaRecorder my-self...

Any Help will B appreciated.

~Nadav

Upvotes: 6

Views: 1079

Answers (1)

hunterp
hunterp

Reputation: 15976

Check out Android's openSL es. Look at this example app:

http://codesearch.google.com/#CRBM04-7BoA/ndk/platforms/android-9/samples/native-audio/

Upvotes: 2

Related Questions