<div dir="ltr"><div><div><div>Two suggestions.<br><br></div>1. Post the pipeline from the RTSP server. There are some hidden implicit requirements.<br></div>2. Turn on logging on your RTSP server (logging always helps debug problems). rtspserver:4, rtspclient:5<br>
<br></div>The rtspclient:5 will give you most of the RTSP communication. One big problem that I have encountered is that you have to have the sprop-parameter-sets specified in the pipeline. Otherwise, the server can't build the SDP. Notice that the parameter set doesn't really have to be correct... It becomes 'a challenge' to select different sources on a network when you don't know or control the encoder! Also look for the pipeline not successfully pre-rolling. There is this hidden (well, not well displayed) disastrous error message about the pipeline not starting. It is downhill from there...<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 1:22 PM, yoyosuper8 <span dir="ltr"><<a href="mailto:yoyosuper8@yahoo.com" target="_blank">yoyosuper8@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So you are right I am using version 0.10. I did added the "Internet"<br>
permission to the androidmanifest.xml file. So in my android app, in the<br>
onCreate() method, I call the a function gst_native_init() to start the rtsp<br>
server. In side the function gst_native_init() is the code I posted above.<br>
So I don't see any errors in the logcat when I launch the application. I<br>
look at wireshark to see the packets being sent and received and it seems<br>
that the laptop and the android device perform the tcp handshake, but when<br>
the laptop sends the rtsp request, the android device never responds and<br>
does not give the rtsp OK packet back. So, I'm not sure if it is the code or<br>
maybe if it is because I'm using an older version instead of the new 1.2.0<br>
version of gstreamer.<br>
I'm going to use the new version and we'll see what happens, but any other<br>
suggestions are welcomed.<br>
<br>
Thank you<br>
Andy<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/rtsp-server-from-android-to-pc-tp4662269p4662295.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/rtsp-server-from-android-to-pc-tp4662269p4662295.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>