首页 > 代码库 > 多媒体开发之---H264 RTSP交互过程

多媒体开发之---H264 RTSP交互过程

 

OPTIONS rtsp://192.168.1.154:8557/h264 RTSP/1.0 
CSeq: 1 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 1 
Date: Sat, Jan 01 2000 00:05:11 GMT 
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE 
 
DESCRIBE rtsp://192.168.1.154:8557/h264 RTSP/1.0 
CSeq: 2 
Accept: application/sdp 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 2 
Date: Sat, Jan 01 2000 00:05:11 GMT 
Content-Base: rtsp://192.168.1.154:8557/h264/ 
Content-Type: application/sdp 
Content-Length: 470 
 
v=0 
o=- 946685052188730 1 IN IP4 192.168.1.154 
s=RTSP/RTP stream from IPNC 
i=h264 
t=0 0 
a=tool:LIVE555 Streaming Media v2008.04.02 
a=type:broadcast 
a=control:* 
a=range:npt=0- 
a=x-qt-text-nam:RTSP/RTP stream from IPNC 
a=x-qt-text-inf:h264 
m=video 0 RTP/AVP 96 
c=IN IP4 0.0.0.0 
a=rtpmap:96 H264/90000 
a=fmtp:96 packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=h264 
a=control:track1 
m=audio 0 RTP/AVP 0 
c=IN IP4 0.0.0.0 
a=control:track2 
SETUP rtsp://192.168.1.154:8557/h264/track1 RTSP/1.0 
CSeq: 3 
Transport: RTP/AVP;unicast;client_port=35888-35889 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 3 
Date: Sat, Jan 01 2000 00:05:16 GMT 
Transport: RTP/AVP;unicast;destination=192.168.1.18;source=192.168.1.154;client_port=35888-35889;server_port=6970-6971 
Session: 1 
 
SETUP rtsp://192.168.1.154:8557/h264/track2 RTSP/1.0 
CSeq: 4 
Transport: RTP/AVP;unicast;client_port=50764-50765 
Session: 1 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 4 
Date: Sat, Jan 01 2000 00:05:16 GMT 
Transport: RTP/AVP;unicast;destination=192.168.1.18;source=192.168.1.154;client_port=50764-50765;server_port=6972-6973 
Session: 1 
 
PLAY rtsp://192.168.1.154:8557/h264/ RTSP/1.0 
CSeq: 5 
Session: 1 
Range: npt=0.000- 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 5 
Date: Sat, Jan 01 2000 00:05:16 GMT 
Range: npt=0.000- 
Session: 1 
RTP-Info: url=rtsp://192.168.1.154:8557/h264/track1;seq=25135;rtptime=1739010925,url=rtsp://192.168.1.154:8557/h264/track2;seq=2530;rtptime=931378510
 
TEARDOWN rtsp://192.168.1.154:8557/h264/ RTSP/1.0 
CSeq: 6 
Session: 1 
User-Agent: VLC media player (LIVE555 Streaming Media v2010.05.28) 
 
RTSP/1.0 200 OK 
CSeq: 6 
Date: Sat, Jan 01 2000 00:05:27 GMT

http://blog.csdn.net/bluebirdssh/article/details/6215489

多媒体开发之---H264 RTSP交互过程