{"id":22308794,"url":"https://github.com/ratson/cordova-webrtc","last_synced_at":"2025-07-29T06:31:01.196Z","repository":{"id":57209334,"uuid":"389140277","full_name":"ratson/cordova-webrtc","owner":"ratson","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-26T06:19:00.000Z","size":50,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T19:01:02.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ratson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-24T16:01:14.000Z","updated_at":"2022-08-15T10:57:49.000Z","dependencies_parsed_at":"2022-09-18T01:46:31.523Z","dependency_job_id":null,"html_url":"https://github.com/ratson/cordova-webrtc","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/ratson/cordova-webrtc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fcordova-webrtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fcordova-webrtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fcordova-webrtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fcordova-webrtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ratson","download_url":"https://codeload.github.com/ratson/cordova-webrtc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fcordova-webrtc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267639569,"owners_count":24119780,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-03T20:15:21.165Z","updated_at":"2025-07-29T06:31:00.804Z","avatar_url":"https://github.com/ratson.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-webrtc\n\n## Installation\n\n```sh\ncordova plugin add cordova-webrtc --save\n```\n\nupdate `config.xml` with the following content,\n\n```xml\n\u003cwidget\u003e\n    \u003cpreference name=\"scheme\" value=\"https\" /\u003e\n    \u003cpreference name=\"hostname\" value=\"localhost\" /\u003e\n    \u003callow-navigation href=\"https://localhost/*\"/\u003e\n    \u003cplatform name=\"ios\"\u003e\n        \u003cpreference name=\"AllowInlineMediaPlayback\" value=\"true\" /\u003e\n        \u003cpreference name=\"deployment-target\" value=\"14.3\" /\u003e\n        \u003cpreference name=\"SwiftVersion\" value=\"5.3\" /\u003e\n    \u003c/platform\u003e\n\u003c/widget\u003e\n```\n\n## Status\n\nThis is an expiremental Cordova plugin for using WebRTC.\n\nAndroid has good support for using WebRTC in webview, by setting the neccessary permissions through this plugin, it works flawlessly.\n\nRecent iOS webview provides some support for WebRTC, but the integration is not good, especially when use with media playback or in background. This plugin provides an `agent` API to workaround it. The idea is to establish a peer connection between native code and webview for `getUserMedia()`, then forward the stream to other peer connections.\n\nSome example usage could be found in [cordova-webrtc-samples](https://github.com/ratson/cordova-webrtc-samples) or [cordova-webrtc-lab](https://github.com/ratson/cordova-webrtc-lab). Feel free to opne new issues if there is any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratson%2Fcordova-webrtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratson%2Fcordova-webrtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratson%2Fcordova-webrtc/lists"}