node-red-contrib-hik-media-buffer 1.1.125 → 1.1.127

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.
@@ -142,6 +142,8 @@ module.exports = function(RED) {
142
142
  const startSearchStr = toHikSearchDate(inizioFinestra);
143
143
  const endSearchStr = toHikSearchDate(fineFinestra);
144
144
 
145
+ node.warn(`[DEBUG HIK] Avvio ricerca video. Canale: ${channelID}. Cerco da: ${startSearchStr} a: ${endSearchStr}`);
146
+
145
147
  let output = {
146
148
  tipo_messaggio: "evento",
147
149
  nome_cliente: node.name,
@@ -221,6 +223,8 @@ module.exports = function(RED) {
221
223
  });
222
224
 
223
225
  const xmlString = resVideoSearch.data.toString();
226
+ node.warn(`[DEBUG HIK] Risposta XML dell'NVR:\n${xmlString}`);
227
+
224
228
  const uriMatch = xmlString.match(/<playbackURI>([\s\S]*?)<\/playbackURI>/i);
225
229
 
226
230
  if (uriMatch && uriMatch[1]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-hik-media-buffer",
3
- "version": "1.1.125",
3
+ "version": "1.1.127",
4
4
  "description": "Ottiene buffer video e immagine da camere Hikvision via ISAPI",
5
5
  "keywords": [
6
6
  "node-red",