ViktorDegtyarev / CallRecLib

Call Recorder fix for Android 7 and Android 6
Apache License 2.0
102 stars 60 forks source link

MediaRecorder support #4

Open EvgeniyShilov opened 6 years ago

EvgeniyShilov commented 6 years ago

Hello, Victor. So, my question is: is there a way to use MediaRecorder API or I need to use AudioRecord? I want to record user calls, but I need to encode records to AAC format and then write it to file. Can I do it without using MediaCodec API? Thanks.

nick-petrovsky commented 6 years ago

Not related to CallRecLib, but I personally can suggest you download and build fdk-aac by yourself. You will reduce dependency to android version (in case MediaCodec, AAC peresented in Android >= 6.0, AFAIK).