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.
Related
I have a few questions about webRTC on android. I can say I'm new about android and webRTC but I can also say I made tooo much research about webRTC on android. But still have a few questions. (some of them because of I'm new, and some of them because of I'm okey but not fully)
I'm trying to make an android app which is going to communicate between web browser (first choice is chrome) and android device directly (p2p we can say). So I made too much research and I found webRTC is good for me. Do you advise me something other or is it okey you think? (also I am going to code a plugin for chrome).
Nearly every document says 'android is not directly support webRTC'. So I need something to provide me webRTC on android. What it is? Is it native android that I have to code? Is it native (NDK) library that I have to include my project? Or is it a java lib? Or should I go for cordova/crosswalk or sth like that? I researched all but didn't find something can help me. Yeah there are documents about it but not enough..
Some of documents says, I need chromium. But why and how? They show me lots of linux terminal commands and even there is no a line java or C or C++ code. Even some terminal commands and links that they give is not working.
I read/found/tried these things as a result of my research:
Apache cordova
Crosswalk
http://www.webrtc.org/
https://github.com/webrtc
http://webrtc.github.io/samples/
http://simonguest.com/2013/08/06/bui...t-for-android/
http://orcaman.blogspot.com.tr/2014/...tc-source.html
https://github.com/pchab/ProjectRTC
https://github.com/pchab/AndroidRTC
and something more..
in a nutshell I need help. Please give me your hand. Thank you. (because I'm really very helpless and tried to do my best)
Thank you.
As others have suggested, I recommend checking out g.co/webrtc. As I understand it, your goal is to make Android connect to a web browser using WebRTC. There are two (three) ways you can achieve that.
You can just use Chrome, Opera or Firefox for Android. All these browsers support WebRTC, and it allows you to use the same code for your web app, as for your Android app. With the new Add to homescreen support, as well as support for push notifications from web apps on Android, this could be a very good solution for you.
You can use the Android native WebRTC library, available from WebRTC.org. As mentioned in my article, I recommend using the pristine.io compiled library, available from MavenCentral.
If you can limit your application to Lollipop, you can use WebView, which support WebRTC now iirc. I don't know much about it though.
And the best resource for getting help is discuss-webrtc. It's a lot more active than StackOverflow.
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 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.
I am writing a custom Android application that allows the user to make VOIP calls using SIP. When the user presses a button, a voice call is initiated with another SIP user. That's it. The only other requirements are that it has to work on 2.3+ Android devices and must not be limited to wifi only.
Android already includes a SIP stack (as of 2.3) and I was able to modify the Walkie-Talkie sample project to work exactly how I wanted it to. Unfortunately I was not able to use this app with certain devices (Casio Commando being one of them), and worse, the application only works over wifi (as I mentioned, unacceptable for my project).
I started searching for another SIP stack with an easy to use API and came across CSimpleSip. I compiled it and ran their demo project (SipHome) and it worked perfectly on my unsupported phones (including the Commando) and it also worked over wifi, satisfying my requirements. I was so excited... until I looked at the source code for CSipSimple. I have no idea how to begin extracting out the actual calls to the underlying pjsip API, nor was I able to get the pjsip demo application working after 10+ hours.
Has anyone deconstructed CSipSimple and separated out the SIP parts from their incredibly complicated UI, or does anyone know of a simpler to use SIP library? With the native SIP API I was able to make a 200 line Android activity that made the call perfectly... how can I accomplish this with a third party SIP stack that supports non-wifi?
Thanks for any input, I know quite a few people have gotten stuck at this same stage.
Instead of going for the more complicated CSipSimple, you should maybe attack the most basic apjsua, which runs the same pjsip stack, so it should hopefully fit your requirements too: http://trac.pjsip.org/repos/wiki/Getting-Started/Android.
I totally agree with Balint, apjsua is the app which helps you for a better understanding, however it may be not obvious to start with it when you're not familiar with C (like I was) but it's much more efficient this way.
You can take a look to www.pjsip.org, take just care about the package you'll download because the tutorial isn't so clear: for instance they talk you a lot about apjsua (the android implementation of pjsua) and this app is not included in the download link they provide, you can see my question here about that:
where's apjsua?
And of course you'll have to watch the tutorial for android in the pjsip website.
Hope this helps.
Use csipsimple as a library project.There is a api in csipsimple project for using it as library.You can bind to csipsimple service and make calls.
Register broadcastrecievers and intent filters for get call back from csipsimple. Analyse Incall activity in csipsimple for more details.
I'm looking for a way to use an equalizer within my app which does not rely on the
android.media.audiofx package especially android.media.audiofx. Equalizer class because these are only available for api level > 9.
Does anybody know about native libraries which work well under android? I've found mpg123 but it seems that this library is very slow. Or is there even another way to implement an equalizer without native librarys?
I did quite a bit of research on this and found that you would have to likely rewrite the entire AudioTrack library in order to accomplish this.
It would require heavy DSP which would be best accomplished using the NDK, if you really want to do it.
Otherwise, I would just write a wrapper that tells the application which API level you're in, and disable those features.
Here is the abstract I wrote on this problem:
http://isthisonthetest.com/?q=node/12
Hope this helps!
EDIT:
This link has been getting a few hits (and the link was broken), so I redirected it to a blog post I just made with the original text. The URL above should work now.