diff --git a/plugins/hikvision/package-lock.json b/plugins/hikvision/package-lock.json index 419e2dd9c0..e43cfee962 100644 --- a/plugins/hikvision/package-lock.json +++ b/plugins/hikvision/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/hikvision", - "version": "0.0.147", + "version": "0.0.148", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/hikvision", - "version": "0.0.147", + "version": "0.0.148", "license": "Apache", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/hikvision/package.json b/plugins/hikvision/package.json index 722c84d4fa..df71a7d71b 100644 --- a/plugins/hikvision/package.json +++ b/plugins/hikvision/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/hikvision", - "version": "0.0.147", + "version": "0.0.148", "description": "Hikvision Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/hikvision/src/hikvision-camera-api.ts b/plugins/hikvision/src/hikvision-camera-api.ts index 8fa6b53eb7..5cd171f828 100644 --- a/plugins/hikvision/src/hikvision-camera-api.ts +++ b/plugins/hikvision/src/hikvision-camera-api.ts @@ -189,7 +189,9 @@ export class HikvisionCameraAPI { continue; if (ignore === boundaryEnd) continue; - if (ignore !== boundary) { + if (ignore !== boundary + // older hikvision nvr send a boundary in the headers, but then use a totally different constant boundary value + && ignore != "--boundary") { this.console.error('expected boundary but found', ignore); throw new Error('expected boundary'); }