Is rtsp mjpeg stream player the easiest way?

I need to do some kind of project involving a camera. I have a stream in the format rtsp: // ip: port / stream, which I can see on external ie VLC players.

What I want to do is make a simple Java client to read and play this stream. I have been looking for some solution for a long time and nothing is suitable for my need. JMFseems will be out of date as 10 years, other solutions seem to be difficult for this simple (I guess?) Problem.

+4
source share
1 answer

For my Java project at work, I am currently using Xuggler to read in the RTSP stream in the exact URL format you are using. It worked well for me on windows, mac, and linux, and a few lines of code were added to the project.

+2
source

Source: https://habr.com/ru/post/1439926/


All Articles