In Dashticz, users can display their cameras using buttons, like this:
Code: Select all
var buttons = {}
buttons.webcam = {width:12, isimage:true, refresh:2000, btnimage: 'http://ip_url_to_webcam', url: 'http://ip_url_to_webcam', framewidth:500, frameheight:400}
I have been using this with 8 of my Hikvision IP cameras. They display the image fine in the dashboard. But when I click on the image, all I see is an empty popup window (modal), that fills less than half my screen.
Is there any demand for a
dedicated block in Dashticz, specifically for IP cameras?
If so, what kind of block settings would we like to see? Mock-up below as a starter for ten ...
Code: Select all
blocks['garage_cam] = {
type: 'camera'
imageUrl: 'http://192.168.1.234:5678?res=640x480&snapshot=1',
videoUrl: 'http://192.168.1.234:5678?res=1920x1080&fps=15',
refresh: 1000,
width: 6,
height: 300
}
Understandably, only certain camera stream protocols are supported. Browsers can natively play HTTP streams, but
not RTSP streams. The latter requires client side plugins (e.g. VLC, ActiveX, etc) or server side conversion. If you have IP cameras, and you can view your streams via HTTP protocol (as shown in the example above), then you will be able to view them in Dashticz - using the current 'buttons' method, or any new 'dedicated' block method (if implemented).
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."