rtsp server from android to pc

yoyosuper8 yoyosuper8 at yahoo.com
Mon Oct 7 13:41:30 PDT 2013


Thank you again Sebastian. Because of you I was finally able to get some
debugging logs to see what my problem is. Although I don't understand the
problem and I'm hoping someone can tell me what's going on. I've attached
the log file to this message but here it is:

The first line is showing that the rtsp server is up and running listening
on port 10000 as I specified
rtsp-server.c:642:gst_rtsp_server_get_io_channel:<GstRTSPServer at 0x514814c0>
listening on service 10000

These three lines are showing the values I specified in code, just double
checking to make sure everything is in place:
jni/tutorial-3.c:197:app_function rtsp pipeline = ( videotestsrc is-live=1 !
x264enc ! rtph264pay send-config=true name=pay0 pt=96 )
jni/tutorial-3.c:198:app_function rtsp address = 192.168.1.84
jni/tutorial-3.c:199:app_function rtsp service = 10000

These lines below are accepting a new client and receiving an rtsp request:
gstegladaptation_egl.c:172:gst_egl_adaptation_init_display:<autovideosink0-actual-sink-eglgles>
System reports supported EGL version v1.4
rtsp-client.c:1932:gst_rtsp_client_accept client 0x517ca050 connected to
server ip 192.168.1.84, ipv6 = 0
rtsp-client.c:1935:gst_rtsp_client_accept added new client 0x517ca050 ip
192.168.1.20:57819
rtsp-client.c:1949:gst_rtsp_client_accept attaching to context 0x514bfbe8
rtsp-client.c:1932:gst_rtsp_client_accept client 0x517ca0d0 connected to
server ip 192.168.1.84, ipv6 = 0
rtsp-client.c:1935:gst_rtsp_client_accept added new client 0x517ca0d0 ip
192.168.1.20:58587
rtsp-client.c:1949:gst_rtsp_client_accept attaching to context 0x514bfbe8
rtsp-client.c:1306:handle_request client 0x517ca050: received a request

These lines show that the connections are closed, and I think they are due
to the fact that I'm closing the application:
rtsp-client.c:1684:closed client 0x517ca050: connection closed
rtsp-client.c:1878:client_watch_notify client 0x517ca050: watch destroyed
rtsp-client.c:151:gst_rtsp_client_finalize finalize client 0x517ca050
rtsp-client.c:1306:handle_request client 0x517ca0d0: received a request
rtsp-client.c:1684:closed client 0x517ca0d0: connection closed
rtsp-client.c:1878:client_watch_notify client 0x517ca0d0: watch destroyed
rtsp-client.c:151:gst_rtsp_client_finalize finalize client 0x517ca0d0


The weird thing is that these debugging lines don't show up until I close
the application. So I'm wondering if maybe there is a problem with the code
that is causing this to hang and not stream anything. The code is posted in
above (my 2nd post).

Any suggestions would be appreciated.

Thank you
Andy




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtsp-server-from-android-to-pc-tp4662269p4662424.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list