RTSP streaming of video files to 3gp
One of my friend wants to build a mobile site. He also has a couple of video files that should be streamed on to visitors mobile when chosen. I want to know if there exists a library to stream a video over rtsp in java. I tried this one http://www.csee.umbc.edu/~pmundur/c开发者_如何学Pythonourses/CMSC691C/lab5-kurose-ross.html. But it had too many incomplete code and was giving errors.
VLC has a nice streaming (over RTSP) functionality. Maybe you could look at streaming in VLCj: http://code.google.com/p/vlcj/wiki/Streaming
May be you should try Xuggle with this tutorial: http://www.javacodegeeks.com/2010/05/rtmp-to-rtsp-re-stream-using-wowza-and.html
RTSP is the negotiation protocol you can use something like JBoss Netty for tat. Then you need something to stream the media itself which is done via RTP. You can use Gstreamer (which has Java binding)
精彩评论