mercredi 30 mai 2018

Call Recording issue in android

Need Suggestion for Call Recording from both end in android
I have tried multiple ways and not getting required output.
I have tried below code for start Recording and Stored in storage, but recording is not started in some devices.

recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(getFilePath());

recorder.prepare();
recorder.start();

Kindly suggest on same.


from Android Forums at AndroidCentral.com - Ask a Question https://ift.tt/2J2KPSd
via IFTTT

Aucun commentaire:

Enregistrer un commentaire