My app records an audio clip and send the clip to the server using Retrofit2 after the recording is completed.The file is received in server,but the file is broken,what I me
Your setAudioEncodingBitRate is very low.
setAudioEncodingBitRate
it should be 16000 for 16hz and not just 16
try it with 16000 or 32000 in setAudioEncodingBitRate value
comment here if it works or not, i'll try to help you out more