@camstack/addon-decoder-nodeav 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/index.js CHANGED
@@ -27227,8 +27227,27 @@ var PrivacyMaskRegionSchema = object({
27227
27227
  });
27228
27228
  object({
27229
27229
  enabled: boolean(),
27230
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27231
- regions: array(PrivacyMaskRegionSchema),
27230
+ /**
27231
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27232
+ *
27233
+ * `null` means "no answer" — the provider has never reached this camera
27234
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27235
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27236
+ * has no zones": those two look identical to an operator right up to the
27237
+ * moment one of them is acted on, and acting on them differs completely.
27238
+ * The switch group turned an unanswered read into *"nothing is set up for
27239
+ * it to act on"* — an instruction to go and draw a zone that already
27240
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27241
+ * from deleting the mask it could not read.
27242
+ *
27243
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27244
+ * has no zones. The distinction is the same one {@link
27245
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27246
+ * microphone, on the very same payload — both planes come from ONE refresh,
27247
+ * so it was never coherent for one of them to be able to say "unknown"
27248
+ * while the other could not.
27249
+ */
27250
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27232
27251
  /**
27233
27252
  * Is the camera capturing sound right now? Read from the camera, never from
27234
27253
  * a server-side mirror.
package/dist/index.mjs CHANGED
@@ -27223,8 +27223,27 @@ var PrivacyMaskRegionSchema = object({
27223
27223
  });
27224
27224
  object({
27225
27225
  enabled: boolean(),
27226
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27227
- regions: array(PrivacyMaskRegionSchema),
27226
+ /**
27227
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27228
+ *
27229
+ * `null` means "no answer" — the provider has never reached this camera
27230
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27231
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27232
+ * has no zones": those two look identical to an operator right up to the
27233
+ * moment one of them is acted on, and acting on them differs completely.
27234
+ * The switch group turned an unanswered read into *"nothing is set up for
27235
+ * it to act on"* — an instruction to go and draw a zone that already
27236
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27237
+ * from deleting the mask it could not read.
27238
+ *
27239
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27240
+ * has no zones. The distinction is the same one {@link
27241
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27242
+ * microphone, on the very same payload — both planes come from ONE refresh,
27243
+ * so it was never coherent for one of them to be able to say "unknown"
27244
+ * while the other could not.
27245
+ */
27246
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27228
27247
  /**
27229
27248
  * Is the camera capturing sound right now? Read from the camera, never from
27230
27249
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.82",
3
+ "version": "1.2.83",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",