using webrtc for hybrid app - android

We are working on an app Which requires Video Chat functionality. Is it possible to use hybrid and webrtc or any other lib to support IOS and Android?.
I have seen a few post with similar queries but those are year an old so any new Update on it.

I use the Cordova plugin iosrtc : https://github.com/eface2face/cordova-plugin-iosrtc
If that can help you, I create a sample application that creates a webrtc call on iOS : https://github.com/apizee/ApiRTC-mobile
I will finish the android version soon.

I used Skylink which is cross platform (iOS, Android and web), works well for me.
EDIT: As of 2020 I would explore more options.

Related

Can we convert existing android project to ios using cordova or phonegap?

I need help with some information which I couldn't find anywhere online. is it possible to convert my existing android app to ios using PhoneGap/Cordova? if it is yes, could u guys send me any link to do it. if its no, can I know why? please...
No, you can not convert it. Code base and frameworks are to different. For making cross platform app you can use Flutter, Xamarin or others...
Only if your android app is already a web application. Cordova and phonegap are a set of libraries for extending mobile web applications with native functionalities.
Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies - HTML5, CSS3, and JavaScript for cross-platform development. If your current Android application is a Native application; you cant convert application to iOS.
For more details : https://cordova.apache.org/docs/en/latest/guide/overview/

Video chat IOS/Android Webrtc. GoogleWebRTC exampes

I have android video chat app using android pristine libjingle from 2015.
Now I need to create the same app for IOS. I consider to use the newest pod 'GoogleWebRTC'. The question is - will there be problems to communicate between android/IOS users because of older Webrtc version in android app?
I also cannot find any good GoogleWebRTC example. There is more examples and information about how to use the oldest pristine libjingle both in IOS and android.
Signaling does not work as i hoped.
update 31/08/2018
Failed to set remote video description send parameters
you can use the source code in github:https://github.com/webrtc/samples
and http://psrd.it

Custom WebRTC SDK for Android

I am trying to develop my own sdk webrtc for android based on WebRTC.
I have my own signalling server and STUN/TURN server.
I need pointers on how to start to develop the sdk which the third party developers will use to develop their apps using my sdk.
Currently, I am exploring the WebRTC sdk and the demo app for android.
Mine specific questions are:
How would I provide the SO(libjingle_peerconnectcion_so.so) and JAR(my own java implementation for signalling and STUN/TURN and other app specific things) files together as one JAR file?
Is there any other alternative for the above said scenario?
Any help/resources are welcome.
Regards
Maybe you could check these projects whose aim is to provide a cordova plugin for WebRTC (both for iOS and Android):
https://github.com/alongubkin/phonertc
https://github.com/remotium/cordova-plugin-webrtc

Is screen sharing possible in cordova?

I am using opentok for video chat and screen sharing. It works perfectly for me on a browser. However my application also run natively using cordova.
There is a cordova-plugin for opentok which supports video calls but not screen sharing.
I want screen sharing to be implemented in my cordova app.
Is it possible? Is it possible using opentok? If not, is it possible using any other alternative?
Thanks in advance for your help!
To my research it isn't possible yet with existing plugins to enable screen sharing in a Cordova app.
It is possible to do screen sharing with WebRTC. For example TokBox does have screen sharing implemented in their native SDKs, see:
Android SDK
IOS SDK
So somebody needs to implement these features into the OpenTok Cordova plugin which is public available to maintain and adjust.
Cordova does not support WebRTC yet.
There are some plugins which provide WebRTC support as phoneRTC.
I think this plugin can help you.
However, instead of Cordova, you can use Crosswalk which support natively WebRTC.
Hope that help.

How to have datepicker in PhoneGap application for all android devices

I have built a PhoneGap application using the PhoneGap build engine (http://build.phonegap.com).
My problem is, on some devices, the date-picker is automatically available. But on some devices, it doesn't work. I read that every android using device may use a different javascript engine and PhoneGap is using on Android an engine which doesn't support the date-picker.
My questions are
Can I force my application on PhoneGap to use Chrome engine?
if not, which plugin would you recommend and how I can implement a plugin on PhoneGap build
Any other suggestion
thanks.
I have tried using the native widget DatePicker in my PhoneGap application and I gave up, different versions of Android behaves differently. Late versions of Android running the Chrome engine works OK (as you say), but older does not.
If you want true cross-platform across all versions you should probably take a look at the 3rd party PhoneGap plugins:
https://build.phonegap.com/plugins

Categories

Resources