Latest WebRTC Client for Android - android

http://simonguest.com/2013/08/06/building-a-webrtc-client-for-android/
Link above to build webrtc client for Android is outdated. Does anyone have instructions for compiling latest WebRTC code to build libjingle_peerconnection.jar for Android?

The Webrtc guys changed the checkout method for the code.
The change was done very recently so i guess most places with instructions will be outdated (at least as of today)
you can see the changes here.
IMHO, your best bet is to follow instructions on Webrtc getting started page
and if you are having trouble ask here or on the discuss-webrtc group
best of luck...

Related

How to build a simple Native WebRTC Android application that can do basic video call?

Recently I've been struggling a lot with WebRTC, I was able to build a very simple WebRTC web application based on the WebRTC codelab which consists of a simple signaling server (basically step 8 in the codelab tutorial).
My next target is to build a native Android application that does the same thing which is to be able to make video call with the web application using the same simple signaling server. I am very new to WebRTC and I could not find any good tutorial or guide that allows me to build a simple native Android application.
I've searched for similar questions on Stackoverflow but most of them are outdated and do not provide useful answers that I need.
I'm hoping the Stackoverflow community who knows any good source or tutorial on how to build a simple and basic native WebRTC Android application can share with me their knowledge and information. Thank you so much.
I suggest you build the AppRTCMobile target in WebRTC (see https://webrtc.org/native-code/android for details on how to build etc) then deploy your own instance of AppRTC (https://github.com/webrtc/apprtc) if you wan to have full control over the signaling. Otherwise you can just use the one publicly available at https://appr.tc.

using webrtc for hybrid app

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.

Want to create a plugin in Cocos2d for my SDK

I have created an SDK, currently its for both Android and iOS.
But now i also have to give the support in cocos2d platform.
Does any one how to achieve this?
I already have working this SDKs working in native.
But i am going through the some blogs but cant find any easy tutorial of a documentation or blog to do that.
One thing i know that it requires the knowledge of NDK and JNI, which i have very less knowledge of it.
So can please anyone guide me or give me some link or tutorial about how to create an extension in cocos2d for my SDK.
Thanks.
First of all, I very much agree that finding some thing w.r.t. cocos2d is pretty tough! :)
Having said that, here are some pointers/information on how you can take this forward.
Android Native Development Kit (NDK)
Android apps are typically written in Java, with its elegant object-oriented design. However, at times, you need to overcome the limitations of Java, such as memory management and performance, by programming directly into Android native interface. Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java.
An amazing and yet simple article with code examples can be found on Android NDK
Best place to start off with NDK JNI(considering you know what they are basically)-
Sample: hello-jni is the best place to start off with code at Github
Advanced Android: Getting Started with the NDK
It's better to start off by kicking off with some basic learning of Cocos2D-X-
Cocos2D-X Tutorial for iOS and Android: Getting Started
The Completest Cocos2d-x Tutorial & Guide List - Stackoverflow link
Some perfect references for plugin development-
How to use plugin-x in android
Plugin-x Architecture
How to write your own plugin for android
PluginX IOS IAP Integration
Third Party SDK Integration
Earlier there was a way to Integrate 3rd party SDK into Plugin X, but, recently I see they have moved away from this approach and are using SDKBOX which is supposed to simplify the same.
Here is the best and probably only good reference that we can get for now from the cocos2d official programmersguide.
"SDKBOX is more like a upgraded version of plugin-x, so in short it's just a plugin it's not something runs on a cloud. the reason it starts is because we want to provide a better plugin integration solution for cocos2d-x, but the fact is plugin-x always gets the low priority compare to other shinning new 3D features, so we decide to change that." - Cocos2d-x developer said.
But, SDKBOX is where they develop plugins for you. I think its something like npm for nodejs.
Anyway, Some reference web links that will help you even more-
How to setup Cocos2d-x (Windows and Android)
cocos2d-x (iphone-android)/IDE installation and setup under mac os
How to set up the Android Cocos2d-x development environment on Windows 7
External Tutorials - Contains a bunch of helpful articles & tutorials.
**Helpful Examples ** to learn SDK development or support from-
Integration with Flurry Analytics SDK
We use Google Analytics with cocos2d-x extension
Countly SDK for Cocos2d-x apps
Cocos2d-x Extensions - Github repo
cocos2d-x-extensions - Another Github repo
List of Open Source Cocos2d Projects, Extensions and Code Snippets - Old but helpful
**Articles on SDKBOX ** which may help you if you looking for officially hosting your SDK-
Cocos2d-x Solves SDK Fatigue with New SDKBOX Initiative
The Best Way to Integrate SDKs into your Mobile Game
Hope it helps! :)
Happy Coding!

Audio recording with SmartFace.io (Android - Ios)

I'm developing a mobile APP to record audio, save to file and then send to a server. I'm currently using SmartFace.io, cross platform application to create both Android and iOS mobile apps. Been researching but can't find the audio capabilities of such platform, the online API documentation doesn't include specifics and the media items have no detailed info.
I'm not a beginner, SmartFace looks good but can't find any info regarding what I need to do. I'm not so sure if a lot of people is using it.
What I've done:
- Tried using PhoneGap but couldn't make it work, a coworker with more experience on Phonegap struggled until one project worked, we discovered some libraries and versions collide
- Tried samples posted here but as some other users reported, didn't work
- Also tried the now dead Mosync but the C code provided on the now dead forum doesn't work (says platform not supported).
- I know Appcelerator have working samples but it's my last choice
- Found working projects for Android Studio but we are still trying to avoid specific work for each platform-app-IDE-framework
Thanks in advance
Smartface App Studio offers lots of ready to use components and libraries in it.
However, for current version it is not available to record an audio samples.
For more details about the features and roadmap please check the links below;
http://www.smartface.io/developer/guides/
http://docs.smartface.io/
http://www.smartface.io/roadmap/

Making calls via internet in android

What are the available API or existing technologies on android that can help one make call using the internet, more like VOIP. I checked out documentation online including this
. Kinda confused where to start. Can anyone help with a better guideline ? Thanks.
PJSIP is one of the better media libraries available on Android. you may want to google the pro and cons of this vs the native android SIP Api and based on your project pick one over the other.
There are a few others, but PJSIP is one comprehensive solution.
There are plenty of support for VOIP on android. You can try the following options
For Android 2.3 or higher you can use inbuilt SIP stack Documentation here
PJSIP (example implementation Project for Android is CSIPsimple)
MJSIP (example implementation Project for Android is Sip Droid)
Doubango (example implementation Project for Android is IMSDroid)
Linphone
I have used almost all of the above and they all are good and do the intended.
There are plenty of Paid SDK in market too which promise to do the job for you.

Categories

Resources