Plugin to run JsSIP in Cordova.
- Cordova PhoneRTC plugin must be installed into your Cordova project.
This is a copy of the original an attempt to add further functionality, for instance adding the Session.
- Using NPM:
$ npm install jssip-cordova
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.
Limit the time waiting for new local candidates (ICE gathering) once a relay candidate has been retrieved.
Params:
- timeout: Milliseconds.
- Current version (0.1.X) just supports outgoing sessions.
- Added API
JsSIPCordovaRTCEngine.iceRelayCandidateTimeout = timeout
.
- Just outgoing sessions.
Iñaki Baz Castillo.
MIT.