I am trying to develop a Streaming AV Media Server for use with an Android handset as the client. This instantly puts a constraint on me to develop a server that uses RTSP. I am versed in Java programming and have found that Netty (Java NIO) can be used to fill in the otherwise massive gap in the Java Media Framework for this protocol. I have played around with it and have had no real success. I know about live555 but I’m on a tight schedule and don't really want to start messing around with C++ as I know very little on the subject. I have been stuck on this problem for many weeks and have nothing really to show for it. Streaming to android must be possible as there are numerous proprietary apps on the Android market. Could someone who has experience and knowledge on this subject please let me know if there is a simple way to implement an RTSP AV media server that just streams .mp4 or .3gp and .mp3 for use with android without using the live555 libraries. If not I will just have to quickly get up to speed on C++. Thank you in advance.
Android – Developing A Streaming Server For Android
androidrtspstreaming
Related Topic
- Android – How to stop EditText from gaining focus at Activity startup in Android
- Android – “Debug certificate expired” error in Eclipse Android plugins
- Android – unique Android device ID
- Android – ‘Context’ on Android
- The difference between RTP or RTSP in a streaming server
- Java – Proper use cases for Android UserManager.isUserAGoat()
Best Answer
OK, simple as this to stream using HTTP.
I created a virtual folder called 'Music' with IIS on WinXP and pointed it at a folder containing mp3 files. This is the complete Activity needed to stream a file (name hard-coded).
BTW, it's called SimpleNetRadio as I originally started playing around with Shoutcast streams.
You should also be able to do this with MediaPlayer with a bit more code - it would handle error conditions better and wouldn't require much more work.