Hi,
Most of the time, the proxy server reconnects to the source after a
loss of connection to a source, but every now and then I observe one
of the following issues:
1) The proxyserver reconnects to the source, but no data frames are
forwarded to the clients.
An example log of scenario 1) is pasted below
2) The proxy server does not reconnect to the source, and clients to
the proxy server are being told:
RTSP/1.0 404 File Not Found, Or In Incorrect Format
An example log of scenario 2) is pasted below
Any suggestions for how to debug this further are most welcome.
I'm able to reproduce the issues by forcing a source to reconnect to
the network, but it's not 100% reproducible.
1) seems much more difficualt to reproduce than 2).
/Erik
Log 1)
Aug 11 09:12:21 Sending request: OPTIONS
rtsp://192.168.0.124/ch0_0.h264/ RTSP/1.0
Aug 11 09:12:21 CSeq: 73552
Aug 11 09:12:21 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:12:21 Session: 6B8B4567
Aug 11 09:12:21
Aug 11 09:12:21
Aug 11 09:12:21 Received 156 new bytes of response data.
Aug 11 09:12:21 Received a complete OPTIONS response:
Aug 11 09:12:21 RTSP/1.0 200 OK
Aug 11 09:12:21 CSeq: 73552
Aug 11 09:12:21 Date: Thu, Aug 11 2016 15:14:58 GMT
Aug 11 09:12:21 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY,
PAUSE, GET_PARAMETER, SET_PARAMETER
Aug 11 09:12:21
Aug 11 09:12:21
<- Client stops receiving data around here
Aug 11 09:12:29 Sending request: OPTIONS
rtsp://192.168.0.125/ch0_0.h264/ RTSP/1.0
Aug 11 09:12:29 CSeq: 73589
Aug 11 09:12:29 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:12:29 Session: 66334873
Aug 11 09:12:29
Aug 11 09:12:29
Aug 11 09:12:29 Received 156 new bytes of response data.
Aug 11 09:12:29 Received a complete OPTIONS response:
Aug 11 09:12:29 RTSP/1.0 200 OK
Aug 11 09:12:29 CSeq: 73589
Aug 11 09:12:29 Date: Thu, Aug 11 2016 15:15:05 GMT
Aug 11 09:12:29 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY,
PAUSE, GET_PARAMETER, SET_PARAMETER
Aug 11 09:12:29
Aug 11 09:12:29
<- A new client is spawned and makes a new connection to the proxy
server here
Aug 11 09:12:51 Opening connection to 192.168.0.124, port 554...
Aug 11 09:12:53
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,H264]::closeStreamSource()
Aug 11 09:12:53
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,MPEG4-GENERIC]::closeStreamSource()
Aug 11 09:12:59 Sending request: OPTIONS
rtsp://192.168.0.125/ch0_0.h264/ RTSP/1.0
Aug 11 09:12:59 CSeq: 73590
Aug 11 09:12:59 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:12:59 Session: 66334873
Aug 11 09:12:59
Aug 11 09:12:59
Aug 11 09:12:59 Received 156 new bytes of response data.
Aug 11 09:12:59 Received a complete OPTIONS response:
Aug 11 09:12:59 RTSP/1.0 200 OK
Aug 11 09:12:59 CSeq: 73590
Aug 11 09:12:59 Date: Thu, Aug 11 2016 15:15:35 GMT
Aug 11 09:12:59 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY,
PAUSE, GET_PARAMETER, SET_PARAMETER
Aug 11 09:12:59
Aug 11 09:12:59
Aug 11 09:13:06 ...remote connection opened
Aug 11 09:13:06 Sending request: OPTIONS
rtsp://192.168.0.124/ch0_0.h264/ RTSP/1.0
Aug 11 09:13:06 CSeq: 73553
Aug 11 09:13:06 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:13:06 Session: 6B8B4567
Aug 11 09:13:06
Aug 11 09:13:06
Aug 11 09:13:06 Sending request: PAUSE rtsp://192.168.0.124/ch0_0.h264/ RTSP/1.0
Aug 11 09:13:06 CSeq: 73554
Aug 11 09:13:06 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:13:06 Session: 6B8B4567
Aug 11 09:13:06
Aug 11 09:13:06
Aug 11 09:13:06 Received 156 new bytes of response data.
Aug 11 09:13:06 Received a complete OPTIONS response:
Aug 11 09:13:06 RTSP/1.0 200 OK
Aug 11 09:13:06 CSeq: 73553
Aug 11 09:13:06 Date: Thu, Jan 01 1970 00:00:37 GMT
Aug 11 09:13:06 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY,
PAUSE, GET_PARAMETER, SET_PARAMETER
Aug 11 09:13:06
Aug 11 09:13:06
Aug 11 09:13:09
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,H264]::createNewStreamSource(session
id 1614683546)
Aug 11 09:13:09 Sending request: PLAY rtsp://192.168.0.124/ch0_0.h264/ RTSP/1.0
Aug 11 09:13:09 CSeq: 73555
Aug 11 09:13:09 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media
v2016.06.26)
Aug 11 09:13:09 Session: 6B8B4567
Aug 11 09:13:09
Aug 11 09:13:09
Aug 11 09:13:09
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,H264]::createNewRTPSink()
Aug 11 09:13:09
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,MPEG4-GENERIC]::createNewStreamSource(session
id 1614683546)
Aug 11 09:13:09
ProxyServerMediaSubsession[rtsp://192.168.0.124/ch0_0.h264/,MPEG4-GENERIC]::createNewRTPSink()
Aug 11 09:13:09 Received 68 new bytes of response data.
Aug 11 09:13:09 WARNING: The server did not respond to our "PAUSE"
request (CSeq: 73554). The server appears to be buggy (perhaps not
handling pipelined requests properly).
Aug 11 09:13:09 Received a complete PLAY response:
Aug 11 09:13:09 RTSP/1.0 200 OK
Aug 11 09:13:09 CSeq: