RTMP source/gstreamer-ingest on TCP with listen() not connect()
Nicolas Dufresne
nicolas at ndufresne.ca
Fri Dec 11 16:23:16 UTC 2020
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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list