CallRecorder
CallRecorder copied to clipboard
How to run in Service?
How to run in Service? There is no such method buildService?
callRecord = new CallRecord.Builder(this)
.setRecordFileName("RecordFileName")
.setRecordDirName("RecordDirName")
.setRecordDirPath(Environment.getExternalStorageDirectory().getPath()) // optional & default value
.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB) // optional & default value
.setOutputFormat(MediaRecorder.OutputFormat.AMR_NB) // optional & default value
.setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION) // optional & default value
.setShowSeed(true) // optional & default value ->Ex: RecordFileName_incoming.amr || RecordFileName_outgoing.amr
.buildService();
no it seems they dont have any solutions for service
no it seems they dont have any solutions for service
https://github.com/aykuttasil/CallRecorder/blob/master/callrecord/src/main/java/com/aykuttasil/callrecord/CallRecord.kt#L231-L232
Isn't this a solution for service?