Stream Publish
SrtKey (SRT
Effectie)
{"SetEnv":{"StreamPublish":[{"stMaster":
{"wHostPort":19355,"nProtolType":3,"szSrtKey":"0123456789"},
"nChannel":0}]}}
szSrtKey user-defined
SrtKeyLen
(SRTEffectie)
{"SetEnv":{"StreamPublish":[{"stMaster":
{"wHostPort":19355,"nProtolType":3,"wSrtKeyLen":"0"},
"nChannel":0}]}}
wSrtKeyLen [0-32]
(RTP) Multicast Streaming
RTP Multicast
Get rtp multicast parameters
Code {"GetEnv":{"StreamRTPMulticast":{"nChannel":-1}}}
Set rtp multicast parameters
Code {"SetEnv":{"StreamRTPMulticast":[{"stSlave":
{"nProtolType":0,"bEnable":0,"wMultiCastPort":4002,
"szMultiCastUrl":"224.1.2.3"},"stMaster":
{"nProtolType":1,"bEnable":0,"wMultiCastPort":4000,
"szMultiCastUrl":"224.1.2.3"},"nChannel":0}]}}
NOTE: When modifying one param you should take along bEnable and awMultiCastPort. Otherwise, it will be set to 0.
Suggesting that when setting env, you can distinguish the stMaster and stSlave.
RTP Multicast Settings
RTP Multicast Settings
Function Code Command Setting
Enable {"SetEnv":{"StreamRTPMulticast":[{"stMaster":
{"bEnable":1,"wMultiCastPort":4004},"nChannel":0}]}}
bEnable 0: off
1: on
Protol Type {"SetEnv":{"StreamRTPMulticast":[{"stMaster":
{"bEnable":1,"nProtolType":1,"wMultiCastPort":4004},
"nChannel":0}]}}
nProtolType 0: RTP
1: TS
Multicast Address {"SetEnv":{"StreamRTPMulticast":[{"stMaster":
{"bEnable":0,"szMultiCastUrl":"224.1.2.23","wMultiCastPort":
4004}, "nChannel":0}]}}
SzMultiCastUrl 224.0.0.0~
255.255.255.0
Multicast Port {"SetEnv":{"StreamRTPMulticast":[{"stMaster":
{"bEnable":1,"wMultiCastPort":4004},"nChannel":0}]}}
wMultiCastPort Even [0, 65535]
Camera Settings
Video Parameters
Get video parameters
Code {"GetEnv":{"VideoParam":{"nChannel":-1}}}
Set video parameters
Focus
Function Code Command Setting
Focus Mode {"SetEnv":
{"VideoParam":
[{"stAF":
{"emAFMode":2},"nChannel":0}]}}
emAFMode 2:
3:
4:
Auto
Manual
OnePush
AF-Zone {"SetEnv":
{"VideoParam":
[{"stAF":
{"emAFZone":1},"nChannel":0}]}}
emAFZone 0:
1:
2:
3:
Top
Center
Bottom
All
  User Manual | www.avonic.com 13