<div dir="ltr"><div>Hi Andoni, thank you for your tip.</div><div><br></div><div>I forgot to add <uses-permission android:name="android.permission.INTERNET" /> to the Manifest xml file.</div><div><br></div><div>

I can already see the Raspberry Pi camera video in the Android mobile phone screen.</div><div><br></div><div>Anyway there is a weird thing, the delay is 20 Sec :( . When the client was Ubuntu PC the delay was 200 mS</div>

<div>or so, that's why I think there is a huge buffer inside some pipeline element.   </div><div><br></div><div>Thanks again.</div><div><br></div><div>Best regards.</div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/9/5 Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<p><br>
El 05/09/2013 13:24, "JPM" <<a href="mailto:jpmelian@gmail.com" target="_blank">jpmelian@gmail.com</a>> escribió:</p><div><div class="h5"><br>
><br>
> Hi,<br>
><br>
><br>
> I have tested these pipelines in order to send camera video from Raspberry Pi to a Ubuntu PC :<br>
><br>
> Raspberry Pi (server) :  raspivid -t 999999 -w 640 -h 480 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192.168.1.150 port=5000<br>



><br>
> Ubuntu PC (client) : gst-launch-1.0 -v tcpclientsrc host=192.168.1.150 port=5000 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false<br>
><br>
><br>
> Everything worked properly and now I am testing with a android client changing the pipeline in tutorial-3.c from<br>
><br>
> data->pipeline = gst_parse_launch("videotestsrc ! warptv ! ffmpegcolorspace ! autovideosink", &error); to<br>
><br>
> data->pipeline = gst_parse_launch("tcpclientsrc host=192.168.1.150 port=5000 ! gdpdepay ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink sync=false", &error);<br>
><br>
><br>
> But appear the following error : "Error received from element tcpclientsrc0: Could not open resource for reading"<br>
><br>
> Any idea why this happens ?. Thanks in advance.<br>
><br></div></div>
Hi, <br>
Did you configure the networking permissions of your app correctly in the manifest? <br>
> _______________________________________________<br>
> gstreamer-android mailing list<br>
> <a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
><br>
<p></p>
<br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div><br></div></div>