{"id":16535443,"url":"https://github.com/qiuxiang/react-native-recording","last_synced_at":"2025-04-06T18:17:01.837Z","repository":{"id":46938727,"uuid":"99922036","full_name":"qiuxiang/react-native-recording","owner":"qiuxiang","description":"React Native audio recording module used for DSP with Android + iOS","archived":false,"fork":false,"pushed_at":"2023-06-11T02:41:11.000Z","size":452,"stargazers_count":110,"open_issues_count":23,"forks_count":64,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-30T17:11:23.533Z","etag":null,"topics":["audio-recording","react-native","recording"],"latest_commit_sha":null,"homepage":"","language":"Java","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/qiuxiang.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-10T12:45:01.000Z","updated_at":"2025-03-13T06:32:03.000Z","dependencies_parsed_at":"2024-11-17T06:01:32.038Z","dependency_job_id":null,"html_url":"https://github.com/qiuxiang/react-native-recording","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":0.04255319148936165,"last_synced_commit":"9efe4b212f71ba71c1a57d1655a01f2fb6efe7ee"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuxiang%2Freact-native-recording","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuxiang%2Freact-native-recording/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuxiang%2Freact-native-recording/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuxiang%2Freact-native-recording/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiuxiang","download_url":"https://codeload.github.com/qiuxiang/react-native-recording/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526768,"owners_count":20953143,"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":["audio-recording","react-native","recording"],"created_at":"2024-10-11T18:27:30.583Z","updated_at":"2025-04-06T18:17:01.817Z","avatar_url":"https://github.com/qiuxiang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-recording [![npm version][version-badge]][npm]\n\nReact Native audio recording module used for DSP with Android + iOS\n\n\u003cimg src=\"https://user-images.githubusercontent.com/1709072/34551117-9258a0de-f151-11e7-9795-67dda1cbe6f6.png\" width=300 /\u003e\n\n## Install\n\n```\n$ npm i react-native-recording\n```\n\n## Usage\n\n```javascript\nimport { PermissionsAndroid } from \"react-native\";\nimport Recording from \"react-native-recording\";\n\nawait PermissionsAndroid.requestMultiple([\n  PermissionsAndroid.PERMISSIONS.RECORD_AUDIO,\n]);\n\nRecording.init({\n  bufferSize: 4096,\n  sampleRate: 44100,\n  bitsPerChannel: 16,\n  channelsPerFrame: 1,\n});\n\nconst listener = Recording.addRecordingEventListener((data) =\u003e\n  console.log(data)\n);\n\nRecording.start();\n\n// stop recording\nRecording.stop();\nlistener.remove();\n```\n\n## Microphone request for iOS 10 and above\n\nAs of iOS 10.0, you must declare an intention to access a microphone. Add *NSMicrophoneUsageDescription* key and declaration value in *Info.plist*.\n\n```\n\u003cdict\u003e\n    ...\n\t\u003ckey\u003eNSMicrophoneUsageDescription\u003c/key\u003e\n\t\u003cstring\u003eThis app uses the microphone to record the soundscape.\u003c/string\u003e\n    ...\n\u003c/dict\u003e\n```\n\n[npm]: https://www.npmjs.com/package/react-native-recording\n[version-badge]: https://badge.fury.io/js/react-native-recording.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuxiang%2Freact-native-recording","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiuxiang%2Freact-native-recording","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuxiang%2Freact-native-recording/lists"}