[Live-devel] testRTSPclient stops after 2 mins

srimugunth at csa.iisc.ernet.in srimugunth at csa.iisc.ernet.in
Fri Oct 11 00:33:52 PDT 2013


>> Stream "rtsp://107.108.205.230:554/profile2/media.smp/";
>> video/H264:	Received 230 bytes.	Presentation time: 1381472674.763904!
>
> One more thing: The "!" at the end of the presentation time indicates that
> it has not yet been synchronized via RTCP - i.e., the client has not yet
> received a RTCP "SR" packet.  This often happens at the beginning of a
> stream, but if it's still happening after 2 minutes, than that suggests
> that the server (IP camera) is not sending RTCP "SR" packets, and is
> therefore non standards-compliant.
>
> You cannot expect our software to run with non-standards-compliant
> servers.  You should replace (or upgrade) your IP camera.

I tried with another IP camera and it had the same output.
While i understand that you will not be interested in supporting
non-standard IP cameras, is there any workaround in Live555 which i can
change
to get continued output for atleast 15mins.

Will appreciate your inputs.

And, the console output with openRTSP is as follows:


$ ./openRTSP rtsp://admin:4321@107.108.205.230/profile2/media.smp


Opening connection to 107.108.205.230, port 554...
...remote connection opened
Sending request: OPTIONS
rtsp://admin:4321@107.108.205.230/profile2/media.smp RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)


Received 228 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 401 Unauthorized
CSeq: 2
Date: Fri Oct 11 12:46:54 2013 GMT
Expires: Fri Oct 11 12:46:54 2013 GMT
Cache-Control: must-revalidate
WWW-Authenticate: Digest realm="iPOLiS",
nonce="0000000000000000000000000594D5CE"


Resending...
Sending request: OPTIONS
rtsp://admin:4321@107.108.205.230/profile2/media.smp RTSP/1.0
CSeq: 3
Authorization: Digest username="admin", realm="iPOLiS",
nonce="0000000000000000000000000594D5CE",
uri="rtsp://admin:4321@107.108.205.230/profile2/media.smp",
response="46d86f1c4f5311b163fe33ddc2dbd613"
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)


Received 222 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 3
Date: Fri Oct 11 12:46:55 2013 GMT
Expires: Fri Oct 11 12:46:55 2013 GMT
Cache-Control: must-revalidate
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, GET_PARAMETER,
SET_PARAMETER


Sending request: DESCRIBE
rtsp://admin:4321@107.108.205.230/profile2/media.smp RTSP/1.0
CSeq: 4
Authorization: Digest username="admin", realm="iPOLiS",
nonce="0000000000000000000000000594D5CE",
uri="rtsp://admin:4321@107.108.205.230/profile2/media.smp",
response="df54b418781a7249ee9f544745aa8d82"
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)
Accept: application/sdp


Received 1024 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri Oct 11 12:46:55 2013 GMT
Expires: Fri Oct 11 12:46:55 2013 GMT
Content-Base: rtsp://107.108.205.230:554/profile2/media.smp/
Content-Type: application/sdp
Content-Length: 712
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Cache-Control: must-revalidate

v=0
o=- 0 0 IN IP4 107.108.212.53
s=Media Presentation
i=samsung
c=IN IP4 0.0.0.0
b=AS:384128
t=0 0
a=control:rtsp://107.108.205.230:554/profile2/media.smp
a=range:npt=now-
m=video 40080 RTP/AVP 98
b=AS:384000
a=rtpmap:98 H264/90000
a=control:rtsp://107.108.205.230:554/profile2/media.smp/trackID=v
a=cliprect:0,0,600,800
a=framesize:98 800-600
a=framerate:30.0
a=fmtp:98
packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQGQJvyoA==,aM48sA==
m=audio 40082 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000
a=control:rtsp://107.108.205.230:554/profile2/media.smp/trackID=a

Opened URL "rtsp://admin:4321@107.108.205.230/profile2/media.smp",
returning a SDP description:
v=0
o=- 0 0 IN IP4 107.108.212.53
s=Media Presentation
i=samsung
c=IN IP4 0.0.0.0
b=AS:384128
t=0 0
a=control:rtsp://107.108.205.230:554/profile2/media.smp
a=range:npt=now-
m=video 40080 RTP/AVP 98
b=AS:384000
a=rtpmap:98 H264/90000
a=control:rtsp://107.108.205.230:554/profile2/media.smp/trackID=v
a=cliprect:0,0,600,800
a=framesize:98 800-600
a=framerate:30.0
a=fmtp:98
packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQGQJvyoA==,aM48sA==
m=audio 40082 RTP/AVP 0
b=AS:64
a=rtpmap:0 PCMU/8000
a=control:rtsp://107.108.205.230:554/profile2/media.smp/trackID=a

Created receiver for "video/H264" subsession (client ports 40080-40081)
Created receiver for "audio/PCMU" subsession (client ports 40082-40083)
Sending request: SETUP
rtsp://107.108.205.230:554/profile2/media.smp/trackID=v RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="iPOLiS",
nonce="0000000000000000000000000594D5CE",
uri="rtsp://107.108.205.230:554/profile2/media.smp/",
response="43aaa7995d688cfb3c7e6ebe69574966"
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)
Transport: RTP/AVP;unicast;client_port=40080-40081


Received 239 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Fri Oct 11 12:46:55 2013 GMT
Expires: Fri Oct 11 12:46:55 2013 GMT
Session: 13;timeout=60
Cache-Control: must-revalidate
Transport:
RTP/AVP/UDP;unicast;client_port=40080-40081;server_port=40080-40081


Setup "video/H264" subsession (client ports 40080-40081)
Sending request: SETUP
rtsp://107.108.205.230:554/profile2/media.smp/trackID=a RTSP/1.0
CSeq: 6
Authorization: Digest username="admin", realm="iPOLiS",
nonce="0000000000000000000000000594D5CE",
uri="rtsp://107.108.205.230:554/profile2/media.smp/",
response="43aaa7995d688cfb3c7e6ebe69574966"
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)
Transport: RTP/AVP;unicast;client_port=40082-40083
Session: 13


Received 239 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 6
Date: Fri Oct 11 12:46:55 2013 GMT
Expires: Fri Oct 11 12:46:55 2013 GMT
Session: 13;timeout=60
Cache-Control: must-revalidate
Transport:
RTP/AVP/UDP;unicast;client_port=40082-40083;server_port=40082-40083


Setup "audio/PCMU" subsession (client ports 40082-40083)
Created output file: "video-H264-1"
Created output file: "audio-PCMU-2"
Sending request: PLAY rtsp://107.108.205.230:554/profile2/media.smp RTSP/1.0
CSeq: 7
Authorization: Digest username="admin", realm="iPOLiS",
nonce="0000000000000000000000000594D5CE",
uri="rtsp://107.108.205.230:554/profile2/media.smp/",
response="ca50a936358f4e1ae53251aa956535b1"
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.10.09)
Session: 13
Range: npt=0.000-


Received 321 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 7
Date: Fri Oct 11 12:46:55 2013 GMT
Expires: Fri Oct 11 12:46:55 2013 GMT
Session: 13
Cache-Control: must-revalidate
Range: npt=0.000-
RTP-Info:
url=rtsp://107.108.205.230:554/profile2/media.smp/trackID=v;seq=0,url=rtsp://107.108.205.230:554/profile2/media.smp/trackID=a;seq=0,url=;seq=0


Started playing session
Receiving streamed data (signal with "kill -HUP 14006" or "kill -USR1
14006" to terminate)...
Received 149 new bytes of response data.
Received a complete (unknown) response:
RTSP/1.0 408 Request Time-out
CSeq: 7
Date: Fri Oct 11 12:48:56 2013 GMT
Expires: Fri Oct 11 12:48:56 2013 GMT
Cache-Control: must-revalidate



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the live-devel mailing list