B
B
Beholder2021-04-02 12:05:49
Java
Beholder, 2021-04-02 12:05:49

How to play a video stream from Kurento WITHOUT a browser?

There is Kurento Media Server, which allows you to stream video from a large number of cameras, there is already a web application that can view it. Now there is a need to play these videos in a "thick" Java client (interface in Swing), WITHOUT a browser. The existing client can play video directly from cameras over RTSP using VLC for Java. As far as I understand, VLC does not support WebRTC and it cannot be used here. The option of using GStreamer binding for Java is being considered. But there is no experience in these matters, ready-made examples could not be found (if at all possible), examples with web applications in the browser are everywhere. Tell me how this can be done.

Also interested in whether there will be less load on the cameras if you stream not directly, but through Kurento? Or is there still a new pipeline created for each client connection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2021-04-02
@leahch

Do it with gstreamer. There are Java bindings for it - https://github.com/gstreamer-java/gst1-java-core
I myself use it in a couple of projects.
Here are examples https://github.com/gstreamer-java/gst1-java-examples
Here are bindings for swing - https://github.com/gstreamer-java/gst1-java-swing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question