RTSP简单命令[zt]
OPTIONS rtsp://server.address:port/object.sdp RTSP/1.0\r\n
CSeq: 6\r\n
Session: 1234567890\r\n
\r\n
DESCRIBE rtsp://server.address:port/object.sdp RTSP/1.0\r\n
CSeq: 1\r\n
\r\n
SETUP rtsp://server.address:port/object.sdp/trackID=1 RTSP/1.0\r\n
CSeq: 2\r\n
Transport: RTP/AVP;unicast;client_port=9000-9001\r\n
\r\n
SETUP rtsp://server.address:port/object.sdp/trackID=2 RTSP/1.0\r\n
CSeq: 3\r\n
Session: 1234567890\r\n
Transport: RTP/AVP;unicast;client_port=9000-9001\r\n
\r\n
PLAY rtsp://server.address:port/object.sdp RTSP/1.0\r\n
CSeq: 4\r\n
Session: 1234567890\r\n
\r\n
PAUSE rtsp://server.address:port/object.sdp RTSP/1.0\r\n
CSeq: 5\r\n
Session: 1234567890\r\n
\r\n
TEARDOWN rtsp://server.address:port/object.sdp RTSP/1.0\r\n
CSeq: 6\r\n
Session: 1234567890\r\n
\r\n
阅读(996) | 评论(0) | 转发(0) |