node-red-contrib-hik-media-buffer 1.1.24 → 1.1.25

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.
@@ -231,7 +231,7 @@ module.exports = function(RED) {
231
231
  if (isClosing) return;
232
232
  const nvrAuth = new AxiosDigestAuth({ username: node.user, password: node.pass });
233
233
  const url = `${node.protocol}://${node.host}:${node.port}/ISAPI/Event/notification/alertStream`;
234
- nvrAuth.request({ method: 'GET', url: url, responseType: 'stream', timeout:4000, httpsAgent: node.protocol === "https" ? httpsAgent : undefined })
234
+ nvrAuth.request({ method: 'GET', url: url, responseType: 'stream', httpsAgent: node.protocol === "https" ? httpsAgent : undefined })
235
235
  .then(response => {
236
236
  streamRequest = response;
237
237
  if (!nvrOnline) { node.send({ payload: { tipo_messaggio: "status", stato_telecamera: "online", ip: node.host, msg: "NVR Online", nome_cliente: node.name } }); nvrOnline = true; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-hik-media-buffer",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "Ottiene buffer video e immagine da camere Hikvision via ISAPI",
5
5
  "keywords": [
6
6
  "node-red",