rtsp streaming hang on seek to position
Bhavya
bhavyar.1992 at gmail.com
Wed Oct 28 04:03:15 PDT 2015
Hi All,
I am facing hang issue on seek to position for rtsp stream.
Server used is live555mediaserver.
Steps :
setting pipleine state to pause.
seek to position (say start of stream 0)
Reproducible rate : 1/20
set pipeline state to pause returns success, but according to below log
still pause is not completed, due to this gst_rtspsrc_loop_udp is not
interrupted and seek to position will not return.
I have queried rtspsrc element state, it gives state as pause itself.
00:00:35.154901669 1903 0x19f860 DEBUG rtspsrc
gstrtspsrc.c:2387:on_ssrc_active:<source> source in session 0 is active
0:00:35.209559002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:2096:gst_rtspsrc_handle_src_query:<source> pad
source:recv_rtp_src
_0_1261444242_14 received query duration
0:00:35.211489002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:4122:gst_rtspsrc_loop_send_cmd:<source> sending cmd 4
0:00:35.211630336 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:4136:gst_rtspsrc_loop_send_cmd:<source> start connection flush
0:00:35.211735002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3421:gst_rtspsrc_connection_flush:<source> set flushing 1
0:00:35.211835669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3423:gst_rtspsrc_connection_flush:<source> connection flush
0:00:35.211966336 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3428:gst_rtspsrc_connection_flush:<source> stream 0x19d6e8
flush
0:00:35.212040669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3889:gst_rtspsrc_loop_udp:<source> got interrupted: stop
connectio
n flush
0:00:35.212169669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3421:gst_rtspsrc_connection_flush:<source> set flushing 0
0:00:35.212279336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3423:gst_rtspsrc_connection_flush:<source> connection flush
0:00:35.212380669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3428:gst_rtspsrc_connection_flush:<source> stream 0x19d6e8
flush
0:00:35.212545336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:4173:gst_rtspsrc_loop:<source> pausing task, reason wrong-state
0:00:35.213605669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:4122:gst_rtspsrc_loop_send_cmd:<source> sending cmd 2
0:00:35.213830336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:6509:gst_rtspsrc_thread:<source> got command 2
0:00:35.213959002 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3421:gst_rtspsrc_connection_flush:<source> set flushing 0
0:00:35.214066336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3423:gst_rtspsrc_connection_flush:<source> connection flush
0:00:35.214168336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3428:gst_rtspsrc_connection_flush:<source> stream 0x19d6e8
flush
*0:00:35.214284669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:6307:gst_rtspsrc_pause:<source> PAUSE..*.
0:00:35.214520669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:4496:gst_rtspsrc_try_send:<source> sending message
0:00:35.214880002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:2096:gst_rtspsrc_handle_src_query:<source> pad
source:recv_rtp_src
_0_1261444242_14 received query duration
0:00:35.215337336 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:1984:gst_rtspsrc_handle_src_event:<source> pad
source:recv_rtp_src
_0_1261444242_14 received event seek
*0:00:35.215477336 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:1825:gst_rtspsrc_perform_seek:<source> doing seek with event*
0:00:35.215592669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:1855:gst_rtspsrc_perform_seek:<source> starting flush
0:00:35.215712002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:1697:gst_rtspsrc_flush:<source> start flush
0:00:35.215771336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:4525:gst_rtspsrc_try_send:<source> received response message
*0:00:35.215892002 1903 0x1930400 DEBUG rtspsrc
gstrtspsrc.c:4539:gst_rtspsrc_try_send:<source> got response message 200*
0:00:35.216700669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:4122:gst_rtspsrc_loop_send_cmd:<source> sending cmd 4
0:00:35.551484669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:4136:gst_rtspsrc_loop_send_cmd:<source> start connection flush
0:00:35.551551336 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3421:gst_rtspsrc_connection_flush:<source> set flushing 1
0:00:35.551605669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3423:gst_rtspsrc_connection_flush:<source> connection flush
0:00:35.551656669 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:3428:gst_rtspsrc_connection_flush:<source> stream 0x19d6e8
flush
0:00:35.551746002 1903 0x18b3c0 DEBUG rtspsrc
gstrtspsrc.c:1857:gst_rtspsrc_perform_seek:<source> after starting flush
0:00:35.551765669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:6509:gst_rtspsrc_thread:<source> got command 6
0:00:35.551829669 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3421:gst_rtspsrc_connection_flush:<source> set flushing 0
0:00:35.551884336 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3423:gst_rtspsrc_connection_flush:<source> connection flush
0:00:35.551936002 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3428:gst_rtspsrc_connection_flush:<source> stream 0x19d6e8
flush
0:00:35.551996002 1903 0x193400 DEBUG rtspsrc
gstrtspsrc.c:3810:gst_rtspsrc_loop_udp:<source> doing receive with timeout
54 s
econds
Please help me out if i have understood problem correctly. Thanks.
Regards,
Bhavya R
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtsp-streaming-hang-on-seek-to-position-tp4674303.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list