API

tinyCam Monitor PRO web server uses API which is partitially compatible with Axis IP cameras. You can use any IP camera viewer software to view tinyCam server remotely.

Motion JPEG video request

Guest and admin. The /axis-cgi/mjpg/video.cgi is used to request a Motion JPEG video stream with specified arguments.

 http://<servername>/axis-cgi/mjpg/video.cgi[?<argument>=<value>[&<argument>=<value>...]] 


Parameters:

 camera=<string>
Selects the video source. 1..n. Optional.

 fps=<int>
Image frame rate. 0 - unlimited. Optional.

 compression=<int>
Adjusts the compression level of the image. Higher values correspond to higher compression, that is lower quality and smaller image size. Optional.

 resolution=<string>
Resolution [width]x[height] of the returned image, e.g. 640x480. Optional.


Examples:

http://192.168.0.3:8083/axis-cgi/mjpg/video.cgi
http://192.168.0.3:8083/axis-cgi/mjpg/video.cgi?camera=2&fps=1&compression=80&resolution=320x240
http://pastebin.com/NCWWSQxa (matrix 2x2)

Background mode

Admin only. The root.BackgroundMode parameter is used to switch on/off background mode in tinyCam Monitor.

 http://<servername>/param.cgi?action=update&root.BackgroundMode=<string> 


Parameters:

 root.BackgroundMode=<string>
Can be on or off. Mandatory.


Examples:

http://192.168.0.3:8083/param.cgi?action=update&root.BackgroundMode=on
http://192.168.0.3:8083/param.cgi?action=update&root.BackgroundMode=off

Low-bandwidth profile

Admin only. The root.LowBandwidthProfile parameter is used to switch on/off low-bandwidth profile in tinyCam Monitor.

 http://<servername>/param.cgi?action=update&root.LowBandwidthProfile=<string> 


Parameters:

 root.LowBandwidthProfile=<string>
Can be on or off. Mandatory.


Examples:

http://192.168.0.3:8083/param.cgi?action=update&root.LowBandwidthProfile=on
http://192.168.0.3:8083/param.cgi?action=update&root.LowBandwidthProfile=off

Notificaions

Admin only. The root.Notifications parameter is used to switch on/off notifications in tinyCam Monitor.

 http://<servername>/param.cgi?action=update&root.Notifications=<string>[&tag=<string>] 


Parameters:

 root.Notifications=<string>
Can be on or off. Mandatory.

 tag=<string>
Tag name. Optional. If specified the app sends "Motion Detection On" or "Motion Detection Off" command to all cameras under the tag for changing on-camera motion detection.


Examples:

http://192.168.0.3:8083/param.cgi?action=update&root.Notifications=on
http://192.168.0.3:8083/param.cgi?action=update&root.Notifications=on&tag=Office
http://192.168.0.3:8083/param.cgi?action=update&root.Notifications=off
http://192.168.0.3:8083/param.cgi?action=update&root.Notifications=off&tag=Home

Power safe mode

Admin only. The root.PowerSafeMode parameter is used to switch on/off power safe mode in tinyCam Monitor.

 http://<servername>/param.cgi?action=update&root.PowerSafeMode=<string> 


Parameters:

 root.PowerSafeMode=<string>
Can be on or off. Mandatory.


Examples:

http://192.168.0.3:8083/param.cgi?action=update&root.PowerSafeMode=on
http://192.168.0.3:8083/param.cgi?action=update&root.PowerSafeMode=off

Delete file

Admin only. action=delete with root.Filename parameter used to delete recorded MP4 or JPEG files in tinyCam Monitor.

 http://<servername>/param.cgi?action=delete&root.Filename=<string> 


Parameters:

 root.Filename=<string>
Filename. Mandatory.


Examples:

http://192.168.0.3:8083/param.cgi?action=delete&root.Filename=/IPV68P2P/2016-10-21%2010.03.33.mp4

Reboot Android device

Admin only. Root required.

 http://<servername>/reboot.cgi


Parameters:

None.


Examples:

http://192.168.0.3:8083/reboot.cgi