Das Multimedia Menü :: Audio


param.cgi?cmd=getaudioinvolume

Get the Volume the Audio Input

  • volume: Audio input volume: 1 - 100
  • volin_type: 0: linear input, 1: microphone input
  • aec: audio encoder: 0, 1
  • denoise: Noise surpression: 0, 1

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getaudioinvolume
GET: http://192.168.2.168/param.cgi?cmd=getaudioinvolume&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setaudioinvolume&-volume=80&-volin_type=1

param.cgi?cmd=getaudiooutvolume

Get the Volume the Audio Output

  • ao_volume: Audio input volume: 1 - 100

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getaudiooutvolume
GET: http://192.168.2.168/param.cgi?cmd=getaudiooutvolume&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setaudiooutvolume&-ao_volume=94


param.cgi?cmd=getaencattr&-chn=[1,2 or 3]

Be aware: the g726 audio format is not widely supported. It is recommend to leave everything at g711a

Get Audio Encoder Parameter

  • chn: 1st, 2nd or 3rd audio channel: 1, 2, 3
  • aeswitch_[1,2 or 3]: Audio encode switch on, off: 1, 0
  • aeformat: Audio encode format g711a: G711A 64Kbps, g726: G726 16Kbps

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getaencattr&-chn=2
GET: http://192.168.2.168/param.cgi?cmd=getaencattr&-chn=2&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setaencattr&-chn=2&-aeswitch=1&-aeformat=g711a