@camstack/addon-decoder-ffmpeg 1.2.64 → 1.2.66

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
@@ -7554,7 +7554,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7554
7554
  var CameraSwitchUnavailableReasonSchema = _enum([
7555
7555
  "no-provider",
7556
7556
  "source-unreachable",
7557
- "not-configured"
7557
+ "not-configured",
7558
+ "device-disabled"
7558
7559
  ]);
7559
7560
  /**
7560
7561
  * One switch, resolved for one camera.
@@ -12884,7 +12885,12 @@ var ConfigEntrySchema = object({
12884
12885
  value: unknown(),
12885
12886
  description: string().optional()
12886
12887
  });
12887
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12888
+ /**
12889
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12890
+ * field survives on the wire because a viewer already OTA'd parses it —
12891
+ * drop it once no shipped client reads `mode`.
12892
+ */
12893
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12888
12894
  /** One resolved linked device — the compact projection consumers need. */
12889
12895
  var LinkedDeviceSchema = object({
12890
12896
  deviceId: number(),
@@ -23202,12 +23208,20 @@ var BatteryStatusSchema = object({
23202
23208
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23203
23209
  * Reolink-specific for the Solar Panel 2 accessory (will become
23204
23210
  * common on other battery cams). `'none'` means running on battery
23205
- * alone.
23211
+ * alone — a NEGATIVE the firmware actually reported.
23212
+ *
23213
+ * `'unknown'` is the absence of an answer: the provider has not read the
23214
+ * power fields yet, or the firmware reported neither. Before it existed,
23215
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23216
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23217
+ * by going nullable. Consumers SKIP it (no charger state published, no
23218
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23206
23219
  */
23207
23220
  charging: _enum([
23208
23221
  "dc",
23209
23222
  "solar",
23210
- "none"
23223
+ "none",
23224
+ "unknown"
23211
23225
  ]),
23212
23226
  /**
23213
23227
  * True when the camera firmware has gone into low-power mode. Battery
package/dist/index.mjs CHANGED
@@ -7550,7 +7550,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7550
7550
  var CameraSwitchUnavailableReasonSchema = _enum([
7551
7551
  "no-provider",
7552
7552
  "source-unreachable",
7553
- "not-configured"
7553
+ "not-configured",
7554
+ "device-disabled"
7554
7555
  ]);
7555
7556
  /**
7556
7557
  * One switch, resolved for one camera.
@@ -12880,7 +12881,12 @@ var ConfigEntrySchema = object({
12880
12881
  value: unknown(),
12881
12882
  description: string().optional()
12882
12883
  });
12883
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12884
+ /**
12885
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12886
+ * field survives on the wire because a viewer already OTA'd parses it —
12887
+ * drop it once no shipped client reads `mode`.
12888
+ */
12889
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12884
12890
  /** One resolved linked device — the compact projection consumers need. */
12885
12891
  var LinkedDeviceSchema = object({
12886
12892
  deviceId: number(),
@@ -23198,12 +23204,20 @@ var BatteryStatusSchema = object({
23198
23204
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23199
23205
  * Reolink-specific for the Solar Panel 2 accessory (will become
23200
23206
  * common on other battery cams). `'none'` means running on battery
23201
- * alone.
23207
+ * alone — a NEGATIVE the firmware actually reported.
23208
+ *
23209
+ * `'unknown'` is the absence of an answer: the provider has not read the
23210
+ * power fields yet, or the firmware reported neither. Before it existed,
23211
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23212
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23213
+ * by going nullable. Consumers SKIP it (no charger state published, no
23214
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23202
23215
  */
23203
23216
  charging: _enum([
23204
23217
  "dc",
23205
23218
  "solar",
23206
- "none"
23219
+ "none",
23220
+ "unknown"
23207
23221
  ]),
23208
23222
  /**
23209
23223
  * True when the camera firmware has gone into low-power mode. Battery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-ffmpeg",
3
- "version": "1.2.64",
3
+ "version": "1.2.66",
4
4
  "description": "Standalone ffmpeg-subprocess decoder fallback addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",