@camstack/addon-provider-rtsp 1.2.82 → 1.2.83
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 +21 -2
- package/dist/addon.mjs +21 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -29362,8 +29362,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29362
29362
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29363
29363
|
var PrivacyMaskStatusSchema = object({
|
|
29364
29364
|
enabled: boolean(),
|
|
29365
|
-
/**
|
|
29366
|
-
|
|
29365
|
+
/**
|
|
29366
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29367
|
+
*
|
|
29368
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29369
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29370
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29371
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29372
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29373
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29374
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29375
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29376
|
+
* from deleting the mask it could not read.
|
|
29377
|
+
*
|
|
29378
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29379
|
+
* has no zones. The distinction is the same one {@link
|
|
29380
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29381
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29382
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29383
|
+
* while the other could not.
|
|
29384
|
+
*/
|
|
29385
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29367
29386
|
/**
|
|
29368
29387
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29369
29388
|
* a server-side mirror.
|
package/dist/addon.mjs
CHANGED
|
@@ -29338,8 +29338,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
29338
29338
|
/** Current on-camera privacy state — mask master enable + zones + microphone. */
|
|
29339
29339
|
var PrivacyMaskStatusSchema = object({
|
|
29340
29340
|
enabled: boolean(),
|
|
29341
|
-
/**
|
|
29342
|
-
|
|
29341
|
+
/**
|
|
29342
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
29343
|
+
*
|
|
29344
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
29345
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
29346
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
29347
|
+
* has no zones": those two look identical to an operator right up to the
|
|
29348
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
29349
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
29350
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
29351
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
29352
|
+
* from deleting the mask it could not read.
|
|
29353
|
+
*
|
|
29354
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
29355
|
+
* has no zones. The distinction is the same one {@link
|
|
29356
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
29357
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
29358
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
29359
|
+
* while the other could not.
|
|
29360
|
+
*/
|
|
29361
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
29343
29362
|
/**
|
|
29344
29363
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
29345
29364
|
* a server-side mirror.
|