RTMP source/gstreamer-ingest on TCP with listen() not connect()

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

RTMP source/gstreamer-ingest on TCP with listen() not connect()

Cameron Elliott
Hi, 
I have been researching how to get a gstreamer graph to accept RTMP on an inbound TCP socket (meaning listen()/accept() call and not connect() call)
I’d like some confirmation, but it doesn’t seem like either
rtmpsrc nor rtmpsrc2 supports this, is my understanding correct?

If that’s the case can I use the ffmpeg filter (ffmpeg will listen/accept for inbound sockets) and use that as a way to use gstreamer as an RTMP server that will accept() sockets???

Thanks for any info,
Cameron
--
Cameron

--
Telephone: 206-310-3284


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

Re: RTMP source/gstreamer-ingest on TCP with listen() not connect()

Nicolas Dufresne-5
Le vendredi 11 décembre 2020 à 01:36 -0800, Cameron Elliott a écrit :
> Hi, 
> I have been researching how to get a gstreamer graph to accept RTMP on an
> inbound TCP socket (meaning listen()/accept() call and not connect() call)
> I’d like some confirmation, but it doesn’t seem like either
> rtmpsrc nor rtmpsrc2 supports this, is my understanding correct?
>
> If that’s the case can I use the ffmpeg filter (ffmpeg will listen/accept for
> inbound sockets) and use that as a way to use gstreamer as an RTMP server that
> will accept() sockets???

GStreamer only have "client" RTMP element, both src and sink. A server element
helper could be nice, but not one contributed that yet. You can of course use
ffmpeg server and then serve that stream over local host in some other form (I'm
not ffmpeg executable guru, just copy pasting form other sources):

  ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app -c copy ...

>
> Thanks for any info,
> Cameron
> --
> Cameron
> --
> Telephone: 206-310-3284
>
> _______________________________________________
> 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