Simple alternative for gstreamer on android - android

For training and fun I want to build an android app, that is able to stream audio from one device to another. It will be a simple baby-phone app.
I've tried using gstreamer, but have some trouble including the binaries and building the eclipse project. However, now I am looking for alternatives. Does any one know a simple one? Or is there even some android api stuff I can use? Please note: the difficult thing is not receive a stream, but provide one...
Thanks a lot in advance!

Related

how to use webRTC on android studio for video live streaming

I passed three weeks searching how to create a video live call for my android app (using android studio), but can't find exactly what I'm looking for, I don't want to use something like quikbox or snitch because it's my final year project and I have to do it programatically, I find that webRTC for android can be used but unfortunately I didn't understand how to use it.
So please can anyone help me with any things.
This is unfortunately something that's still hard. The team is working on it though: see https://bugs.chromium.org/p/webrtc/issues/detail?id=6328 for progress.
There's also https://bugs.chromium.org/p/webrtc/issues/detail?id=6804 that has resulted in this bot archiving .aar builds: https://build.chromium.org/p/client.webrtc.fyi/builders/Android%20Archive which should make it easier to consume the library.

A few questions about webRTC on android

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.

TarsosDSP with Android - no relevant source code

I follow up on this article: TarsosDSP with Android
I am trying to implement an android application that reads mp3 files and processes them using WEKA.
The TarsosDSP seems to be a good step in the right direction, especially since the Berkley guys seems to have implemented a fork with android.
When I tried downloading their source code here: TarsosDSPAndroid Source Code
I still found a lot of references to javax.sound, which is kind of counter-productive.
So is something mixed up with their uploaded source code or am I looking in the wrong place?
Perhaps some background to what I am trying to accomplish overall:
I am writing an Android App that will read the entire mp3 library, and using WEKA and pre-loaded test-groups will classify each song to appropriate genre.
The part of reading the mp3 library is all done and so is the classification using WEKA, now I am stuck in joining them up - What seemed to be working fine using jAudio in a java project doesn't work for android because of the dependency in javax.sound, so I am trying to bypass that using a different library that works for android.
Thanks in advance!
-Alex
Version 2.0 of TarsosDSP supports Android out of the box. There are no more dependencies on javax.sound.*. This makes it a lot more easy to work with on Android. There is even an TarsosDSP Android jar file that can be included in your project directly.

Opengl mono for android

I'm trying to convert an XNA project to Android. I saw a video saying I need to have "opengl mono for android" as an option when creating project, but I don't.
Can anyone tell me how to download this extension?
Use MonoGame.If you don't you will need to rewrite your game including all the rendering logic in either C# using Xamarin.Android or a complete rewrite in Java.
So your best choice would be Monogame:
monogame.net
EDIT
I just found this on an other site it's called exen, but I still think Monogame is a better one because there are many people using it.
link to Exen:
http://andrewrussell.net/exen/

How to Install HTK on Android?

Similar to this question. Since I don't want to pass the voice data to a server, doing this may cost me more time. I wonder if I can use HTK to recognize the voice data locally with the Android application so that I won't need to pass that audio to the server.
Here may be the solution, but can anyone give me a more detialed tutorial on how to build HTK with android ndk? Thank you!
Maybe pocketsphinx is more suitable for you, see this tutorial: http://cmusphinx.sourceforge.net/wiki/tutorialandroid . And to build the JNI API from pocketsphinx yourself, see Building PocketSphinxAndroidDemo (from CMUSphinx project) for more details.

Categories

Resources