@camstack/addon-decoder-ffmpeg 1.2.17 → 1.2.19
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 +44 -2
- package/dist/index.mjs +44 -2
- package/package.json +1 -1
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. */
|
|
@@ -19230,7 +19254,14 @@ targets: array(object({
|
|
|
19230
19254
|
"sleeping",
|
|
19231
19255
|
"unreachable",
|
|
19232
19256
|
"waking"
|
|
19233
|
-
]).nullable()
|
|
19257
|
+
]).nullable(),
|
|
19258
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19259
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19260
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19261
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19262
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19263
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19264
|
+
battery: boolean()
|
|
19234
19265
|
})));
|
|
19235
19266
|
/**
|
|
19236
19267
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30406,6 +30437,12 @@ Object.freeze({
|
|
|
30406
30437
|
addonId: null,
|
|
30407
30438
|
access: "view"
|
|
30408
30439
|
},
|
|
30440
|
+
"snapshot.getDebugState": {
|
|
30441
|
+
capName: "snapshot",
|
|
30442
|
+
capScope: "device",
|
|
30443
|
+
addonId: null,
|
|
30444
|
+
access: "view"
|
|
30445
|
+
},
|
|
30409
30446
|
"snapshot.getSnapshot": {
|
|
30410
30447
|
capName: "snapshot",
|
|
30411
30448
|
capScope: "device",
|
|
@@ -33003,6 +33040,11 @@ Object.freeze({
|
|
|
33003
33040
|
form: "single",
|
|
33004
33041
|
optional: false
|
|
33005
33042
|
}],
|
|
33043
|
+
"snapshot.getDebugState": [{
|
|
33044
|
+
name: "deviceId",
|
|
33045
|
+
form: "single",
|
|
33046
|
+
optional: false
|
|
33047
|
+
}],
|
|
33006
33048
|
"snapshot.getSnapshot": [{
|
|
33007
33049
|
name: "deviceId",
|
|
33008
33050
|
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. */
|
|
@@ -19226,7 +19250,14 @@ targets: array(object({
|
|
|
19226
19250
|
"sleeping",
|
|
19227
19251
|
"unreachable",
|
|
19228
19252
|
"waking"
|
|
19229
|
-
]).nullable()
|
|
19253
|
+
]).nullable(),
|
|
19254
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19255
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19256
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19257
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19258
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19259
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19260
|
+
battery: boolean()
|
|
19230
19261
|
})));
|
|
19231
19262
|
/**
|
|
19232
19263
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -30402,6 +30433,12 @@ Object.freeze({
|
|
|
30402
30433
|
addonId: null,
|
|
30403
30434
|
access: "view"
|
|
30404
30435
|
},
|
|
30436
|
+
"snapshot.getDebugState": {
|
|
30437
|
+
capName: "snapshot",
|
|
30438
|
+
capScope: "device",
|
|
30439
|
+
addonId: null,
|
|
30440
|
+
access: "view"
|
|
30441
|
+
},
|
|
30405
30442
|
"snapshot.getSnapshot": {
|
|
30406
30443
|
capName: "snapshot",
|
|
30407
30444
|
capScope: "device",
|
|
@@ -32999,6 +33036,11 @@ Object.freeze({
|
|
|
32999
33036
|
form: "single",
|
|
33000
33037
|
optional: false
|
|
33001
33038
|
}],
|
|
33039
|
+
"snapshot.getDebugState": [{
|
|
33040
|
+
name: "deviceId",
|
|
33041
|
+
form: "single",
|
|
33042
|
+
optional: false
|
|
33043
|
+
}],
|
|
33002
33044
|
"snapshot.getSnapshot": [{
|
|
33003
33045
|
name: "deviceId",
|
|
33004
33046
|
form: "single",
|