node-red-contrib-hik-media-buffer 1.1.68 → 1.1.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -165,6 +165,8 @@ module.exports = function(RED) {
165
165
 
166
166
  node.warn(`[warn] [hik-media-buffer:test] [TENTATIVO 1] Ricerca video in Ora Locale: ${startLocale} -> ${endLocale}`);
167
167
 
168
+ const trackVideoId = (parsedChannel * 100) + 1;
169
+
168
170
  let payloadLocale = {
169
171
  "EventSearchDescription": {
170
172
  "searchID": "BA80CAF2-A1E5-42E3-8624-529C3D6665D7",
@@ -172,7 +174,7 @@ module.exports = function(RED) {
172
174
  "maxResults": 10,
173
175
  "timeSpanList": [{"startTime": startLocale, "endTime": endLocale}],
174
176
  "type": "all",
175
- "channels": [parsedChannel],
177
+ "channels": [trackVideoId],
176
178
  "eventType": "behavior",
177
179
  "behavior": {"behaviorEventType": evMinuscolo}
178
180
  }
@@ -206,7 +208,7 @@ module.exports = function(RED) {
206
208
  "maxResults": 10,
207
209
  "timeSpanList": [{"startTime": startUtc, "endTime": endUtc}],
208
210
  "type": "all",
209
- "channels": [parsedChannel],
211
+ "channels": [trackVideoId],
210
212
  "eventType": "behavior",
211
213
  "behavior": {"behaviorEventType": evMinuscolo}
212
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-hik-media-buffer",
3
- "version": "1.1.68",
3
+ "version": "1.1.69",
4
4
  "description": "Ottiene buffer video e immagine da camere Hikvision via ISAPI",
5
5
  "keywords": [
6
6
  "node-red",