{"id":20732447,"url":"https://github.com/jpush/jmrtc-phonegap-plugin","last_synced_at":"2025-10-08T18:23:19.174Z","repository":{"id":149541691,"uuid":"152174667","full_name":"jpush/jmrtc-phonegap-plugin","owner":"jpush","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-16T08:01:49.000Z","size":34477,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-18T00:33:24.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/jpush.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":"2018-10-09T02:22:00.000Z","updated_at":"2019-03-28T07:36:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c87f610-4224-4bd2-b52c-86fc151ee2df","html_url":"https://github.com/jpush/jmrtc-phonegap-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmrtc-phonegap-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmrtc-phonegap-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmrtc-phonegap-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpush%2Fjmrtc-phonegap-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpush","download_url":"https://codeload.github.com/jpush/jmrtc-phonegap-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243014065,"owners_count":20221841,"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":[],"created_at":"2024-11-17T05:19:31.803Z","updated_at":"2025-10-08T18:23:19.096Z","avatar_url":"https://github.com/jpush.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 安装\n\n```shell\ncordova plugin add jmrtc-phonegap-plugin // 暂时只支持 iOS\n```\n\n## 配置\n\n### iOS 手动配置部分\n\n\u003e **注意**：需要先确保自己工程中 `Info.plist` 包含 Microphone  权限。\n\n- 设置后台模式，之后需要点开后台音频功能：在 TARGETS -\u003e Capabilities -\u003e Background Modes 里选择 Audio, AirPlay, and Picture in Picture。\n\n\n- 选择主工程 target -\u003e Build Settings -\u003e Enable Bitcode 设置为 No。\n\n## Usage\n\n```javascript\n// 建议在 init 方法之前调用 add***Listener 方法，对事件进行监听（例如：监听语言通话请求）\nwindow.JMRTC.init();\nwindow.JMRTC.initEngine(function () {\n\tsetStatus(\"SDK初始化成功\");\n\t},\n\tfunction () {\n\tsetStatus(\"SDK初始化失败\");\n});\n// 成功 initEngine 后可以调用 startCallUsers api 发起语言通话请求\n```\n\n\n\n## APIs\n\n[API](docs/apis.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjmrtc-phonegap-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpush%2Fjmrtc-phonegap-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpush%2Fjmrtc-phonegap-plugin/lists"}