Audio format for iOS and Android

前端 未结 7 1449
故里飘歌
故里飘歌 2020-11-30 21:45

Sorry if I am asking too generic question.

We are in the process of developing an application which records and plays audio on mobile devices. This application is be

7条回答
  •  一整个雨季
    2020-11-30 22:18

    Try this, i was having the same issue it's work perfectly.

    mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
    mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
    mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
    

提交回复
热议问题