问题
Is anyone aware about good RTSP client/server Java library?
Search on Google reveals JMF, which is very outdated.
Thanks.
回答1:
If you're still interested, Netty provides RTSP support since version 3.2.
回答2:
You can use Netty NIO framework to write your own RTSP server / client implementation.
回答3:
You can try using FMJ. It's a set of libraries that wrap a lot of modern codecs in Java interfaces.
回答4:
There is no java implementation of RTSP protocol. You must do it yourself using a NIO framework (MINA, GRIZZLY, NETTY...) its a possible solution.
回答5:
Red5 has some support or is going to have support for RTSP and is Java based.
回答6:
And, as I think you know already, you can use Xuggler :)
回答7:
you can use vlc(Videolan client) whith vlcj and JNA
回答8:
Look at Gstreamer. I have created a Java code for RTSP Client. And also posted link on RTSP server rtsp streaming on java
回答9:
Some time ago I've coded android rtsp streaming client (android could stream to media server, wowza in that particular case). There are only couple tricky moments with that approach:
- it was based on known trick with unix sockets and parsing mp4 generated by the device in order to get NALU out of it;
- timestamps synchronisation for audio and video is really not trivial on android when two media recorders used (for vide and for audio) for getting the media.
来源:https://stackoverflow.com/questions/820888/java-rtsp-client-server-library