[Live-devel] MilestoneXProtect playing problem

Андрей ashvyrkin at gosniias.ru
Wed Jun 5 21:25:15 PDT 2013


04.06.2013 8:10, Андрей пишет:
> Hi, Ross. Thank you for your library. I'm developing a server 
> application, which virtulnogo ONVIF camera. I implemented the 
> transmission of live video in H264, MPEG4 and JPEG. In the 
> architecture of the application code I used testOnDemandRTSPServer. As 
> I used the FFMPEG encoder. If you use to view the RTSP stream VLC or 
> your client initially as a binder LIVE555 + FFMPEG, playing without 
> any problems. But for a number of reasons emerged neobhodimot support 
> with the application MilestoneXProtect. As the type of device I used 
> ONVIFConformanceDevice. The problem is that the built RTSP client 
> starts playing the stream, but about every 45 seconds, the client 
> loses its connection and reconnection happens to my server. Help to 
> understand the reason for the incompatibility.
> Sorry for bad english...
I can provide the additional output from the console. Client Milestone 
constantly sending requests to my server, and soon breaks the connection 
and then reconnects. Help solve the problem

User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "7", Content-Length 0, with 0 bytes following 
the mes
sage.
sending response: RTSP/1.0 200 OK
CSeq: 7
Date: Thu, Jun 06 2013 04:15:49 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 115 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 8
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "8", Content-Length 0, with 0 bytes following 
the mes
sage.
sending response: RTSP/1.0 200 OK
CSeq: 8
Date: Thu, Jun 06 2013 04:15:54 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 115 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 9
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "9", Content-Length 0, with 0 bytes following 
the mes
sage.
sending response: RTSP/1.0 200 OK
CSeq: 9
Date: Thu, Jun 06 2013 04:15:59 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 10
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "10", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 10
Date: Thu, Jun 06 2013 04:16:04 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 11
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "11", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 11
Date: Thu, Jun 06 2013 04:16:09 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 12
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "12", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 12
Date: Thu, Jun 06 2013 04:16:14 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 13
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "13", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 13
Date: Thu, Jun 06 2013 04:16:19 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 14
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "14", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 14
Date: Thu, Jun 06 2013 04:16:24 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 15
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "15", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 15
Date: Thu, Jun 06 2013 04:16:29 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSP client session (id "3944E412", stream name "media0") has timed out 
(due to
inactivity)
RTSPClientConnection[060959F8]::handleRequestBytes() read 116 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 16
Session: 3944E412
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "16", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 16
Date: Thu, Jun 06 2013 04:16:34 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 123 new 
bytes:TEARDOWN
  rtsp://192.168.33.77:13200/media0/track1 RTSP/1.0
Session: 3944E412
CSeq: 17
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "TEARDOWN", 
urlPreSuffix "
media0", urlSuffix "track1", CSeq "17", Content-Length 0, with 0 bytes 
following
  the message.
sending response: RTSP/1.0 454 Session Not Found
CSeq: 17
Date: Thu, Jun 06 2013 04:16:38 GMT

RTSPClientConnection[060959F8]::handleRequestBytes() read -1 new bytes 
(of 10000
); terminating connection!
accept()ed connection from 192.168.33.77
RTSPClientConnection[060959F8]::handleRequestBytes() read 140 new 
bytes:DESCRIBE
  rtsp://192.168.33.77:13200/media0 RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: CmRtspClient 86951
Bandwidth: 384000


parseRTSPRequestString() succeeded, returning cmdName "DESCRIBE", 
urlPreSuffix "
", urlSuffix "media0", CSeq "1", Content-Length 0, with 0 bytes 
following the me
ssage.
sending response: RTSP/1.0 200 OK
CSeq: 1
Date: Thu, Jun 06 2013 04:16:43 GMT
Content-Base: rtsp://192.168.33.77:13200/media0/
Content-Type: application/sdp
Content-Length: 370

v=0
o=- 1370492094745333 1 IN IP4 192.168.33.77
s=Session streamed by "RTSPMediaServer"
i=media0
t=0 0
a=tool:LIVE555 Streaming Media v2013.05.30
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "RTSPMediaServer"
a=x-qt-text-inf:media0
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=control:track1
RTSPClientConnection[060959F8]::handleRequestBytes() read 120 new 
bytes:SETUP rt
sp://192.168.33.77:13200/media0/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=24906-24907


parseRTSPRequestString() succeeded, returning cmdName "SETUP", 
urlPreSuffix "med
ia0", urlSuffix "track1", CSeq "2", Content-Length 0, with 0 bytes 
following the
  message.
sending response: RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Jun 06 2013 04:16:43 GMT
Transport: 
RTP/AVP;unicast;destination=192.168.33.77;source=192.168.33.77;client
_port=24906-24907;server_port=6970-6971
Session: FFEA9879

RTSPClientConnection[060959F8]::handleRequestBytes() read 99 new 
bytes:PLAY rtsp
://192.168.33.77:13200/media0/ RTSP/1.0
Session: FFEA9879
CSeq: 3
Range: npt=0.000-


parseRTSPRequestString() succeeded, returning cmdName "PLAY", 
urlPreSuffix "medi
a0", urlSuffix "", CSeq "3", Content-Length 0, with 0 bytes following 
the messag
e.
sending response: RTSP/1.0 200 OK
CSeq: 3
Date: Thu, Jun 06 2013 04:16:43 GMT
Range: npt=0.000-
Session: FFEA9879
RTP-Info: 
url=rtsp://192.168.33.77:13200/media0/track1;seq=28630;rtptime=1504623
387

RTSPClientConnection[060959F8]::handleRequestBytes() read 115 new 
bytes:OPTIONS
rtsp://192.168.33.77:13200/media0/ RTSP/1.0
CSeq: 4
Session: FFEA9879
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "OPTIONS", 
urlPreSuffix "m
edia0", urlSuffix "", CSeq "4", Content-Length 0, with 0 bytes following 
the mes
sage.
sending response: RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Jun 06 2013 04:16:48 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, 
SET_PARA
METER

RTSPClientConnection[060959F8]::handleRequestBytes() read 122 new 
bytes:TEARDOWN
  rtsp://192.168.33.77:13200/media0/track1 RTSP/1.0
Session: FFEA9879
CSeq: 5
User-Agent: CmRtspClient 86951


parseRTSPRequestString() succeeded, returning cmdName "TEARDOWN", 
urlPreSuffix "
media0", urlSuffix "track1", CSeq "5", Content-Length 0, with 0 bytes 
following
the message.
sending response: RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Jun 06 2013 04:16:49 GMT

RTSPClientConnection[060959F8]::handleRequestBytes() read -1 new bytes 
(of 10000
); terminating connection!



More information about the live-devel mailing list