You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating such a great library.
While using it, I encountered an issue and would like to request a modification.
Currently, it seems the following settings are being used: mMediaRecorder?.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mMediaRecorder?.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
However, when using the AMR_NB codec, audio cannot be played in Chrome and Edge browsers (although the video displays correctly).
By changing these settings to:
mMediaRecorder?.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mMediaRecorder?.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
I was able to achieve proper recording and audio playback on Android 13 and 14 devices.
I hope this can be included in the next update.
The text was updated successfully, but these errors were encountered:
First of all, thank you for creating such a great library.
While using it, I encountered an issue and would like to request a modification.
Currently, it seems the following settings are being used:
mMediaRecorder?.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); mMediaRecorder?.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
However, when using the AMR_NB codec, audio cannot be played in Chrome and Edge browsers (although the video displays correctly).
By changing these settings to:
mMediaRecorder?.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mMediaRecorder?.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
I was able to achieve proper recording and audio playback on Android 13 and 14 devices.
I hope this can be included in the next update.
The text was updated successfully, but these errors were encountered: