[Live-devel] RTSP stops after 5 minutes

Ron McOuat rmcouat at smartt.com
Sun May 3 20:20:52 PDT 2009


I ran into this with Axis cameras, judging from the URL this is what you 
are using. I found the -T option for HTTP tunneling also worked as well 
as leaving off the -t option as you have found.

Shiva Shankar N wrote:
> Hi Ross,
>
>  It is working fine if i tunnel the data thru  UDP. I.e., removing -t 
> option it is working fine.
>
> thanks
> shiv
>
>
> On Sun, May 3, 2009 at 8:35 PM, Shiva Shankar N <nshamshiva at gmail.com 
> <mailto:nshamshiva at gmail.com>> wrote:
>
>     Hi Ross,
>
>      This is error i am getting. please if you now where exactly it
>     going wrong.
>      please let me know. So that it would reduce my debugging time
>
>
>     *********************************************************************************************************************************************
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>
>     Received OPTIONS response: RTSP/1.0 200 OK
>     CSeq: 1
>     Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, TEARDOWN
>
>
>     Sending request: DESCRIBE rtsp://128.197.178.101/mpeg4/media.amp
>     <http://128.197.178.101/mpeg4/media.amp> RTSP/1.0
>     CSeq: 2
>     Accept: application/sdp
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>
>     Received DESCRIBE response: RTSP/1.0 200 OK
>     CSeq: 2
>     Content-Base: rtsp://128.197.178.101:554/mpeg4/media.amp/
>     <http://128.197.178.101:554/mpeg4/media.amp/>
>     Content-Type: application/sdp
>     Content-Length: 684
>
>
>     Need to read 684 extra bytes
>     Read 684 extra bytes: v=0
>     o=- 1241378493017427 1241378493017434 IN IP4 128.197.178.101
>     s=Media Presentation
>     e=NONE
>     c=IN IP4 0.0.0.0
>     b=AS:8000
>     t=0 0
>     a=control:*
>     a=range:npt=now-
>     a=mpeg4-iod:
>     "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFw
>     cGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJ
>     QUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlv
>     bi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAG
>     CQEAAAAAAAAAAA=="
>     m=video 0 RTP/AVP 96
>     b=AS:8000
>     a=control:trackID=1
>     a=rtpmap:96 MP4V-ES/90000
>     a=fmtp:96 profile-level-id=245;
>     config=000001B0F5000001B5090000010000000120008C4
>     019285820F0A21F;
>     a=mpeg4-esid:201
>
>     Opened URL "rtsp://128.197.178.101/mpeg4/media.amp
>     <http://128.197.178.101/mpeg4/media.amp>", returning a SDP description
>     :
>     v=0
>     o=- 1241378493017427 1241378493017434 IN IP4 128.197.178.101
>     s=Media Presentation
>     e=NONE
>     c=IN IP4 0.0.0.0
>     b=AS:8000
>     t=0 0
>     a=control:*
>     a=range:npt=now-
>     a=mpeg4-iod:
>     "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFw
>     cGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJ
>     QUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlv
>     bi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAG
>     CQEAAAAAAAAAAA=="
>     m=video 0 RTP/AVP 96
>     b=AS:8000
>     a=control:trackID=1
>     a=rtpmap:96 MP4V-ES/90000
>     a=fmtp:96 profile-level-id=245;
>     config=000001B0F5000001B5090000010000000120008C4
>     019285820F0A21F;
>     a=mpeg4-esid:201
>
>     Created receiver for "video/MP4V-ES" subsession (client ports
>     51302-51303)
>     Sending request: SETUP
>     rtsp://128.197.178.101:554/mpeg4/media.amp/trackID=1
>     <http://128.197.178.101:554/mpeg4/media.amp/trackID=1> RTSP
>     /1.0
>     CSeq: 3
>     Transport: RTP/AVP/TCP;unicast;interleaved=0-1
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>
>     Received SETUP response: RTSP/1.0 200 OK
>     CSeq: 3
>     Session: 1098178773;timeout=60
>     Transport: RTP/AVP/TCP;unicast;mode=play;interleaved=116-117
>
>
>     Setup "video/MP4V-ES" subsession (client ports 51302-51303)
>     Sending request: PLAY rtsp://128.197.178.101:554/mpeg4/media.amp/
>     <http://128.197.178.101:554/mpeg4/media.amp/> RTSP/1.0
>     CSeq: 4
>     Session: 1098178773
>     Range: npt=0.000-
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>
>     Received PLAY response: RTSP/1.0 200 OK
>     CSeq: 4
>     Session: 1098178773
>     Range: npt=now-
>     RTP-Info: url=trackID=1;seq=39372;rtptime=2047243131
>
>
>     Started playing session
>     Receiving streamed data...
>     Received RTCP "BYE" on "video/MP4V-ES" subsession (after 313 seconds)
>     Sending request: PLAY rtsp://128.197.178.101:554/mpeg4/media.amp/
>     <http://128.197.178.101:554/mpeg4/media.amp/> RTSP/1.0
>     CSeq: 5
>     Session: 1098178773
>     Range: npt=0.000-
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>
>     Failed to start playing session: Failed to read response: No error
>     Sending request: TEARDOWN
>     rtsp://128.197.178.101:554/mpeg4/media.amp/
>     <http://128.197.178.101:554/mpeg4/media.amp/> RTSP/1.0
>     CSeq: 6
>     Session: 1098178773
>     User-Agent: openrtsp (LIVE555 Streaming Media v2009.04.20)
>
>     Thanks
>     shiv
>
>
>
>     On Sun, May 3, 2009 at 6:52 PM, Ross Finlayson
>     <finlayson at live555.com <mailto:finlayson at live555.com>> wrote:
>
>             What do you mean "stops working"?
>             The application stop or close automatically.. to be
>             exactly after 5 minutes 40 sec
>
>             I want to play this application continuously ..  and this
>             the setting i am using
>
>             openrtsp -b 500000 -v -V -w 704 -h 480  -4 -t -c
>             rtsp://128.xxx.xx.xxx/mpeg4/media.amp >stream.m4v
>
>
>         Please omit the "-V" option, and send us the diagnostic output
>         that "openRTSP" displays (to stderr).  This should help
>         explain what's happening.
>
>         -- 
>
>         Ross Finlayson
>         Live Networks, Inc.
>         http://www.live555.com/
>         _______________________________________________
>         live-devel mailing list
>         live-devel at lists.live555.com <mailto:live-devel at lists.live555.com>
>         http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>   


More information about the live-devel mailing list