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