An experimental compatibility layer between SIP.js and PhoneRTC, enabling SIP calls in Cordova applications.
Usage (adapted from sipjs-cordova):
Shell:
cordova plugin add com.onsip.sipjs
cordova plugin add https://github.com/alongubkin/phonertc
cordova plugin add com.sipjs.phonertc
Javascript:
var SIP = cordova.require('com.onsip.sipjs.sipjs');
var PhoneRTCMediaHandler = cordova.require('com.sipjs.phonertc.mediahandler')(SIP);
var ua = new SIP.UA({
mediaHandlerFactory: PhoneRTCMediaHandler
});