HTTP Live Streaming with Encryption on Android 2.x - android

I'm trying to implement HTTP Live Streaming in my first Android app. On top of that, I need to support encryption as well.
I see that some of this functionality (not sure about the encryption) is supported in Honeycomb. Does anybody know if there are open source (or paid) libraries/frameworks available to support HTTP Live Streaming with encryption in 2.1/2.2 ?
Thanks,
Tony

Related

Advice on streaming application for Android via WebRTC

I have to build an application for android to stream video and audio to a desktop application through a server. Latency is important. I also have to make sure that android streaming can be controlled from pc (user should be able to switch the camera or turn off the microphone).
I thought to use the WebRTC protocol for communication but it seems I'm gonna have to write signalling server myself to support that requirement mentioned above.
Is there a better way to implement this whole thing? Also, I can't find any good docs or libraries for android streaming (no retrofit analogies obviously).
P.S. I'm thinking about using Javafx via Tornadofx for a desktop application.
You certainly don't need to create your own signaling server. I would suggest using something like Kurento Streaming Server or a derivation of Kurento like OpenVidu. It's open source and free and has lot's of great and active support via google groups. Depending on how much specific customization you may need one or the other might be better for you. OpenVidu allows for less customization since most of the stuff under the hood is already done for you, whereas Kurento allows you to modify and customize almost everything under the hood and on the front end using examples that can be changed at the code level. I have used it extensive on projects on the past and would think it meets most, if not all of your requirements. Scaling can be a bit challenging, but is still mush easier than just P2P webRTC since everything is relayed through a central server and most certainly doable depending on your requirements and implementation. Additionally you can record, process and transcode video server side.

HTTP Live Streaming with Android 2.x

Since Android (officially) support HLS starting with 3.0 I've looked at different ways to include hls in my app.
use a lib like the nexstreaming (pretty expensive)
use a HTML 5 player (hls not working on some 2.3 devices)
utilize plugin players like vitamio
My Problem is, that possibility number 3 works best, but my client doesn't want the users to see that a plugin is used.
Is there a way to include another apk / install it without prompting the user?
Or maybe someone has a completly different idea on playing hls on 2.x .
Vitamio is free(means charge) for personal/commercial use so far...
Contact vov.io and buy a commercial license for vitamio. Then you could bundle it in your apk. It's still going to be way cheaper than nextreaming.

Which version of Android supports File Input Streaming?

I need to know if android version 2.1 , 2.2 or 2.3 support online radio streaming, if not could you please tell me which one supports?
As far as I know, streaming audio is possible with all mentioned versions. One of the simpler examples I've seen can be found here http://blog.pocketjourney.com/2009/12/27/android-streaming-mediaplayer-tutorial-updated-to-v1-5-cupcake/
This example shows the usage of android.media.MediaPlayer with a HTTP protocol URL.

HTTP Live Streaming on Android 2.x, is NDK the only way to go

I am working on an app that needs to render video streaming using the HTTP Live Streaming protocol. From what I read it is only supported on Android 3.0(Does 2.3 support it too?). My question is for 2.1 and 2.2 phones, are there any other ways than developing a library using NDK? Has anyone used the Nexstream SDK? Please pointing out some directions, be NDK or available 3rd party SDK.
Thanks
Ray
To answer my own question, there 3rd party libraries. Akamai's library is fairly good.

RTSP Media Server Solutions

After carrying out a lot of research I have come to the conclusion that Java and the Java Media Framework (JMF) is not suitable for developing a streaming server that supports the RTSP protocol on the server side for streaming video and audio. I have read very good things about Live555 media server and the testOnDemandRTSPServer source code for a basis of design. My only worry is that this is written in C++ and I am a predominantly Java programmer. This server is a large portion of my final year project at university so my degree kind of hangs on its successful implementation and I am running out of time. If any one has any experience with implementing a RTSP server that can stream to an android handset or belive they can point me in the right direction to learn how to do it, please let me know. Thanks in advance.
My project also has the RTSP server module to be run on Android phone. I think we can build rtsp library as name.so file and can interface with java by using JNI.
This also works for Android!
http://net7mma.codeplex.com/
You can see the article on CodeProject # http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp
The live555 RTSP server is a fully fledged RTSP server that implements most payloads (H.263, H.264, MPEG2, PCM, AMR, AAC, etc. You can read up on the website whether it already supports the media types you want to stream. It also features an RTSP client. With respect to streaming to an android handset: that is the whole point of RTSP: it doesn't matter what type of client you're streaming to, and as for the server side development, there isn't really much dev to do, unless you need to implement an unsupported media type. The code can be quite complex if you're not well versed in c++, but it sounds like your goal is more related to setting up streaming to android as opposed to implementing the RTSP server and client? So check if live555 supports your media types and if it does, I wouldn't bother writing one in JAVA, that can be quite involved. If you do choose to go that route, your best friend is of course the RFC (http://tools.ietf.org/html/rfc2326).
As for the client, I'm not sure if android already has an RTSP library/client. The one other thing you have to consider is which media types are supported by android.

Categories

Resources