rtsp server from android to pc
Chuck Crisler
ccrisler at mutualink.net
Tue Oct 1 10:41:42 PDT 2013
Two suggestions.
1. Post the pipeline from the RTSP server. There are some hidden implicit
requirements.
2. Turn on logging on your RTSP server (logging always helps debug
problems). rtspserver:4, rtspclient:5
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...
On Tue, Oct 1, 2013 at 1:22 PM, yoyosuper8 <yoyosuper8 at yahoo.com> wrote:
> So you are right I am using version 0.10. I did added the "Internet"
> permission to the androidmanifest.xml file. So in my android app, in the
> onCreate() method, I call the a function gst_native_init() to start the
> rtsp
> server. In side the function gst_native_init() is the code I posted above.
> So I don't see any errors in the logcat when I launch the application. I
> look at wireshark to see the packets being sent and received and it seems
> that the laptop and the android device perform the tcp handshake, but when
> the laptop sends the rtsp request, the android device never responds and
> does not give the rtsp OK packet back. So, I'm not sure if it is the code
> or
> maybe if it is because I'm using an older version instead of the new 1.2.0
> version of gstreamer.
> I'm going to use the new version and we'll see what happens, but any other
> suggestions are welcomed.
>
> Thank you
> Andy
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/rtsp-server-from-android-to-pc-tp4662269p4662295.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131001/cbcf6fdf/attachment.html>
More information about the gstreamer-devel
mailing list