Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to run in Service? #24

Open
TikTak123 opened this issue Apr 21, 2018 · 2 comments
Open

How to run in Service? #24

TikTak123 opened this issue Apr 21, 2018 · 2 comments

Comments

@TikTak123
Copy link

TikTak123 commented Apr 21, 2018

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();
@Feroz-Istar
Copy link

Feroz-Istar commented Aug 21, 2019

no it seems they dont have any solutions for service

@govind-mukundan
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@govind-mukundan @Feroz-Istar @TikTak123 and others