diff --git a/plugins/amcrest/package-lock.json b/plugins/amcrest/package-lock.json index 7ffd7b2cb..174d38b2c 100644 --- a/plugins/amcrest/package-lock.json +++ b/plugins/amcrest/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/amcrest", - "version": "0.0.80", + "version": "0.0.82", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/amcrest", - "version": "0.0.80", + "version": "0.0.82", "license": "Apache", "dependencies": { "@koush/axios-digest-auth": "^0.8.5", diff --git a/plugins/amcrest/package.json b/plugins/amcrest/package.json index 6db2a09d0..542055184 100644 --- a/plugins/amcrest/package.json +++ b/plugins/amcrest/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/amcrest", - "version": "0.0.80", + "version": "0.0.82", "description": "Amcrest Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/amcrest/src/main.ts b/plugins/amcrest/src/main.ts index 033096211..85a5834a9 100644 --- a/plugins/amcrest/src/main.ts +++ b/plugins/amcrest/src/main.ts @@ -7,7 +7,7 @@ import child_process, { ChildProcess } from 'child_process'; import { ffmpegLogInitialOutput } from '../../../common/src/media-helpers'; import net from 'net'; import { listenZero } from "../../../common/src/listen-cluster"; -import { readLength } from "../../../common/src/read-length"; +import { readLength } from "../../../common/src/read-stream"; const { mediaManager } = sdk; diff --git a/plugins/google-device-access/package-lock.json b/plugins/google-device-access/package-lock.json index 7162f886e..b1dd7bb98 100644 --- a/plugins/google-device-access/package-lock.json +++ b/plugins/google-device-access/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/google-device-access", - "version": "0.0.79", + "version": "0.0.81", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/google-device-access", - "version": "0.0.79", + "version": "0.0.81", "dependencies": { "@googleapis/smartdevicemanagement": "^0.2.0", "axios": "^0.21.1", diff --git a/plugins/google-device-access/package.json b/plugins/google-device-access/package.json index 1d2e3ffd4..4ebea32a9 100644 --- a/plugins/google-device-access/package.json +++ b/plugins/google-device-access/package.json @@ -45,5 +45,5 @@ "@types/node": "^14.17.11", "@types/url-parse": "^1.4.3" }, - "version": "0.0.79" + "version": "0.0.81" } diff --git a/plugins/google-device-access/src/main.ts b/plugins/google-device-access/src/main.ts index b3dc3d9e1..2b2afa67f 100644 --- a/plugins/google-device-access/src/main.ts +++ b/plugins/google-device-access/src/main.ts @@ -132,9 +132,10 @@ class NestCamera extends ScryptedDeviceBase implements Readme, Camera, VideoCame try { const msos = await realDevice.getVideoStreamOptions(); const prebuffered: RequestMediaStreamOptions = msos.find(mso => mso.prebuffer); - prebuffered.refresh = false; - if (prebuffered) + if (prebuffered) { + prebuffered.refresh = false; return realDevice.getVideoStream(prebuffered); + } } catch (e) { } @@ -230,7 +231,7 @@ class NestCamera extends ScryptedDeviceBase implements Readme, Camera, VideoCame "-probesize", "1000000", "-reorder_queue_size", "1024", "-max_delay", - "20000000", + "1000000", "-i", u.toString(), ], diff --git a/plugins/hikvision/package-lock.json b/plugins/hikvision/package-lock.json index 4e0560e82..8a99f131b 100644 --- a/plugins/hikvision/package-lock.json +++ b/plugins/hikvision/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/hikvision", - "version": "0.0.88", + "version": "0.0.90", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/hikvision", - "version": "0.0.88", + "version": "0.0.90", "license": "Apache", "dependencies": { "@koush/axios-digest-auth": "^0.8.5", diff --git a/plugins/hikvision/package.json b/plugins/hikvision/package.json index f3e2a3a4c..c64b1ee0e 100644 --- a/plugins/hikvision/package.json +++ b/plugins/hikvision/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/hikvision", - "version": "0.0.88", + "version": "0.0.90", "description": "HikVision Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/onvif/package-lock.json b/plugins/onvif/package-lock.json index 624767f9b..b2e5a87c5 100644 --- a/plugins/onvif/package-lock.json +++ b/plugins/onvif/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/onvif", - "version": "0.0.74", + "version": "0.0.75", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/onvif", - "version": "0.0.74", + "version": "0.0.75", "license": "Apache", "dependencies": { "@koush/axios-digest-auth": "^0.8.5", diff --git a/plugins/onvif/package.json b/plugins/onvif/package.json index 45a302f82..7621dee11 100644 --- a/plugins/onvif/package.json +++ b/plugins/onvif/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/onvif", - "version": "0.0.74", + "version": "0.0.75", "description": "ONVIF Camera Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/rtsp/package-lock.json b/plugins/rtsp/package-lock.json index e2b9a746c..ae6011e9a 100644 --- a/plugins/rtsp/package-lock.json +++ b/plugins/rtsp/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/rtsp", - "version": "0.0.43", + "version": "0.0.44", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/rtsp", - "version": "0.0.43", + "version": "0.0.44", "license": "Apache", "dependencies": { "@koush/axios-digest-auth": "^0.8.5", diff --git a/plugins/rtsp/package.json b/plugins/rtsp/package.json index b36db5362..41f96dbab 100644 --- a/plugins/rtsp/package.json +++ b/plugins/rtsp/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/rtsp", - "version": "0.0.43", + "version": "0.0.44", "description": "RTSP Cameras and Streams Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/rtsp/src/rtsp.ts b/plugins/rtsp/src/rtsp.ts index 44dd8a13d..6cd5ee2b5 100644 --- a/plugins/rtsp/src/rtsp.ts +++ b/plugins/rtsp/src/rtsp.ts @@ -82,7 +82,7 @@ export class RtspCamera extends CameraBase { "-reorder_queue_size", "1024", "-max_delay", - "20000000", + "1000000", "-i", stringUrl, ], diff --git a/plugins/synology-ss/package-lock.json b/plugins/synology-ss/package-lock.json index 28a794e14..7870f1069 100644 --- a/plugins/synology-ss/package-lock.json +++ b/plugins/synology-ss/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/synology-ss", - "version": "0.0.8", + "version": "0.0.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/synology-ss", - "version": "0.0.8", + "version": "0.0.9", "license": "Apache", "dependencies": { "axios": "^0.24.0" diff --git a/plugins/synology-ss/package.json b/plugins/synology-ss/package.json index 5f76f40f1..068649172 100644 --- a/plugins/synology-ss/package.json +++ b/plugins/synology-ss/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/synology-ss", - "version": "0.0.8", + "version": "0.0.9", "description": "A Synology Surveillance Station plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/synology-ss/src/main.ts b/plugins/synology-ss/src/main.ts index 19e654dcf..0cfd58c03 100644 --- a/plugins/synology-ss/src/main.ts +++ b/plugins/synology-ss/src/main.ts @@ -122,7 +122,7 @@ class SynologyCameraDevice extends ScryptedDeviceBase implements Camera, HttpReq "-reorder_queue_size", "1024", "-max_delay", - "20000000", + "1000000", "-i", liveViewPaths[0].rtspPath, ], diff --git a/plugins/unifi-protect/package-lock.json b/plugins/unifi-protect/package-lock.json index a74f893bf..bd345a567 100644 --- a/plugins/unifi-protect/package-lock.json +++ b/plugins/unifi-protect/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/unifi-protect", - "version": "0.0.88", + "version": "0.0.90", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/unifi-protect", - "version": "0.0.88", + "version": "0.0.90", "license": "Apache", "dependencies": { "@koush/unifi-protect": "file:../../external/unifi-protect", diff --git a/plugins/unifi-protect/package.json b/plugins/unifi-protect/package.json index 4476d09ca..ad7f94294 100644 --- a/plugins/unifi-protect/package.json +++ b/plugins/unifi-protect/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/unifi-protect", - "version": "0.0.88", + "version": "0.0.90", "description": "Unifi Protect Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/unifi-protect/src/camera.ts b/plugins/unifi-protect/src/camera.ts index 2c339743b..e18d3b644 100644 --- a/plugins/unifi-protect/src/camera.ts +++ b/plugins/unifi-protect/src/camera.ts @@ -139,7 +139,7 @@ export class UnifiCamera extends ScryptedDeviceBase implements Notifier, Interco "-profile:a", "aac_low", "-threads", "0", "-avioflags", "direct", - "-max_delay", "3000000", + "-max_delay", "1000000", "-flush_packets", "1", "-flags", "+global_header", "-ar", camera.talkbackSettings.samplingRate.toString(), @@ -323,7 +323,7 @@ export class UnifiCamera extends ScryptedDeviceBase implements Notifier, Interco "-reorder_queue_size", "1024", "-max_delay", - "20000000", + "1000000", "-i", u, ],