
16
www.dericam.com
Shenzhen Dericam Technology Co,.Ltd
setmobilesnapattr
Function
Set image attributes for mobile phone.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=setmobilesnapattr&-msize=]
Param.
msize
1: The max. resolution for the second stream.
2: The min. resolution for the second stream.
Return
Success: Success.
Fail: Error.
Note
Some kinds of devices do not support to set this attributes, please see
Appendix I for reference.
Example
/cgi-bin/hi3510/param.cgi?cmd=setmobilesnapattr&-msize=1
getaencattr
Function
Get the encode attributes of audio.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=getaencattr&-chn=]
Param.
chn
Channel No.:
11: The first stream.
12: The second stream.
Return
aeswitch_1, aeswitch_2
Whether to enable the switch for audio
encode:
0: Disable
1: Enable
aeformat_1, aeformat_2
The format for audio encode:
g711a: G711A, bit rate is 64Kbps
g726: G726 bit rate is 16Kbps
Note
1. _1 represents the first stream, _2 represents the second stream.
2. The sampling rate for audio is 8K, single track, 16 bit wide.
Example
/cgi-bin/hi3510/param.cgi?cmd=getaencattr&-chn=11
setaencattr
Function
Set the encode attributes of audio.
Privilege
admin