-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I receive the error DAHUA: ERROR: Camera xxx does not seem to support event streaming from this line: servers/dahua/server.go
I've checked the response of this camera from: http://192.168.1.xxx/cgi-bin/eventManager.cgi?action=attach&heartbeat=10&channel=5&codes=[All] and the Content-Type response header looks fine - multipart/x-mixed-replace; boundary=myboundary.
Here's my configuration:
debug: true
dahua:
enabled: true
cams:
xxx:
address: 192.168.1.xxx
https: false
username: admin
password: xxx
# IF ALL EVENTS ARE NEEDED - DELETE OR COMMENT FOLLOWING LINE
#events: VideoMotion,CrossLineDetection,AlarmLocal,VideoLoss,VideoBlind
events: AlarmLocal,VideoLoss,VideoBlind
mqtt:
enabled: true
username: user
password: "zzz"
port: 1883
server: "192.168.1.zzz"
topicroot: camera-alarms
and the log:
Added Dahua camera:
name: xxx
url: http://192.168.1.xxx
username: admin
password set: true
STARTING...
CONFIG:
SERVER: Hisilicon - enabled: true
port: 15002
SERVER: Hikvision - enabled: false
camera count: 0
SERVER Dahua enabled: true
camera count: 1
SERVER: FTP - enabled: false
port: 21
files allowed: true
password set: true
root path: ./ftp
BUS: MQTT - enabled: true
port: 1883
topicRoot: camera-alarms
server: 192.168.1.zzz
username: user
password set: true
BUS: Webhooks - enabled: false
count: 0
Initializing MQTT bus...
MQTT BUS INITIALIZED
STARTED HISILICON SERVER
DAHUA: Adding camera xxx: http://192.168.1.xxx
MQTT: CONNECTED TO 192.168.1.zzz
MQTT: Sent message to camera-alarms/alarmserver
DAHUA: USING DIGEST AUTH
DAHUA: Media type is multipart/x-mixed-replace
DAHUA: Read event body: Heartbeat
Please advise what I can do about it...
Metadata
Metadata
Assignees
Labels
No labels