Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

josephfrazier/PhoneRTCMediaHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoneRTCMediaHandler

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
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published