@scrypted/amcrest
Advanced tools
{ | ||
"name": "@scrypted/amcrest", | ||
"version": "0.0.71", | ||
"version": "0.0.72", | ||
"description": "Amcrest Plugin for Scrypted", | ||
@@ -5,0 +5,0 @@ "author": "Scrypted", |
@@ -42,6 +42,6 @@ import sdk, { MediaObject, Camera, ScryptedInterface, Setting, ScryptedDeviceType, Intercom, FFMpegInput, ScryptedMimeTypes, PictureOptions } from "@scrypted/sdk"; | ||
events.on('error', e => ret.emit('error', e)); | ||
events.on('data', data => { | ||
events.on('data', (data: Buffer) => { | ||
if (this.storage.getItem('debug')) | ||
this.console.log('event', data); | ||
}) | ||
this.console.log('event', data.toString()); | ||
}); | ||
events.on('event', (event: AmcrestEvent, index: string) => { | ||
@@ -48,0 +48,0 @@ const channelNumber = this.getRtspChannel(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
226197
0.05%