@camstack/addon-provider-onvif 1.2.17 → 1.2.18
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 +44 -0
- package/dist/addon.mjs +44 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19161,6 +19161,39 @@ var snapshotCapability = {
|
|
|
19161
19161
|
etag: string().nullable()
|
|
19162
19162
|
}))),
|
|
19163
19163
|
/**
|
|
19164
|
+
* The full decision chain for ONE device, for the viewer's debug readout —
|
|
19165
|
+
* the answer to "why does this tile show what it shows" in a single poll:
|
|
19166
|
+
* the battery slice the state was derived from, the resolved state + its
|
|
19167
|
+
* reason, the cached frame's identity/age, whether a wake window is open,
|
|
19168
|
+
* and whether a fresh capture is in flight. Cache-only and capture-free:
|
|
19169
|
+
* a debug read must never wake a battery camera.
|
|
19170
|
+
*/
|
|
19171
|
+
getDebugState: systemMethod(object({ deviceId: number() }), object({
|
|
19172
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19173
|
+
battery: object({
|
|
19174
|
+
sleeping: boolean(),
|
|
19175
|
+
lastUpdated: number(),
|
|
19176
|
+
lastContactAt: number().optional()
|
|
19177
|
+
}).nullable(),
|
|
19178
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19179
|
+
state: object({
|
|
19180
|
+
isBattery: boolean(),
|
|
19181
|
+
reason: _enum([
|
|
19182
|
+
"disabled",
|
|
19183
|
+
"sleeping",
|
|
19184
|
+
"unreachable",
|
|
19185
|
+
"waking"
|
|
19186
|
+
]).nullable()
|
|
19187
|
+
}),
|
|
19188
|
+
/** The cached frame behind the next paint. */
|
|
19189
|
+
frame: object({
|
|
19190
|
+
capturedAt: number().nullable(),
|
|
19191
|
+
ageMs: number().nullable()
|
|
19192
|
+
}),
|
|
19193
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19194
|
+
waking: boolean()
|
|
19195
|
+
})),
|
|
19196
|
+
/**
|
|
19164
19197
|
* Signed, expiring links to a CLIENT-SIZED frame — and the demand signal
|
|
19165
19198
|
* that makes those frames current.
|
|
19166
19199
|
*
|
|
@@ -30892,6 +30925,12 @@ Object.freeze({
|
|
|
30892
30925
|
addonId: null,
|
|
30893
30926
|
access: "view"
|
|
30894
30927
|
},
|
|
30928
|
+
"snapshot.getDebugState": {
|
|
30929
|
+
capName: "snapshot",
|
|
30930
|
+
capScope: "device",
|
|
30931
|
+
addonId: null,
|
|
30932
|
+
access: "view"
|
|
30933
|
+
},
|
|
30895
30934
|
"snapshot.getSnapshot": {
|
|
30896
30935
|
capName: "snapshot",
|
|
30897
30936
|
capScope: "device",
|
|
@@ -33489,6 +33528,11 @@ Object.freeze({
|
|
|
33489
33528
|
form: "single",
|
|
33490
33529
|
optional: false
|
|
33491
33530
|
}],
|
|
33531
|
+
"snapshot.getDebugState": [{
|
|
33532
|
+
name: "deviceId",
|
|
33533
|
+
form: "single",
|
|
33534
|
+
optional: false
|
|
33535
|
+
}],
|
|
33492
33536
|
"snapshot.getSnapshot": [{
|
|
33493
33537
|
name: "deviceId",
|
|
33494
33538
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19162,6 +19162,39 @@ var snapshotCapability = {
|
|
|
19162
19162
|
etag: string().nullable()
|
|
19163
19163
|
}))),
|
|
19164
19164
|
/**
|
|
19165
|
+
* The full decision chain for ONE device, for the viewer's debug readout —
|
|
19166
|
+
* the answer to "why does this tile show what it shows" in a single poll:
|
|
19167
|
+
* the battery slice the state was derived from, the resolved state + its
|
|
19168
|
+
* reason, the cached frame's identity/age, whether a wake window is open,
|
|
19169
|
+
* and whether a fresh capture is in flight. Cache-only and capture-free:
|
|
19170
|
+
* a debug read must never wake a battery camera.
|
|
19171
|
+
*/
|
|
19172
|
+
getDebugState: systemMethod(object({ deviceId: number() }), object({
|
|
19173
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19174
|
+
battery: object({
|
|
19175
|
+
sleeping: boolean(),
|
|
19176
|
+
lastUpdated: number(),
|
|
19177
|
+
lastContactAt: number().optional()
|
|
19178
|
+
}).nullable(),
|
|
19179
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19180
|
+
state: object({
|
|
19181
|
+
isBattery: boolean(),
|
|
19182
|
+
reason: _enum([
|
|
19183
|
+
"disabled",
|
|
19184
|
+
"sleeping",
|
|
19185
|
+
"unreachable",
|
|
19186
|
+
"waking"
|
|
19187
|
+
]).nullable()
|
|
19188
|
+
}),
|
|
19189
|
+
/** The cached frame behind the next paint. */
|
|
19190
|
+
frame: object({
|
|
19191
|
+
capturedAt: number().nullable(),
|
|
19192
|
+
ageMs: number().nullable()
|
|
19193
|
+
}),
|
|
19194
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19195
|
+
waking: boolean()
|
|
19196
|
+
})),
|
|
19197
|
+
/**
|
|
19165
19198
|
* Signed, expiring links to a CLIENT-SIZED frame — and the demand signal
|
|
19166
19199
|
* that makes those frames current.
|
|
19167
19200
|
*
|
|
@@ -30893,6 +30926,12 @@ Object.freeze({
|
|
|
30893
30926
|
addonId: null,
|
|
30894
30927
|
access: "view"
|
|
30895
30928
|
},
|
|
30929
|
+
"snapshot.getDebugState": {
|
|
30930
|
+
capName: "snapshot",
|
|
30931
|
+
capScope: "device",
|
|
30932
|
+
addonId: null,
|
|
30933
|
+
access: "view"
|
|
30934
|
+
},
|
|
30896
30935
|
"snapshot.getSnapshot": {
|
|
30897
30936
|
capName: "snapshot",
|
|
30898
30937
|
capScope: "device",
|
|
@@ -33490,6 +33529,11 @@ Object.freeze({
|
|
|
33490
33529
|
form: "single",
|
|
33491
33530
|
optional: false
|
|
33492
33531
|
}],
|
|
33532
|
+
"snapshot.getDebugState": [{
|
|
33533
|
+
name: "deviceId",
|
|
33534
|
+
form: "single",
|
|
33535
|
+
optional: false
|
|
33536
|
+
}],
|
|
33493
33537
|
"snapshot.getSnapshot": [{
|
|
33494
33538
|
name: "deviceId",
|
|
33495
33539
|
form: "single",
|