
Video Streaming API
This document is copyright protected and is the property of Axis Communications AB and may not be copied, reproduced or distributed in any way without
the prior written consent of Axis Communications AB.
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:
S5 OK
Example 3:
Congure a stream prole. In this example the prole is named myprofile and the Parameters string contains the following
arguments: resolution=CIF, text=1 and textstring=CIF prole. See2.7 Image RequestArguments, on page13 what
arguments that could be used in the Parameters string.
Note
Characters in the Parameters string must be URL-encoded, so
resolution=CIF&text=1&textstring=CIF%20profile becomes
resolution%3dCIF%26text%3d1%26textstring%3dCIF%2520profile.
The blank space is encoded as %20, the equal sign (=) as %3d, the ampersand (&) as %26 and the percent sign is encoded
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
Example 4:
List the parameters of a stream prole.
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.3 Stream Prole Parameters
The parameters in the StreamProfile group control stream prole settings.
29