VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
Example12:
GETrequest.
Request:
GETaxis-media/media.amp?videocodec=h264&audio=0HTTP/1.0
x-sessioncookie:123456789
Response:
HTTP/1.0200OK
Content-Type:application/x-rtsp-tunnelled
Example13:
POSTrequest.ThereisnoresponsefromtheAxisproduct.
Request:
POSTaxis-media/media.amp?videocodec=h264&audio=0HTTP/1.0
x-sessioncookie:123456789
Content-Length:32767
Content-Type:application/x-rtsp-tunnelled
AfterthisrequesthasbeensentitispossibletosendRTSPrequestslikebelow.
DESCRIBErtsp://myserver/axis-media/media.amp?videocodec=h264RTSP/1.0
CSeq:14
User-Agent:AxisAMC
Accept:application/sdp

3.3.1NetworkParameters

ThefollowingparametersintheNetwork.RTSPgroupcontrolRTSPauthentication.
[Network.RTSP]
ParameterDefault
values
ValidvaluesAccesscontrolDescription
AuthenticateOverHTTPno1yes
noadmin:readPerformaRTSP
authenticationwhen
tunnelingRTSPoverHTTP.
yes=TheRTSPserver
requestsauthentication.
Thisismaderegardless
iftheHTTP-connectionis
authenticatedornot.
no=TheRTSPserverwill
notrequestauthentication.
Itisassumedthatthe
HTTP-connectionalreadyis
authenticated.
1.EvenifthecurrentdefaultbehaviorisnottorequireRTSPauthenticationwhentunnellingthroughHTTP,thiswillprobablychangeinthefuture.
ItisthereforestronglyrecommendedtoimplementRTSPDigestauthenticationforallclientsthatuseRTSPoverHTTP.

3.4ParameterSpecicationRTSPURL

RTSPAPIprovidesparametersforrequestingmediastreamswithspecicpropertiesandforimagesettings.Theparametersare
enteredintheRTSPURL.
23