Specifications
VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
Content-Type
Themediatypeofthecontent.
User-Agent
Informationabouttheclientthatinitiatestherequest.
Require
Querywhetheranoptionissupported.Unsupportedfeatures
arelistedintheUnsupportedheadereld.Seeexample2in
section3.2.10RTSPSET_PARAMETER.
3.2.2ResponseSyntax
Syntax:
RTSP/1.0<StatusCode><ReasonPhrase><CRLF>
Headerfield1:val3<CRLF>
Headerfield2:val4<CRLF>
...
[Body]
Therstresponselinecontainsastatuscodeandareasonphraseindicatingthesuccessorfailureoftherequest.Thestatuscodes
aredescribedinRFC2326.
ThefollowingheadereldscanbeincludedinallRTSPresponsemessages:
HeaderFieldDescription
CSeq
Responsesequencenumber(matchesthesequencenumberof
therequest).
Session
Sessionidentier.
WWW-Authenticate
Authenticationfromclientrequested.
Date
Dateandtimeoftheresponse.
Unsupported
FeaturesnotsupportedbytheAxisproduct.
3.2.3RTSPDESCRIBE
TheDESCRIBEcommandisusedtorequestanSDPdescriptionofthemediastream(s).TheSessionDescriptionProtocol(SDP)is
describedinRFC2327.
TheDESCRIBErequestacceptstheadditionalheadereld:
HeaderFieldDescription
Accept
Listofcontenttypesthatclientsupports(application/sdp
istheonlysupportedtype).
TheresponsetotheDESCRIBEcommandcontainstheadditionalheaderelds:
HeaderFieldDescription
Content-Type
Typeofcontent(application/sdp).
Content-Length
LengthofSDPdescription.
Content-Base
IfrelativeURLsareusedintheSDPdescription,thisisthebase
URL.
Example1:
16