I have android WebRTC Android demo app code running with https://apprtc.appspot.com/ server.
But what i want to archive is, I want to replace the server https://apprtc.appspot.com/ with my own server, i want to also modify/remove the part of the code where it communicants with the server as my server communicates differently.
I want to keep the WebRTC related API calls as it is, and only replace the part of the source code which is communicating with the https://apprtc.appspot.com/ server.
So basically i want to know, what are the WebRTC APIs that i must call for allowing AV calls using my server, I have STUN/TURN and registration servers.
I just want to reuse the core WebRTC functionality only and write app on top of it.
Can someone please guide me on this!
Thanks in advance.
you can achive android webrtc app by two ways.. both are working perfectly..
1.
Follow this example, i have tried it and work success fully.
Only need to make one change is the link provided in this example for gclient config command is older one. Follow your link gclient config http://webrtc.googlecode.com/svn/trunk
Also make sure that you have oracle jdk-6, other version creates issues while following the steps to get the native code.
2 .
You can use Frozen mountain library, which provides you variety of apis for developing webrtc app..
Hope this will help you..
check here
I have also created 1 demo project where I set my turn and stun server. There is a site http://sipml5.org which provide good detailing example.
You can download their code and set your own configuration or you can take reference in your application. Created demo project link is http://telzy.webuildapps.co, reference taken from http://sipml5.org/call.htm .
Hope this will help you.
Related
In my android app, I'm using 3rd party libraries like fresco and okhttp3. I want to trace the response of every request made through these libraries. And i want to do it globally
I'm using react-native also in my app, and i wants to trace the response of each api call made from react-native code like firebase performance monitoring tool.
Any idea how firebase is doing this?
In okhttp3 i can add interceptor to track these, but request made through fresco and react-native I'm not able to track like this
#JM India
Please check Android Snooper library. If I understand you problem correctly this is what you are looking for.
Hope this helps you.
You can use Charles . This tool is powerful to trace all request and response. It works for all platform.
In development, you can use Stetho to trace any calls via a Network Intereceptor.
There will be different ways to get the active OkHttp instance for different frameworks e.g. ReactNative.
https://blogs.msdn.microsoft.com/jpsanders/2013/04/03/configuring-fiddler-to-be-a-proxy-for-android-emulators-in-eclipse/
here's how I used to do it. All you have to do is set up a proxy using fiddler and configure your emulator to use it
I want to make free calling application through net to mobile or land line call using VoIP. I have not much knowledge of VoIP. I get inspiration from using some application like line,Skype,etc. how can I achieve domestic and international call using VoIP in android application. I search lot about but I cannot get direct and easy to understand resource to get this task. so if any one have any idea or resource then most well come to achieve this task of my application.
You can use WebRTC,and here are compiling steps Getting Started, there is an working example project, WebRTCDemo for Android, where you can check how it's working. I used it in the real program, not just googled and answered, and it works perfectly well, also has STUN, TURN support.
You may use the Android SIP API to implement VoIP : http://developer.android.com/guide/topics/connectivity/sip.html
Here is a great tutorial : http://www.basic4ppc.com/android/forum/threads/android-sip-voip-tutorial.13088/
If you want to use 3rd party libraries,this one is good : http://www.sipdroid.org/
You can look at CSipSimple source code
I am very new to android environment and have to set up client side using the (wmqtt.jar) sample application given on http://www-01.ibm.com/support/docview.wss?
I know only about hello world program.
Kindly tell how can I integrate it in my simple android application, step by step.
Thanks and Regards.
There is a good example and run through at http://dalelane.co.uk/blog/?p=1599
I'd also point out that you might be better off with the recently released open source Java client. You can find it at http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git/ - you should find the licence is much friendlier than for wmqtt.jar.
As Roger says, the best / latest Java client code is that available from the Eclipse Paho project - http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git/
The IA92 code and wmqtt.jar has a difficult license and does not support some of the latest features like authentication.
In addition, you will find a lot of useful links and information on the mqtt.org wiki http://mqtt.org/wiki/doku.php/mqtt_on_the_android_platform
Very good sample code available at http://mosquitto.org/files/examples/android-mqtt-example.zip. Once you understand how it works, you would be able to move to writing your own code.
I want to modify say MediaRecorder class for example. And I want to show at full source code of it.
Where can I get source code of standard classes?
See http://source.android.com/
Here [at the link above] you can find the information and source code you need to build an Android-compatible device.
Android is an open-source software stack for mobile devices, and a corresponding open-source project led by Google. We created Android in response to our own experiences launching mobile apps. We wanted to make sure that there was no central point of failure, so that no industry player can restrict or control the innovations of any other. That's why we created Android, and made its source code open.
Easy looking at code without downloading full Android source code
I want to develop a app which uses 3G for video calling where secondary camera will be use for video call.
Is that possible to make video call? If it is possible please give me some reference or tutorial.
you should look for SIP protocol stack in android. There are various open source projects out there. look for SipDroid, IMSDroid is also a good example. And Sip Api is also available in Android after API level 9.
Another one worth looking at is the CSipSimple project. It is using pjsua as SIP library. The video call is developed in a branch of the project.
I have not tested it yet but it seems to work according to an issue. The issue starts getting interesting from comment 27 onwards since after that video calls seem to be working.
Check it out and look into it. It will probably take some time to find your way around the code at first.