Skip to content

davies147/jssip-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jssip-cordova

Plugin to run JsSIP in Cordova.

Requirements

  • Cordova PhoneRTC plugin must be installed into your Cordova project.

Installation

  • Using NPM:
$ npm install jssip-cordova

Usage

In Node:

var JsSIP = require('jssip');
var JsSIPCordovaRTCEngine = require('jssip-cordova');

if (window.cordova) {
    JsSIP.rtcEngine = JsSIPCordovaRTCEngine;
}

var ua = new JsSIP.UA(...);
// etc

Also follow the steps in the PhoneRTC documentation.

API

JsSIPCordovaRTCEngine.iceRelayCandidateTimeout = timeout

Limit the time waiting for new local candidates (ICE gathering) once a relay candidate has been retrieved.

Params:

  • timeout: Milliseconds.

Limitations

  • Current version (0.1.X) just supports outgoing sessions.

Changelog

Version 0.1.2 (2014-12-22)

  • Added API JsSIPCordovaRTCEngine.iceRelayCandidateTimeout = timeout.

Version 0.1.0 (2014-11-27)

  • Just outgoing sessions.

Author

Iñaki Baz Castillo.

License

MIT.

About

Plugin to run JsSIP in Cordova

Resources

License

Stars

Watchers

Forks

Packages

No packages published