0.6.1 • Published 2 years ago

cordova-webrtc v0.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

cordova-webrtc

Installation

cordova plugin add cordova-webrtc --save

update config.xml with the following content,

<widget>
    <preference name="scheme" value="https" />
    <preference name="hostname" value="localhost" />
    <allow-navigation href="https://localhost/*"/>
    <platform name="ios">
        <preference name="AllowInlineMediaPlayback" value="true" />
        <preference name="deployment-target" value="14.3" />
        <preference name="SwiftVersion" value="5.3" />
    </platform>
</widget>

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-lab repo. Feel free to opne new issues if there is any questions.

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago