Java SIP plugin for Cordova or Phonegap for streaming audio and video

I do some research in Phonegap and Cordova, it seems that there is no support for creating applications with SIP and VOIP functions, since HTML5 and Javascript practically do not support these protocols (webRTC and websockets are not yet supported on most mobile phones). However, I found that you can create and use plugins to use your own functionalities of operating systems (iOS and Android in this case).

My question is, if, for example, I write my own JAVA codes for my Android-Phonegap application, can I use it as a plug-in for streaming audio and video in the Android-Phonegap application? What are the limitations of using the plugin (with built-in functionality) in Phonegap or Cordova? Most of the plugin codes that I checked on the Internet had a Result result at the end, does this affect the audio and video stream?

Thanks in advance.

+7
java android cordova sip
source share
3 answers

Video .... I could see the problem ... BUT! HTML5 already has support for this, so OK. If you want to make SIP video calls, see below.

You have the HTML5 SIP clients that were made: http://sipml5.org/

This is open source. I have not used it, but I can’t imagine that the basic part of the code will not be portable on mobile.

Emdedded SIP - I would take a good look at the code used in LinPhone ( http://www.linphone.org/eng/download/git.html ) and CSipSimple ( https://code.google.com/p/csipsimple/ ) for your Java plugin plugins (you will need to create the necessary C libraries and use them as well).

PhoneGap now provides an excellent Audio / Video Capture plugin.

https://github.com/apache/cordova-plugin-media-capture/blob/dev/doc/index.md

What you can do is integrate Stream with some returned data and bindings into the Media Capture plugin.

So, you have two options.

0
source share

Proof of the Cordoba concept using SIP.js with the PhoneRTC plugin to make WebRTC calls over the Internet.

https://github.com/joseph-onsip/sipjs-cordova

+2
source share

Here you have the SIP plugin for Android devices. Hope this helps!

https://github.com/lglossman/SipManagerPlugin

All you need do not hesitate to contact me ...

0
source share

All Articles