VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
Request:
http://myserver/axis-cgi/param.cgi?action=add
&template=streamprofile
&group=StreamProfile
&StreamProfile.S.Name=myprofile2
StreamProfile.S.Description=My%204CIF%20profile
&StreamProfile.S.Parameters=videocodec%3dh264
%26resolution%3d4CIF%26text%3d1%26textstring%3d4CIF%2520profile
Response:
S5OK
Example3:
Congureastreamprole.InthisexampletheproleisnamedmyprofileandtheParametersstringcontainsthefollowing
arguments:resolution=CIF,text=1andtextstring=CIFprole.See2.7ImageRequestArguments,onpage13what
argumentsthatcouldbeusedintheParametersstring.
Note
CharactersintheParametersstringmustbeURL-encoded,so
resolution=CIF&text=1&textstring=CIF%20profilebecomes
resolution%3dCIF%26text%3d1%26textstring%3dCIF%2520profile.
Theblankspaceisencodedas%20,theequalsign(=)as%3d,theampersand(&)as%26andthepercentsignisencoded
as%25.
Request:
http://myserver/axis-cgi/param.cgi?action=update
&StreamProfile.S4.Name=myprofile
&StreamProfile.S4.Description=My%20CIF%20profile
&StreamProfile.S4.Parameters=resolution%3dCIF%26text%3d1%26textstring%3dCIF%2520
profile
Response:
OK
Example4:
Listtheparametersofastreamprole.
Request:
http://myserver/axis-cgi/param.cgi?action=list&group=StreamProfile.S5
Response:
root.StreamProfile.S5.Name=myprofile2
root.StreamProfile.S5.Description=My%204CIF%20profile
root.StreamProfile.S5.Parameters=videocodec%3dh264
%26resolution%3d4CIF%26text%3d1
%26textstring%3d4CIF%2520profile

5.3StreamProleParameters

TheparametersintheStreamProfilegroupcontrolstreamprolesettings.
29