{"id":13428756,"url":"https://github.com/aykuttasil/CallRecorder","last_synced_at":"2025-03-16T01:33:31.433Z","repository":{"id":48183587,"uuid":"71367962","full_name":"aykuttasil/CallRecorder","owner":"aykuttasil","description":"Android Phone Call Recorder","archived":false,"fork":false,"pushed_at":"2023-10-18T09:49:01.000Z","size":238,"stargazers_count":760,"open_issues_count":39,"forks_count":238,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-10-27T06:38:58.034Z","etag":null,"topics":["android","call","call-recording","callrecorder","record"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aykuttasil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-10-19T14:50:58.000Z","updated_at":"2024-10-20T13:41:21.000Z","dependencies_parsed_at":"2023-10-20T18:01:11.727Z","dependency_job_id":"22e0aeda-b6f6-4151-be81-586190723f43","html_url":"https://github.com/aykuttasil/CallRecorder","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykuttasil%2FCallRecorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykuttasil%2FCallRecorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykuttasil%2FCallRecorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykuttasil%2FCallRecorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aykuttasil","download_url":"https://codeload.github.com/aykuttasil/CallRecorder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814905,"owners_count":20352037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","call","call-recording","callrecorder","record"],"created_at":"2024-07-31T01:01:04.357Z","updated_at":"2025-03-16T01:33:31.120Z","avatar_url":"https://github.com/aykuttasil.png","language":"Kotlin","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"\u003ch1 align=center\u003e\n\u003cimg src=\"logo/1024.svg\" width=100%\u003e\n\u003c/h1\u003e\n\n# Android Call Recorder\n\n[![](https://jitpack.io/v/aykuttasil/CallRecorder.svg)](https://jitpack.io/#aykuttasil/CallRecorder)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Call%20Recorder-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4544)\n\nAndroid incoming and outgoing call recorder at any time.\n\n# How to Use\n\n```java\ncallRecord = new CallRecord.Builder(this)\n       .setLogEnable(true)\n       .setRecordFileName(\"RecordFileName\")\n       .setRecordDirName(\"RecordDirName\")\n       .setRecordDirPath(Environment.getExternalStorageDirectory().getPath()) // optional \u0026 default value\n       .setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB) // optional \u0026 default value\n       .setOutputFormat(MediaRecorder.OutputFormat.AMR_NB) // optional \u0026 default value\n       .setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION) // optional \u0026 default value\n       .setShowSeed(true) // optional \u0026 default value -\u003eEx: RecordFileName_incoming.amr || RecordFileName_outgoing.amr\n       .build();\n\n\ncallRecord.startCallReceiver();\n```\n\nOR\n\n```java\ncallRecord = CallRecord.init(this);\n```\n\n\n**Stop CallRecord**\n\n```java\ncallRecord.stopCallReceiver();\n```\n\n\n---\n\nIf you wish run in Service;\n\n```java\ncallRecord = new CallRecord.Builder(this)\n   .setRecordFileName(\"RecordFileName\")\n   .setRecordDirName(\"RecordDirName\")\n   .setRecordDirPath(Environment.getExternalStorageDirectory().getPath()) // optional \u0026 default value\n   .setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB) // optional \u0026 default value\n   .setOutputFormat(MediaRecorder.OutputFormat.AMR_NB) // optional \u0026 default value\n   .setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION) // optional \u0026 default value\n   .setShowSeed(true) // optional \u0026 default value -\u003eEx: RecordFileName_incoming.amr || RecordFileName_outgoing.amr\n   .buildService();\n\n\ncallRecord.startCallRecordService();\n```\n\n\n# Optimize\n\nIf you wish stop save CallRecord file;\n\n```java\ncallRecord.disableSaveFile();\n```\n\nand\n\n```java\ncallRecord.enableSaveFile();\n```\n\n\n\nIf you wish change save file name after initialize CallRecorder,\n\n```java\ncallRecord.changeRecordFileName(\"NewFileName\");\n```\nor\n```java\ncallRecord.changeRecordDirName(\"NewDirName\");\n```\nor\n```java\ncallRecord.changeRecordDirPath(\"NewDirPath\");\n```\n\n\n---\n\n**Custom CallRecordReceiver**\n\n```java\ncallRecord.changeReceiver(new MyCallRecordReceiver(callRecord));\n```\n\n\n# Installation\n\nGradle\n\nAdd it as a dependency in your app's build.gradle file\n\n```groovy\nallprojects {\n  repositories {\n    maven { url 'https://jitpack.io' }\t\n  }\n}\n```\n\n```groovy\ncompile 'com.github.aykuttasil:CallRecorder:$lastVersion'\n```\n\n# Sample\nYou can see sample project in app folder.\n\n\n# Thank You\n- [Luong Vo](https://github.com/luongvo)\n- [Mirza Zulfan](https://github.com/mirzazulfan)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykuttasil%2FCallRecorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faykuttasil%2FCallRecorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykuttasil%2FCallRecorder/lists"}