Protocol: audio settings - jdeananderson/Lumens-IP-Camera-Control GitHub Wiki

Any change in audio settings always invokes 4 web calls; the first sets if the audio is enabled or disabled, the second adjusts or reaffirms all audio parameters, the fourth runs the reloadflag code, and finally a call to ini.htm is made to query the current settings that the camera now has stored. See example below:

http://192.168.2.136/vb.htm?audioenable=0&_=1575729620818
http://192.168.2.136/vb.htm?encoding=1&samplerate=0&audiomode=0&audioinvolume=9&audiodelayenable=0&audiodelay=1&_=1575729620968
http://192.168.2.136/vb.htm?paratest=reloadflag&_=1575729621067
http://192.168.2.136/ini.htm

Audio enable

Turns the audio on the camera on and off

Function Command Variable Values Comments
Audio enable http://[camera ip]/vb.htm?audioenable=[state]&_=[UTS] [camera ip] Camera’s current ip
[UTS] Current Unix time stamp
[state] 0 Audio disabled
1 Audio enabled

Audio mode

Sets the source of the audio

Function Command Variable Values Comments
Audio mode http://[camera ip]/vb.htm?audiomode=[mode]&_=[UTS] [camera ip] Camera’s current ip
[UTS] Current Unix time stamp
[mode] 0 Line in
1 Mic in

Notes:

  • ini.htm: audiomodename=Line In;Mic In