Project

hik_ISAPI

0.0
No release in over a year
Ruby Hikvision ISAPI Interface
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 2.21
~> 0.21
~> 1.14
 Project Readme

hikvision

Ruby ISAPI Hikvision Interface

example

require 'hikvision'

cam = Hikvision::ISAPI.new('192.168.10.32', 'user', 'password')

channel = cam.streaming.channel(101)

puts channel.name
channel.name = 'NEW NAME'
channel.video_codec = 'H.264'
channel.update

hikvision cli example

$ hikvision -u user -p password -h 192.168.0.32 channel 101 --video-codec --video-framerate
H.264
30.0
$ hikvision -u user -p password -h 192.168.0.32 channel 101 --set-video-codec H.265

$ hikvision -u user -p password -h 192.168.0.32 channel 101 --video-codec
H.265