简体   繁体   中英

Java RTSP client/server library

Is anyone aware about good RTSP client/server Java library?

Search on Google reveals JMF, which is very outdated.

Thanks.

如果您仍然感兴趣, Netty从3.2版开始提供RTSP支持。

您可以使用Netty NIO框架编写自己的RTSP服务器/客户端实现。

Look at Gstreamer. I have created a Java code for RTSP Client. And also posted link on RTSP server rtsp streaming on java

Red5有一些支持或者将支持RTSP并且是基于Java的。

而且,正如我想你已经知道的那样,你可以使用Xuggler :)

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.

你可以使用vlc(Videolan客户端)whith vlcj和JNA

You can try using FMJ . It's a set of libraries that wrap a lot of modern codecs in Java interfaces.

There is no java implementation of RTSP protocol. You must do it yourself using a NIO framework (MINA, GRIZZLY, NETTY...) its a possible solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM