|
Hi.
I'm a beginner with GStreamer and trying to understand some basic concepts about TLS negotiation.
I have a rtsp server and a client. The client gets video from the server without any problem, when server and client are using TCP.
If the server and client are using TLS, the client gets an error related to "not-negotiated". What could be such problem? What should I to check in the server?
When TCP is being used, the client command is:
--------------------------------------------------------------------
gst-launch-1.0 -v -m --gst-debug-level=3 rtspsrc location="rtspt://f9hE2ymDyVAK:YljYgExxh4ft@192.168.28.33:2554/h264/ch1/main/av_stream" ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
When TLS is being used, the client command is:
---------------------------------------------------------------------
gst-launch-1.0 -v -m --gst-debug-level=3 rtspsrc location="rtsps://f9hE2ymDyVAK:YljYgExxh4ft@192.168.28.33:2554/h264/ch1/main/av_stream" tls-validation-flags=generic-error ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
And the error is:
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Any hint will be very helpful!
Best regards.
Rodrigo Pimenta Carvalho.
|