rtsp/hikvision: fix camera number bug and settings hang

This commit is contained in:
Koushik Dutta
2022-11-18 11:23:51 -08:00
parent 2e59200e5b
commit 03bb6643ca
3 changed files with 5 additions and 3 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.114",
"version": "0.0.115",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/hikvision",
"version": "0.0.114",
"version": "0.0.115",
"license": "Apache",
"dependencies": {
"@koush/axios-digest-auth": "^0.8.5",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.114",
"version": "0.0.115",
"description": "HikVision Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",

View File

@@ -365,6 +365,8 @@ export abstract class RtspSmartCamera extends RtspCamera {
this.constructedVideoStreamOptions = timeoutPromise(5000, this.getConstructedVideoStreamOptions()).finally(() => {
this.constructedVideoStreamOptions = undefined;
});
return this.constructedVideoStreamOptions;
}
putSettingBase(key: string, value: SettingValue): Promise<void> {