Skip to content

bistri/cordova-plugin-bistri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-bistri

Use Bistri WebRTC JS library in your hybrid applications. This plugin is Android / iOS compatible.

Install

$ cordova plugin add https://github.com/bistri/cordova-plugin-bistri.git

Dependencies

To bring WebRTC support to webviews cordova-plugin-bistri use:

iOS Requirements

  • Xcode >= 7.2.1
  • iOS >= 9 (run on lower versions at your own risk, but don't open issues)
  • cordova-ios >= 4.0.0
  • No bitcode (built-in libwebrtc does not contain bitcode so you need to disable it in your Xcode project settings)

Build cordova-plugin-iosrtc plugin

Building instructions can be found here

Usage

    document.addEventListener ( 'onBistriJsApiReady', function ( event )
    {
        // Bistri JS library is ready to use
    } );
    bistriJSApi.ready ( function ()
    {
        bc.init ( {
            appId    : 'xxxxxxxxxxxxx',
            appKey   : 'xxxxxxxxxxxxx',
            debug    : true
        } );

        bc.signaling.bind ( 'onConnected', function ()
        {
            console.log ( 'Connected !' );
        } );

        bc.connect ();
    } );

visit http://developers.bistri.com/webrtc-sdk/js-library-reference for complete JS library reference

About

Cordova plugin for Bistri

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •