Is there a way to establish a session with a rtspsrc without playing the pipeline?

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

Is there a way to establish a session with a rtspsrc without playing the pipeline?

Mariano Koremblum
Hi gstreamers! I want to know if there is any way to connect to an RTSP
server without automatically sending the "PLAY" request, but manually.

Thanks in advance :)



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

Re: Is there a way to establish a session with a rtspsrc without playing the pipeline?

Nicolas Dufresne-5
Le lundi 08 juin 2020 à 08:44 -0500, Mariano Koremblum a écrit :
> Hi gstreamers! I want to know if there is any way to connect to an RTSP
> server without automatically sending the "PLAY" request, but manually.

rtspsrc element is build on top of GStreamer RTSP [0], RTP[1] and
SDP[2] libraries. You can use these libraries to gain control of the
the session and potentially handle the play request differently (or
remotely ?)

Nicolas

[0] https://gstreamer.freedesktop.org/documentation/rtsplib/
[1] https://gstreamer.freedesktop.org/documentation/rtplib/
[2] https://gstreamer.freedesktop.org/documentation/sdp/


>
> Thanks in advance :)
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Is there a way to establish a session with a rtspsrc without playing the pipeline?

Mariano Koremblum
It was actually simpler than what I thought. If you set the pipeline as
"PAUSED" it does connect but does not play the stream :)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel