@camstack/addon-provider-rtsp 1.2.111 → 1.2.113
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.
- package/dist/addon.js +64 -1
- package/dist/addon.mjs +64 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5384,7 +5384,7 @@ var ZodIssueCode = {
|
|
|
5384
5384
|
var ZodFirstPartyTypeKind;
|
|
5385
5385
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5386
5386
|
//#endregion
|
|
5387
|
-
//#region ../types/dist/sleep-
|
|
5387
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5388
5388
|
/**
|
|
5389
5389
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5390
5390
|
* window to float samples (D455).
|
|
@@ -31197,6 +31197,26 @@ var PtzHomePresetSchema = object({
|
|
|
31197
31197
|
"none"
|
|
31198
31198
|
])
|
|
31199
31199
|
});
|
|
31200
|
+
/**
|
|
31201
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31202
|
+
* after how long.
|
|
31203
|
+
*
|
|
31204
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31205
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31206
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31207
|
+
* can disagree.
|
|
31208
|
+
*
|
|
31209
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31210
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31211
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31212
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31213
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31214
|
+
* return at all.
|
|
31215
|
+
*/
|
|
31216
|
+
var PtzHomeReturnSchema = object({
|
|
31217
|
+
enabled: boolean(),
|
|
31218
|
+
seconds: number().int()
|
|
31219
|
+
});
|
|
31200
31220
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31201
31221
|
deviceId: number(),
|
|
31202
31222
|
presetId: string()
|
|
@@ -31219,6 +31239,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31219
31239
|
}), _void(), {
|
|
31220
31240
|
kind: "mutation",
|
|
31221
31241
|
auth: "admin"
|
|
31242
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31243
|
+
kind: "mutation",
|
|
31244
|
+
auth: "admin"
|
|
31245
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31246
|
+
deviceId: number(),
|
|
31247
|
+
enabled: boolean(),
|
|
31248
|
+
seconds: number().int().min(0).max(3600)
|
|
31249
|
+
}), _void(), {
|
|
31250
|
+
kind: "mutation",
|
|
31251
|
+
auth: "admin"
|
|
31222
31252
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31223
31253
|
deviceId: number(),
|
|
31224
31254
|
enabled: boolean()
|
|
@@ -40527,6 +40557,12 @@ Object.freeze({
|
|
|
40527
40557
|
addonId: null,
|
|
40528
40558
|
access: "create"
|
|
40529
40559
|
},
|
|
40560
|
+
"ptz.captureHomeHere": {
|
|
40561
|
+
capName: "ptz",
|
|
40562
|
+
capScope: "device",
|
|
40563
|
+
addonId: null,
|
|
40564
|
+
access: "create"
|
|
40565
|
+
},
|
|
40530
40566
|
"ptz.continuousMove": {
|
|
40531
40567
|
capName: "ptz",
|
|
40532
40568
|
capScope: "device",
|
|
@@ -40545,6 +40581,12 @@ Object.freeze({
|
|
|
40545
40581
|
addonId: null,
|
|
40546
40582
|
access: "view"
|
|
40547
40583
|
},
|
|
40584
|
+
"ptz.getHomeReturn": {
|
|
40585
|
+
capName: "ptz",
|
|
40586
|
+
capScope: "device",
|
|
40587
|
+
addonId: null,
|
|
40588
|
+
access: "view"
|
|
40589
|
+
},
|
|
40548
40590
|
"ptz.getOptions": {
|
|
40549
40591
|
capName: "ptz",
|
|
40550
40592
|
capScope: "device",
|
|
@@ -40599,6 +40641,12 @@ Object.freeze({
|
|
|
40599
40641
|
addonId: null,
|
|
40600
40642
|
access: "create"
|
|
40601
40643
|
},
|
|
40644
|
+
"ptz.setHomeReturn": {
|
|
40645
|
+
capName: "ptz",
|
|
40646
|
+
capScope: "device",
|
|
40647
|
+
addonId: null,
|
|
40648
|
+
access: "create"
|
|
40649
|
+
},
|
|
40602
40650
|
"ptz.stop": {
|
|
40603
40651
|
capName: "ptz",
|
|
40604
40652
|
capScope: "device",
|
|
@@ -43762,6 +43810,11 @@ Object.freeze({
|
|
|
43762
43810
|
form: "single",
|
|
43763
43811
|
optional: false
|
|
43764
43812
|
}],
|
|
43813
|
+
"ptz.captureHomeHere": [{
|
|
43814
|
+
name: "deviceId",
|
|
43815
|
+
form: "single",
|
|
43816
|
+
optional: false
|
|
43817
|
+
}],
|
|
43765
43818
|
"ptz.continuousMove": [{
|
|
43766
43819
|
name: "deviceId",
|
|
43767
43820
|
form: "single",
|
|
@@ -43777,6 +43830,11 @@ Object.freeze({
|
|
|
43777
43830
|
form: "single",
|
|
43778
43831
|
optional: false
|
|
43779
43832
|
}],
|
|
43833
|
+
"ptz.getHomeReturn": [{
|
|
43834
|
+
name: "deviceId",
|
|
43835
|
+
form: "single",
|
|
43836
|
+
optional: false
|
|
43837
|
+
}],
|
|
43780
43838
|
"ptz.getOptions": [{
|
|
43781
43839
|
name: "deviceId",
|
|
43782
43840
|
form: "single",
|
|
@@ -43822,6 +43880,11 @@ Object.freeze({
|
|
|
43822
43880
|
form: "single",
|
|
43823
43881
|
optional: false
|
|
43824
43882
|
}],
|
|
43883
|
+
"ptz.setHomeReturn": [{
|
|
43884
|
+
name: "deviceId",
|
|
43885
|
+
form: "single",
|
|
43886
|
+
optional: false
|
|
43887
|
+
}],
|
|
43825
43888
|
"ptz.stop": [{
|
|
43826
43889
|
name: "deviceId",
|
|
43827
43890
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
|
|
|
5360
5360
|
var ZodFirstPartyTypeKind;
|
|
5361
5361
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5362
5362
|
//#endregion
|
|
5363
|
-
//#region ../types/dist/sleep-
|
|
5363
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5364
5364
|
/**
|
|
5365
5365
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5366
5366
|
* window to float samples (D455).
|
|
@@ -31173,6 +31173,26 @@ var PtzHomePresetSchema = object({
|
|
|
31173
31173
|
"none"
|
|
31174
31174
|
])
|
|
31175
31175
|
});
|
|
31176
|
+
/**
|
|
31177
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31178
|
+
* after how long.
|
|
31179
|
+
*
|
|
31180
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31181
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31182
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31183
|
+
* can disagree.
|
|
31184
|
+
*
|
|
31185
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31186
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31187
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31188
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31189
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31190
|
+
* return at all.
|
|
31191
|
+
*/
|
|
31192
|
+
var PtzHomeReturnSchema = object({
|
|
31193
|
+
enabled: boolean(),
|
|
31194
|
+
seconds: number().int()
|
|
31195
|
+
});
|
|
31176
31196
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31177
31197
|
deviceId: number(),
|
|
31178
31198
|
presetId: string()
|
|
@@ -31195,6 +31215,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31195
31215
|
}), _void(), {
|
|
31196
31216
|
kind: "mutation",
|
|
31197
31217
|
auth: "admin"
|
|
31218
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31219
|
+
kind: "mutation",
|
|
31220
|
+
auth: "admin"
|
|
31221
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31222
|
+
deviceId: number(),
|
|
31223
|
+
enabled: boolean(),
|
|
31224
|
+
seconds: number().int().min(0).max(3600)
|
|
31225
|
+
}), _void(), {
|
|
31226
|
+
kind: "mutation",
|
|
31227
|
+
auth: "admin"
|
|
31198
31228
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31199
31229
|
deviceId: number(),
|
|
31200
31230
|
enabled: boolean()
|
|
@@ -40503,6 +40533,12 @@ Object.freeze({
|
|
|
40503
40533
|
addonId: null,
|
|
40504
40534
|
access: "create"
|
|
40505
40535
|
},
|
|
40536
|
+
"ptz.captureHomeHere": {
|
|
40537
|
+
capName: "ptz",
|
|
40538
|
+
capScope: "device",
|
|
40539
|
+
addonId: null,
|
|
40540
|
+
access: "create"
|
|
40541
|
+
},
|
|
40506
40542
|
"ptz.continuousMove": {
|
|
40507
40543
|
capName: "ptz",
|
|
40508
40544
|
capScope: "device",
|
|
@@ -40521,6 +40557,12 @@ Object.freeze({
|
|
|
40521
40557
|
addonId: null,
|
|
40522
40558
|
access: "view"
|
|
40523
40559
|
},
|
|
40560
|
+
"ptz.getHomeReturn": {
|
|
40561
|
+
capName: "ptz",
|
|
40562
|
+
capScope: "device",
|
|
40563
|
+
addonId: null,
|
|
40564
|
+
access: "view"
|
|
40565
|
+
},
|
|
40524
40566
|
"ptz.getOptions": {
|
|
40525
40567
|
capName: "ptz",
|
|
40526
40568
|
capScope: "device",
|
|
@@ -40575,6 +40617,12 @@ Object.freeze({
|
|
|
40575
40617
|
addonId: null,
|
|
40576
40618
|
access: "create"
|
|
40577
40619
|
},
|
|
40620
|
+
"ptz.setHomeReturn": {
|
|
40621
|
+
capName: "ptz",
|
|
40622
|
+
capScope: "device",
|
|
40623
|
+
addonId: null,
|
|
40624
|
+
access: "create"
|
|
40625
|
+
},
|
|
40578
40626
|
"ptz.stop": {
|
|
40579
40627
|
capName: "ptz",
|
|
40580
40628
|
capScope: "device",
|
|
@@ -43738,6 +43786,11 @@ Object.freeze({
|
|
|
43738
43786
|
form: "single",
|
|
43739
43787
|
optional: false
|
|
43740
43788
|
}],
|
|
43789
|
+
"ptz.captureHomeHere": [{
|
|
43790
|
+
name: "deviceId",
|
|
43791
|
+
form: "single",
|
|
43792
|
+
optional: false
|
|
43793
|
+
}],
|
|
43741
43794
|
"ptz.continuousMove": [{
|
|
43742
43795
|
name: "deviceId",
|
|
43743
43796
|
form: "single",
|
|
@@ -43753,6 +43806,11 @@ Object.freeze({
|
|
|
43753
43806
|
form: "single",
|
|
43754
43807
|
optional: false
|
|
43755
43808
|
}],
|
|
43809
|
+
"ptz.getHomeReturn": [{
|
|
43810
|
+
name: "deviceId",
|
|
43811
|
+
form: "single",
|
|
43812
|
+
optional: false
|
|
43813
|
+
}],
|
|
43756
43814
|
"ptz.getOptions": [{
|
|
43757
43815
|
name: "deviceId",
|
|
43758
43816
|
form: "single",
|
|
@@ -43798,6 +43856,11 @@ Object.freeze({
|
|
|
43798
43856
|
form: "single",
|
|
43799
43857
|
optional: false
|
|
43800
43858
|
}],
|
|
43859
|
+
"ptz.setHomeReturn": [{
|
|
43860
|
+
name: "deviceId",
|
|
43861
|
+
form: "single",
|
|
43862
|
+
optional: false
|
|
43863
|
+
}],
|
|
43801
43864
|
"ptz.stop": [{
|
|
43802
43865
|
name: "deviceId",
|
|
43803
43866
|
form: "single",
|