@camstack/addon-decoder-ffmpeg 1.2.65 → 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.
@@ -23207,12 +23208,20 @@ var BatteryStatusSchema = object({
23207
23208
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23208
23209
  * Reolink-specific for the Solar Panel 2 accessory (will become
23209
23210
  * common on other battery cams). `'none'` means running on battery
23210
- * 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.
23211
23219
  */
23212
23220
  charging: _enum([
23213
23221
  "dc",
23214
23222
  "solar",
23215
- "none"
23223
+ "none",
23224
+ "unknown"
23216
23225
  ]),
23217
23226
  /**
23218
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.
@@ -23203,12 +23204,20 @@ var BatteryStatusSchema = object({
23203
23204
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23204
23205
  * Reolink-specific for the Solar Panel 2 accessory (will become
23205
23206
  * common on other battery cams). `'none'` means running on battery
23206
- * 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.
23207
23215
  */
23208
23216
  charging: _enum([
23209
23217
  "dc",
23210
23218
  "solar",
23211
- "none"
23219
+ "none",
23220
+ "unknown"
23212
23221
  ]),
23213
23222
  /**
23214
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.65",
3
+ "version": "1.2.66",
4
4
  "description": "Standalone ffmpeg-subprocess decoder fallback addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",