An open API service indexing awesome lists of open source software.

https://github.com/ratson/cordova-webrtc


https://github.com/ratson/cordova-webrtc

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# cordova-webrtc

## Installation

```sh
cordova plugin add cordova-webrtc --save
```

update `config.xml` with the following content,

```xml








```

## Status

This is an expiremental Cordova plugin for using WebRTC.

Android has good support for using WebRTC in webview, by setting the neccessary permissions through this plugin, it works flawlessly.

Recent 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.

Some 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.