<div dir="ltr"><div>Hi Sebastian,</div><div><br></div><div>I not familiar with this mater can you more specific about your question or info wanted.</div><div><br></div><div>I used the Gstreammer example test-video.c without any modification, also the certificate is left as is.<br>The client pipeline is rtspsrc location=rtsps://<a href="http://127.0.0.1:8554/test">127.0.0.1:8554/test</a> user-id=user user-pw=password1 name=rtspsrc ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink"<br>The client rtspsrc property "tls-validation-flags" is set to enum GTlsCertificateFlags G_TLS_CERTIFICATE_GENERIC_ERROR.</div><div><br></div><div>In this case I receive video but also some warnings:<br>basesrc gstbasesrc.c:2943:gst_base_src_loop<udpsrc2> error internal data flow error.<br>basesrc gstbasesrc.c:2943:gst_base_src_loop<udpsrc2> error streaming task paused, reason not linked -1</div><div><br></div><div>But since I want communication via Tcp/Ip I changed next:<br>When I set the client rtspsrc property "protocols" to GST_RTSP_LOWER_TRANS_TCP then no video is received, on msg bus error received (internal data flow error) and logged info is:</div><div>basesrc gstbasesrc.c:5523:gst_rtspsrc_loop<rtspsrc> error internal data flow error.<br>basesrc gstbasesrc.c:5523:st_rtspsrc_loop<rtspsrc>> error streaming task paused, reason not-negotiated(-4)</div><div><br></div><div><img width="561" height="283" alt="Inline afbeelding 1" src="cid:ii_15428e93be3f905a"></div><div><br></div><div>Any help is welkom</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-18 9:11 GMT+02:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fr, 2016-04-15 at 07:21 +0100, marc lievens wrote:<br>
> Hi,<br>
> <br>
> I can stream video from GstRtspServer ( example test-video.c) with certificate and user/password to client when the “prococols” property are left default on client and server.<br>
> But when I set in client the ““prococols” property to GST_RTSP_LOWER_TRANS_TCP, then I get the following errors:<br>
> <br>
</span>> Rtstsrc gstrtspsrc.c:5523: gst_rtspsrc_loop error: Internal data flow error><br>
<span>> gstrtspsrc.c(5523): gst_rtspsrc_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc:streaming task paused, reason not-negotiated (-4)<br>
> Error: Internal data flow error<br>
> <br>
> I did experiment with “protocols” setting on server/client and with protocol Rtsp and Rtsps, But I can’t get it working when protocol =GST_RTSP_LOWER_TRANS_TCP<br>
><br>
> The client pipeline is rtspsrc location=rtsps://<a href="http://127.0.0.1:8554/test" target="_blank" rel="noreferrer">127.0.0.1:8554/test</a> user-id=user user-pw=X name=Y ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink"<br>
> and "tls-validation-flags" is set G_TLS_CERTIFICATE_GENERIC_ERROR<br>
<br>
</span>What are you setting the validation flags to? It probably means that<br>
the TLS certificate is not considered trusted, but needs more debug<br>
output to know for sure.<br>
<br>
Also your last comment suggests that this is unrelated to using the TCP<br>
protocol for the media but is a general problem with the RTSP<br>
connection.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank" rel="noreferrer">http://www.centricular.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" rel="noreferrer">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>