hikvision: remove logging

This commit is contained in:
Koushik Dutta
2021-10-14 13:21:46 -07:00
parent 0620809377
commit bb1e60f425
3 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.53",
"version": "0.0.54",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/hikvision",
"version": "0.0.53",
"version": "0.0.54",
"license": "Apache",
"dependencies": {
"@mhoc/axios-digest-auth": "^0.7.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.53",
"version": "0.0.54",
"description": "HikVision Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",

View File

@@ -78,7 +78,7 @@ export class HikVisionCameraAPI {
stream.on('data', (buffer: Buffer) => {
const data = buffer.toString();
this.console.log(data);
// this.console.log(data);
for (const event of Object.values(HikVisionCameraEvent)) {
if (data.indexOf(event) !== -1) {
const channel = data.match(/<channelID>(.*?)</)?.[1] || data.match(/<dynChannelID>(.*?)</)?.[1];