How to use gst-rtsp-server as a proxy?

classic Classic list List threaded Threaded
3 messages Options
J-2
Reply | Threaded
Open this post in threaded view
|

How to use gst-rtsp-server as a proxy?

J-2
Searching the archives, I have found several hits where people have asked about building an rtsp proxy, but no clear solutions. 

Am I missing something obvious? I have a mix of cheap commercial IP cameras, and the one thing they have in common is that they all speak rtsp. I would guess that someone would have written a simple proxy that sits on the "router" (in my case, a dd-wrt box, but it could easily be replaced with a generic linux box) and proxies connections.

Any pointers please?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use gst-rtsp-server as a proxy?

Olivier Crête-3
Hi,

You should be able to do something like the test-uri example using the rtsp:// Uri of the camera as a source in theory.

Olivier

On May 3, 2017 10:01:06 PM EDT, J <[hidden email]> wrote:

>Searching the archives, I have found several hits where people have
>asked
>about building an rtsp proxy, but no clear solutions.
>
>Am I missing something obvious? I have a mix of cheap commercial IP
>cameras, and the one thing they have in common is that they all speak
>rtsp.
>I would guess that *someone* would have written a simple proxy that
>sits on
>the "router" (in my case, a dd-wrt box, but it could easily be replaced
>with a generic linux box) and proxies connections.
>
>Any pointers please?

--
Olivier Crête
[hidden email]
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use gst-rtsp-server as a proxy?

Jan Schmidt-6
In reply to this post by J-2

Hi,

On 04/05/17 12:01, J wrote:
> Searching the archives, I have found several hits where people have > asked about building an rtsp proxy, but no clear solutions. > > Am I missing something obvious? I have a mix of cheap commercial IP > cameras, and the one thing they have in common is that they all speak > rtsp. I would guess that *someone* would have written a simple proxy > that sits on the "router" (in my case, a dd-wrt box, but it could > easily be replaced with a generic linux box) and proxies > connections.
Any pointers please?

In the past, I've used a small app based on the gst-rtsp-server test-launch.c
code, and adding mount points that do something like

rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://CAMERA-URI">rtsp://CAMERA-URI ! rtph264depay ! rtph264pay name=pay0

That avoids re-encoding, and just re-payloads the incoming datastream and feeds it back out again.

- Jan.



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel