[Live-devel] use openRTSP to record stream

kevin631012 kevin631012 at yahoo.com.tw
Fri Mar 18 23:50:03 PDT 2011


Hi All,
I find a RTSP stream over internet as following 
rtsp://64.202.98.91:554/sa.sdp
so , I use openRTSP to record stream .
openRTSP rtsp://64.202.98.91:554/sa.sdp
file audio-MP4A-LATM-1 is created but doesn't receive any date from RTSP server .
do I do anything wrong ?

following is log message 
...

Created receiver for "audio/MP4A-LATM" subsession (client ports 39958-39959)
Sending request: SETUP rtsp://64.202.98.91:554/sa.sdp/trackID=1 RTSP/1.0
CSeq: 4
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.03.14)
Transport: RTP/AVP;unicast;client_port=39958-39959


Received 319 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux; Release/Darwin; )
Cseq: 4
Cache-Control: no-cache
Session: 3737394569345844655
Date: Sat, 19 Mar 2011 06:31:50 GMT
Expires: Sat, 19 Mar 2011 06:31:50 GMT
Transport: RTP/AVP;unicast;source=64.202.98.91;client_port=39958-39959;server_po                                             rt=6970-6971


Setup "audio/MP4A-LATM" subsession (client ports 39958-39959)
Created output file: "audio-MP4A-LATM-1"
Sending request: PLAY rtsp://64.202.98.91:554/sa.sdp/ RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.03.14)
Session: 3737394569345844655
Range: npt=0.000-


Received 196 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Server: DSS/5.5 (Build/489.7; Platform/Linux; Release/Darwin; )
Cseq: 5
Session: 3737394569345844655
Range: npt=now-
RTP-Info: url=rtsp://64.202.98.91:554/sa.sdp/trackID=1


Started playing session
Receiving streamed data (signal with "kill -HUP 26314" or "kill -USR1 26314" to                                              terminate)...
...

Thanks
Kevin ...


      



More information about the live-devel mailing list