发送describe:
DESCRIBE rtsp://192.168.3.79:8554/h264ESVideoTest RTSP/1.0
CSeq: 2
User-Agent: f:\ffmpeg-encode-decode\流媒体\Live555\live555\live555-latest\TestLive555\Debug\TestRtspClient.exe (LIVE555 Streaming Media v2013.09.18)
Accept: application/sdp
describe应答:
v=0
o=- 1386815785510693 1 IN IP4 192.168.3.79
s=Session streamed by "testOnDemandRTSPServer"
i=h264ESVideoTest
t=0 0
a=tool:LIVE555 Streaming Media v2013.09.18
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "testOnDemandRTSPServer"
a=x-qt-text-inf:h264ESVideoTest
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKzZQFoCJ+XDhAAAAwAEAAADAMg8YMZY,aOvjyyLA
a=control:track1
发送setup:
SETUP rtsp://192.168.3.79:8554/h264ESVideoTest/track1 RTSP/1.0
CSeq: 3
User-Agent: f:\ffmpeg-encode-decode\流媒体\Live555\live555\live555-latest\TestLive555\Debug\TestRtspClient.exe (LIVE555 Streaming Media v2013.09.18)
Transport: RTP/AVP;unicast;client_port=4242-4243
setup应答:
RTSP/1.0 200 OK
CSeq: 3
Date: Fri, Dec 13 2013 02:21:29 GMT
Transport: RTP/AVP;unicast;destination=192.168.3.79;source=192.168.3.79;client_port=4272-4273;server_port=6972-6973
Session: 7E5941BF
发送Play:
PLAY rtsp://192.168.3.79:8554/h264ESVideoTest/ RTSP/1.0
CSeq: 4
User-Agent: f:\ffmpeg-encode-decode\流媒体\Live555\live555\live555-latest\TestLive555\Debug\TestRtspClient.exe (LIVE555 Streaming Media v2013.09.18)
Session: 7E5941BF
Range: npt=0.000-
Play应答:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Dec 13 2013 02:26:00 GMT
Range: npt=0.000-
Session: 7E5941BF
RTP-Info: url=rtsp://192.168.3.79:8554/h264ESVideoTest/track1;seq=26842;rtptime=3078562226