@camstack/addon-decoder-ffmpeg 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/index.js CHANGED
@@ -19191,7 +19191,31 @@ DeviceType.Camera, method(object({
19191
19191
  lastCapturedAt: number().nullable(),
19192
19192
  cacheAgeMs: number().nullable(),
19193
19193
  etag: string().nullable()
19194
- }))), systemMethod(object({
19194
+ }))), systemMethod(object({ deviceId: number() }), object({
19195
+ /** The battery slice as read, or null when the device has none. */
19196
+ battery: object({
19197
+ sleeping: boolean(),
19198
+ lastUpdated: number(),
19199
+ lastContactAt: number().optional()
19200
+ }).nullable(),
19201
+ /** The resolved snapshot state (what the overlay decision used). */
19202
+ state: object({
19203
+ isBattery: boolean(),
19204
+ reason: _enum([
19205
+ "disabled",
19206
+ "sleeping",
19207
+ "unreachable",
19208
+ "waking"
19209
+ ]).nullable()
19210
+ }),
19211
+ /** The cached frame behind the next paint. */
19212
+ frame: object({
19213
+ capturedAt: number().nullable(),
19214
+ ageMs: number().nullable()
19215
+ }),
19216
+ /** A wake window is currently open (the Waking overlay's source). */
19217
+ waking: boolean()
19218
+ })), systemMethod(object({
19195
19219
  /** The tiles a surface is actually rendering. One entry per (device,
19196
19220
  * width) the caller will paint — the width is snapped to the server's
19197
19221
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30406,6 +30430,12 @@ Object.freeze({
30406
30430
  addonId: null,
30407
30431
  access: "view"
30408
30432
  },
30433
+ "snapshot.getDebugState": {
30434
+ capName: "snapshot",
30435
+ capScope: "device",
30436
+ addonId: null,
30437
+ access: "view"
30438
+ },
30409
30439
  "snapshot.getSnapshot": {
30410
30440
  capName: "snapshot",
30411
30441
  capScope: "device",
@@ -33003,6 +33033,11 @@ Object.freeze({
33003
33033
  form: "single",
33004
33034
  optional: false
33005
33035
  }],
33036
+ "snapshot.getDebugState": [{
33037
+ name: "deviceId",
33038
+ form: "single",
33039
+ optional: false
33040
+ }],
33006
33041
  "snapshot.getSnapshot": [{
33007
33042
  name: "deviceId",
33008
33043
  form: "single",
package/dist/index.mjs CHANGED
@@ -19187,7 +19187,31 @@ DeviceType.Camera, method(object({
19187
19187
  lastCapturedAt: number().nullable(),
19188
19188
  cacheAgeMs: number().nullable(),
19189
19189
  etag: string().nullable()
19190
- }))), systemMethod(object({
19190
+ }))), systemMethod(object({ deviceId: number() }), object({
19191
+ /** The battery slice as read, or null when the device has none. */
19192
+ battery: object({
19193
+ sleeping: boolean(),
19194
+ lastUpdated: number(),
19195
+ lastContactAt: number().optional()
19196
+ }).nullable(),
19197
+ /** The resolved snapshot state (what the overlay decision used). */
19198
+ state: object({
19199
+ isBattery: boolean(),
19200
+ reason: _enum([
19201
+ "disabled",
19202
+ "sleeping",
19203
+ "unreachable",
19204
+ "waking"
19205
+ ]).nullable()
19206
+ }),
19207
+ /** The cached frame behind the next paint. */
19208
+ frame: object({
19209
+ capturedAt: number().nullable(),
19210
+ ageMs: number().nullable()
19211
+ }),
19212
+ /** A wake window is currently open (the Waking overlay's source). */
19213
+ waking: boolean()
19214
+ })), systemMethod(object({
19191
19215
  /** The tiles a surface is actually rendering. One entry per (device,
19192
19216
  * width) the caller will paint — the width is snapped to the server's
19193
19217
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30402,6 +30426,12 @@ Object.freeze({
30402
30426
  addonId: null,
30403
30427
  access: "view"
30404
30428
  },
30429
+ "snapshot.getDebugState": {
30430
+ capName: "snapshot",
30431
+ capScope: "device",
30432
+ addonId: null,
30433
+ access: "view"
30434
+ },
30405
30435
  "snapshot.getSnapshot": {
30406
30436
  capName: "snapshot",
30407
30437
  capScope: "device",
@@ -32999,6 +33029,11 @@ Object.freeze({
32999
33029
  form: "single",
33000
33030
  optional: false
33001
33031
  }],
33032
+ "snapshot.getDebugState": [{
33033
+ name: "deviceId",
33034
+ form: "single",
33035
+ optional: false
33036
+ }],
33002
33037
  "snapshot.getSnapshot": [{
33003
33038
  name: "deviceId",
33004
33039
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-ffmpeg",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "Standalone ffmpeg-subprocess decoder fallback addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",