Skip to content

Commit 14d65f9

Browse files
committed
fix record 3gp
1 parent ce6b06b commit 14d65f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/chatinput/src/main/java/cn/jiguang/imui/chatinput/record/RecordHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void startRecording() {
5757
recorder = new MediaRecorder();
5858
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
5959
recorder.setMaxDuration(MAX_INTERVAL_TIME * 1000);
60-
recorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
60+
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
6161
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
6262
// recorder.setAudioEncodingBitRate();
6363
// recorder.setAudioSamplingRate();

0 commit comments

Comments
 (0)