VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
Request:
http://myserver/axis-cgi/mjpg/video.cgi?&streamprofile=myprofile

5.5RTSPRequest

SavedstreamprolesarealsoconvenientwhenrequestingvideostreamsusingRTSP.Thevalueofaparametersavedinthestream
prolecanbeoverriddenintheRTSPrequestbyspecifyinganewvalueafterthestreamproleargument.
Syntax:
COMMANDrtsp://<servername>/axis-media/media.amp
?<argument>=<value>[&<argument>=<value>...]RTSP/1.0
Headerfield1:val1<CRLF>
Headerfield2:val1<CRLF>
...
<CRLF>
[Body]
Withthefollowingarguments:
ArgumentValidvaluesDescription
streamprofile=<string>NameofstreamproleThenameofthestreamprole.Supported
streamprolenamesarestoredinthe
StreamProfile.S#.Name
parameters.
AdditionalargumentsSeepage23foracompletelist.
Example6:
StreamprolesinRTSPrequests.Thevalueofaparametersavedinthestreamprolecanbeoverriddenbyspecifyinganew
parametervalueafterstreamprofile.Here,myprofile2(denedabove)isusedbuttheresolutionischangedto640x480.
Request:
DESCRIBErtsp://myserver/axis-media/media.amp?
streamprofile=myprofile2&resolution=640x480RTSP/1.0
CSeq:0
User-Agent:AxisAMC
Accept:application/sdp
31