Android record audio with custom encoder

1k Views Asked by At

Android have native audio encoders and audio decoders, and you can record and play with this native formats without problems, but you also can implements your own audio codecs. I do not understood very well how to do it, anyone know an implementation of custom encode codecs in android platform? I'm trying do it with opus format for be more specific, but any other codec format implementation can give-me an idea of how I can do it.

1

There are 1 best solutions below

0
On

You can use FFMPEG to endode/decode a lot of audio codecs.
see: https://stackoverflow.com/a/4820282/763394
also you can have a look to gstreamer framework: https://stackoverflow.com/a/5780113/763394