SyRenity
SyRenity

Reputation: 861

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.

Upvotes: 14

Views: 61046

Answers (9)

Cynichniy Bandera
Cynichniy Bandera

Reputation: 6103

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.

Upvotes: 1

enthusiasticgeek
enthusiasticgeek

Reputation: 2734

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

Upvotes: 2

Siddharth
Siddharth

Reputation: 161

You can use Netty NIO framework to write your own RTSP server / client implementation.

Upvotes: 5

Jjreina
Jjreina

Reputation: 2713

you can use vlc(Videolan client) whith vlcj and JNA

Upvotes: 1

user17481
user17481

Reputation: 763

If you're still interested, Netty provides RTSP support since version 3.2.

Upvotes: 23

Art Clarke
Art Clarke

Reputation: 2505

And, as I think you know already, you can use Xuggler :)

Upvotes: 1

Sam
Sam

Reputation: 6250

Red5 has some support or is going to have support for RTSP and is Java based.

Upvotes: 1

user106013
user106013

Reputation: 11

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

Upvotes: 1

Greg Adamski
Greg Adamski

Reputation: 1099

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

Upvotes: 1

Related Questions