@camstack/types 1.2.193 → 1.2.195
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/addon.d.ts +1 -0
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addons.cap.d.ts +23 -23
- package/dist/capabilities/backup.cap.d.ts +6 -6
- package/dist/capabilities/core-blocks.cap.d.ts +16 -16
- package/dist/capabilities/custom-model-registry.cap.d.ts +2 -2
- package/dist/capabilities/decoder.cap.d.ts +13 -13
- package/dist/capabilities/device-manager.cap.d.ts +6 -6
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/load-contribution.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +4 -4
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +5 -5
- package/dist/capabilities/model-distributor.cap.d.ts +2 -2
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/motion-zones.cap.d.ts +4 -4
- package/dist/capabilities/navigation.cap.d.ts +7 -7
- package/dist/capabilities/notification-output.cap.d.ts +13 -13
- package/dist/capabilities/notification-rules.cap.d.ts +17 -17
- package/dist/capabilities/notifier.cap.d.ts +3 -3
- package/dist/capabilities/osd-manager.cap.d.ts +14 -14
- package/dist/capabilities/pipeline-analytics.cap.d.ts +73 -73
- package/dist/capabilities/pipeline-executor.cap.d.ts +16 -16
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +39 -39
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/privacy-mask.cap.d.ts +4 -4
- package/dist/capabilities/recording-export.cap.d.ts +14 -14
- package/dist/capabilities/recording.cap.d.ts +12 -12
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +7 -7
- package/dist/capabilities/storage-migration.cap.d.ts +13 -13
- package/dist/capabilities/storage.cap.d.ts +6 -6
- package/dist/capabilities/stream-broker.cap.d.ts +59 -59
- package/dist/capabilities/stream-signals.cap.d.ts +15 -0
- package/dist/capabilities/system.cap.d.ts +4 -4
- package/dist/capabilities/videoclips.cap.d.ts +2 -2
- package/dist/capabilities/webrtc-session.cap.d.ts +8 -8
- package/dist/index.js +20 -52
- package/dist/index.mjs +16 -48
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/camera-switches.d.ts +3 -3
- package/dist/interfaces/event-bus.d.ts +21 -0
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/interfaces/relocate.d.ts +18 -18
- package/dist/interfaces/storage-location-declaration.d.ts +1 -1
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +24 -24
- package/dist/{sleep-B8nfmQ8a.js → sleep-9Ix5MtX4.js} +71 -0
- package/dist/{sleep-BEyvfshj.mjs → sleep-B9qx0cEV.mjs} +48 -1
- package/dist/types/detection.d.ts +24 -3
- package/dist/types/models.d.ts +4 -4
- package/package.json +1 -1
|
@@ -8,20 +8,20 @@ import { z } from 'zod';
|
|
|
8
8
|
* `FrameFormat` type alias together.
|
|
9
9
|
*/
|
|
10
10
|
export declare const FrameFormatSchema: z.ZodEnum<{
|
|
11
|
-
jpeg: "jpeg";
|
|
12
11
|
rgb: "rgb";
|
|
12
|
+
gray: "gray";
|
|
13
|
+
jpeg: "jpeg";
|
|
13
14
|
bgr: "bgr";
|
|
14
15
|
yuv420: "yuv420";
|
|
15
|
-
gray: "gray";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const FrameInputSchema: z.ZodObject<{
|
|
18
18
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
19
19
|
format: z.ZodEnum<{
|
|
20
|
-
jpeg: "jpeg";
|
|
21
20
|
rgb: "rgb";
|
|
21
|
+
gray: "gray";
|
|
22
|
+
jpeg: "jpeg";
|
|
22
23
|
bgr: "bgr";
|
|
23
24
|
yuv420: "yuv420";
|
|
24
|
-
gray: "gray";
|
|
25
25
|
}>;
|
|
26
26
|
width: z.ZodNumber;
|
|
27
27
|
height: z.ZodNumber;
|
|
@@ -156,8 +156,8 @@ export declare const StreamSourceSchema: z.ZodObject<{
|
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
export declare const EncodedPacketSchema: z.ZodObject<{
|
|
158
158
|
type: z.ZodEnum<{
|
|
159
|
-
video: "video";
|
|
160
159
|
audio: "audio";
|
|
160
|
+
video: "video";
|
|
161
161
|
}>;
|
|
162
162
|
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
163
163
|
pts: z.ZodNumber;
|
|
@@ -170,11 +170,11 @@ export declare const DecodedFrameSchema: z.ZodObject<{
|
|
|
170
170
|
width: z.ZodNumber;
|
|
171
171
|
height: z.ZodNumber;
|
|
172
172
|
format: z.ZodEnum<{
|
|
173
|
-
jpeg: "jpeg";
|
|
174
173
|
rgb: "rgb";
|
|
174
|
+
gray: "gray";
|
|
175
|
+
jpeg: "jpeg";
|
|
175
176
|
bgr: "bgr";
|
|
176
177
|
yuv420: "yuv420";
|
|
177
|
-
gray: "gray";
|
|
178
178
|
}>;
|
|
179
179
|
timestamp: z.ZodNumber;
|
|
180
180
|
}, z.core.$strip>;
|
|
@@ -196,11 +196,11 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
196
196
|
width: z.ZodNumber;
|
|
197
197
|
height: z.ZodNumber;
|
|
198
198
|
format: z.ZodEnum<{
|
|
199
|
-
jpeg: "jpeg";
|
|
200
199
|
rgb: "rgb";
|
|
200
|
+
gray: "gray";
|
|
201
|
+
jpeg: "jpeg";
|
|
201
202
|
bgr: "bgr";
|
|
202
203
|
yuv420: "yuv420";
|
|
203
|
-
gray: "gray";
|
|
204
204
|
}>;
|
|
205
205
|
pts: z.ZodNumber;
|
|
206
206
|
byteLength: z.ZodNumber;
|
|
@@ -216,9 +216,9 @@ export declare const FrameHandleSchema: z.ZodObject<{
|
|
|
216
216
|
*/
|
|
217
217
|
export declare const FrameHandleFormatSchema: z.ZodEnum<{
|
|
218
218
|
rgb: "rgb";
|
|
219
|
+
gray: "gray";
|
|
219
220
|
bgr: "bgr";
|
|
220
221
|
yuv420: "yuv420";
|
|
221
|
-
gray: "gray";
|
|
222
222
|
}>;
|
|
223
223
|
export type FrameHandleFormat = z.infer<typeof FrameHandleFormatSchema>;
|
|
224
224
|
/**
|
|
@@ -232,9 +232,9 @@ export declare const SubscribeFramesInputSchema: z.ZodObject<{
|
|
|
232
232
|
brokerId: z.ZodString;
|
|
233
233
|
format: z.ZodEnum<{
|
|
234
234
|
rgb: "rgb";
|
|
235
|
+
gray: "gray";
|
|
235
236
|
bgr: "bgr";
|
|
236
237
|
yuv420: "yuv420";
|
|
237
|
-
gray: "gray";
|
|
238
238
|
}>;
|
|
239
239
|
maxFps: z.ZodOptional<z.ZodNumber>;
|
|
240
240
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -107,15 +107,15 @@ export declare const storageMigrationCapability: {
|
|
|
107
107
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
108
108
|
jobId: z.ZodString;
|
|
109
109
|
phase: z.ZodEnum<{
|
|
110
|
-
moving: "moving";
|
|
111
|
-
verifying: "verifying";
|
|
112
|
-
failed: "failed";
|
|
113
110
|
done: "done";
|
|
111
|
+
failed: "failed";
|
|
114
112
|
cancelled: "cancelled";
|
|
115
113
|
planning: "planning";
|
|
116
114
|
sealing: "sealing";
|
|
117
115
|
pausing: "pausing";
|
|
116
|
+
moving: "moving";
|
|
118
117
|
draining: "draining";
|
|
118
|
+
verifying: "verifying";
|
|
119
119
|
repointing: "repointing";
|
|
120
120
|
refreshing: "refreshing";
|
|
121
121
|
resuming: "resuming";
|
|
@@ -152,10 +152,10 @@ export declare const storageMigrationCapability: {
|
|
|
152
152
|
freezeSource: z.ZodOptional<z.ZodBoolean>;
|
|
153
153
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
154
154
|
state: z.ZodNullable<z.ZodEnum<{
|
|
155
|
-
failed: "failed";
|
|
156
|
-
running: "running";
|
|
157
155
|
queued: "queued";
|
|
156
|
+
running: "running";
|
|
158
157
|
done: "done";
|
|
158
|
+
failed: "failed";
|
|
159
159
|
cancelled: "cancelled";
|
|
160
160
|
}>>;
|
|
161
161
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -203,10 +203,10 @@ export declare const storageMigrationCapability: {
|
|
|
203
203
|
job: z.ZodObject<{
|
|
204
204
|
jobId: z.ZodString;
|
|
205
205
|
state: z.ZodEnum<{
|
|
206
|
-
failed: "failed";
|
|
207
|
-
running: "running";
|
|
208
206
|
queued: "queued";
|
|
207
|
+
running: "running";
|
|
209
208
|
done: "done";
|
|
209
|
+
failed: "failed";
|
|
210
210
|
cancelled: "cancelled";
|
|
211
211
|
}>;
|
|
212
212
|
fromLocationId: z.ZodString;
|
|
@@ -279,8 +279,8 @@ export declare const storageMigrationCapability: {
|
|
|
279
279
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
280
280
|
jobId: z.ZodString;
|
|
281
281
|
phase: z.ZodEnum<{
|
|
282
|
-
failed: "failed";
|
|
283
282
|
done: "done";
|
|
283
|
+
failed: "failed";
|
|
284
284
|
cancelled: "cancelled";
|
|
285
285
|
orphans: "orphans";
|
|
286
286
|
"debug-media": "debug-media";
|
|
@@ -309,15 +309,15 @@ export declare const storageMigrationCapability: {
|
|
|
309
309
|
readonly history: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
310
310
|
jobId: z.ZodString;
|
|
311
311
|
phase: z.ZodEnum<{
|
|
312
|
-
moving: "moving";
|
|
313
|
-
verifying: "verifying";
|
|
314
|
-
failed: "failed";
|
|
315
312
|
done: "done";
|
|
313
|
+
failed: "failed";
|
|
316
314
|
cancelled: "cancelled";
|
|
317
315
|
planning: "planning";
|
|
318
316
|
sealing: "sealing";
|
|
319
317
|
pausing: "pausing";
|
|
318
|
+
moving: "moving";
|
|
320
319
|
draining: "draining";
|
|
320
|
+
verifying: "verifying";
|
|
321
321
|
repointing: "repointing";
|
|
322
322
|
refreshing: "refreshing";
|
|
323
323
|
resuming: "resuming";
|
|
@@ -354,10 +354,10 @@ export declare const storageMigrationCapability: {
|
|
|
354
354
|
freezeSource: z.ZodOptional<z.ZodBoolean>;
|
|
355
355
|
moverJobId: z.ZodNullable<z.ZodString>;
|
|
356
356
|
state: z.ZodNullable<z.ZodEnum<{
|
|
357
|
-
failed: "failed";
|
|
358
|
-
running: "running";
|
|
359
357
|
queued: "queued";
|
|
358
|
+
running: "running";
|
|
360
359
|
done: "done";
|
|
360
|
+
failed: "failed";
|
|
361
361
|
cancelled: "cancelled";
|
|
362
362
|
}>>;
|
|
363
363
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -127,26 +127,26 @@ export declare const storageCapability: {
|
|
|
127
127
|
}>>;
|
|
128
128
|
defaultsTo: z.ZodOptional<z.ZodString>;
|
|
129
129
|
defaultRoot: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
media: "media";
|
|
130
131
|
data: "data";
|
|
131
132
|
backup: "backup";
|
|
132
|
-
media: "media";
|
|
133
133
|
}>>;
|
|
134
134
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
135
135
|
readonly upsertLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
136
136
|
id: z.ZodString;
|
|
137
137
|
type: z.ZodString;
|
|
138
138
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
139
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
displayName: z.ZodString;
|
|
141
|
-
providerId: z.ZodString;
|
|
142
|
-
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
143
|
-
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
144
139
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
145
140
|
readonly: "readonly";
|
|
146
141
|
active: "active";
|
|
147
142
|
drain: "drain";
|
|
148
143
|
disabled: "disabled";
|
|
149
144
|
}>>;
|
|
145
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
displayName: z.ZodString;
|
|
147
|
+
providerId: z.ZodString;
|
|
148
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
149
|
+
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
150
150
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
151
151
|
totalBytes: z.ZodNumber;
|
|
152
152
|
availableBytes: z.ZodNumber;
|
|
@@ -131,6 +131,9 @@ export declare const BrokerAudioClientSchema: z.ZodObject<{
|
|
|
131
131
|
*/
|
|
132
132
|
export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
133
133
|
unknown: "unknown";
|
|
134
|
+
recording: "recording";
|
|
135
|
+
pipeline: "pipeline";
|
|
136
|
+
snapshot: "snapshot";
|
|
134
137
|
alexa: "alexa";
|
|
135
138
|
homekit: "homekit";
|
|
136
139
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -138,15 +141,15 @@ export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
|
138
141
|
"webrtc-whep": "webrtc-whep";
|
|
139
142
|
"rtsp-listen": "rtsp-listen";
|
|
140
143
|
"derived-broker": "derived-broker";
|
|
141
|
-
recording: "recording";
|
|
142
|
-
pipeline: "pipeline";
|
|
143
|
-
snapshot: "snapshot";
|
|
144
144
|
warmup: "warmup";
|
|
145
145
|
}>;
|
|
146
146
|
export type BrokerConsumerKind = z.infer<typeof BrokerConsumerKindSchema>;
|
|
147
147
|
export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<{
|
|
148
148
|
kind: z.ZodEnum<{
|
|
149
149
|
unknown: "unknown";
|
|
150
|
+
recording: "recording";
|
|
151
|
+
pipeline: "pipeline";
|
|
152
|
+
snapshot: "snapshot";
|
|
150
153
|
alexa: "alexa";
|
|
151
154
|
homekit: "homekit";
|
|
152
155
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -154,15 +157,12 @@ export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<
|
|
|
154
157
|
"webrtc-whep": "webrtc-whep";
|
|
155
158
|
"rtsp-listen": "rtsp-listen";
|
|
156
159
|
"derived-broker": "derived-broker";
|
|
157
|
-
recording: "recording";
|
|
158
|
-
pipeline: "pipeline";
|
|
159
|
-
snapshot: "snapshot";
|
|
160
160
|
warmup: "warmup";
|
|
161
161
|
}>;
|
|
162
162
|
label: z.ZodOptional<z.ZodString>;
|
|
163
163
|
media: z.ZodOptional<z.ZodEnum<{
|
|
164
|
-
video: "video";
|
|
165
164
|
audio: "audio";
|
|
165
|
+
video: "video";
|
|
166
166
|
both: "both";
|
|
167
167
|
}>>;
|
|
168
168
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
@@ -187,6 +187,9 @@ export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
|
187
187
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
188
188
|
kind: z.ZodEnum<{
|
|
189
189
|
unknown: "unknown";
|
|
190
|
+
recording: "recording";
|
|
191
|
+
pipeline: "pipeline";
|
|
192
|
+
snapshot: "snapshot";
|
|
190
193
|
alexa: "alexa";
|
|
191
194
|
homekit: "homekit";
|
|
192
195
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -194,15 +197,12 @@ export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
|
194
197
|
"webrtc-whep": "webrtc-whep";
|
|
195
198
|
"rtsp-listen": "rtsp-listen";
|
|
196
199
|
"derived-broker": "derived-broker";
|
|
197
|
-
recording: "recording";
|
|
198
|
-
pipeline: "pipeline";
|
|
199
|
-
snapshot: "snapshot";
|
|
200
200
|
warmup: "warmup";
|
|
201
201
|
}>;
|
|
202
202
|
label: z.ZodOptional<z.ZodString>;
|
|
203
203
|
media: z.ZodOptional<z.ZodEnum<{
|
|
204
|
-
video: "video";
|
|
205
204
|
audio: "audio";
|
|
205
|
+
video: "video";
|
|
206
206
|
both: "both";
|
|
207
207
|
}>>;
|
|
208
208
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
@@ -253,6 +253,9 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
253
253
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
254
254
|
kind: z.ZodEnum<{
|
|
255
255
|
unknown: "unknown";
|
|
256
|
+
recording: "recording";
|
|
257
|
+
pipeline: "pipeline";
|
|
258
|
+
snapshot: "snapshot";
|
|
256
259
|
alexa: "alexa";
|
|
257
260
|
homekit: "homekit";
|
|
258
261
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -260,15 +263,12 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
260
263
|
"webrtc-whep": "webrtc-whep";
|
|
261
264
|
"rtsp-listen": "rtsp-listen";
|
|
262
265
|
"derived-broker": "derived-broker";
|
|
263
|
-
recording: "recording";
|
|
264
|
-
pipeline: "pipeline";
|
|
265
|
-
snapshot: "snapshot";
|
|
266
266
|
warmup: "warmup";
|
|
267
267
|
}>;
|
|
268
268
|
label: z.ZodOptional<z.ZodString>;
|
|
269
269
|
media: z.ZodOptional<z.ZodEnum<{
|
|
270
|
-
video: "video";
|
|
271
270
|
audio: "audio";
|
|
271
|
+
video: "video";
|
|
272
272
|
both: "both";
|
|
273
273
|
}>>;
|
|
274
274
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
@@ -376,6 +376,18 @@ export type RtpSource = z.infer<typeof RtpSourceSchema>;
|
|
|
376
376
|
* different purpose (reshaping a badly-behaved SOURCE), and it is unchanged.
|
|
377
377
|
*/
|
|
378
378
|
export declare const EgressEncodeSchema: z.ZodObject<{
|
|
379
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
380
|
+
codec: z.ZodEnum<{
|
|
381
|
+
pcmu: "pcmu";
|
|
382
|
+
pcma: "pcma";
|
|
383
|
+
copy: "copy";
|
|
384
|
+
opus: "opus";
|
|
385
|
+
aac: "aac";
|
|
386
|
+
}>;
|
|
387
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
390
|
+
}, z.core.$strip>]>;
|
|
379
391
|
video: z.ZodObject<{
|
|
380
392
|
codec: z.ZodEnum<{
|
|
381
393
|
h264: "h264";
|
|
@@ -409,18 +421,6 @@ export declare const EgressEncodeSchema: z.ZodObject<{
|
|
|
409
421
|
}>>;
|
|
410
422
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
411
423
|
}, z.core.$strip>;
|
|
412
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
413
|
-
codec: z.ZodEnum<{
|
|
414
|
-
pcmu: "pcmu";
|
|
415
|
-
pcma: "pcma";
|
|
416
|
-
copy: "copy";
|
|
417
|
-
opus: "opus";
|
|
418
|
-
aac: "aac";
|
|
419
|
-
}>;
|
|
420
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
421
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
422
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
423
|
-
}, z.core.$strip>]>;
|
|
424
424
|
}, z.core.$strip>;
|
|
425
425
|
export type EgressEncode = z.infer<typeof EgressEncodeSchema>;
|
|
426
426
|
/**
|
|
@@ -448,6 +448,18 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
448
448
|
camStreamId: z.ZodString;
|
|
449
449
|
}, z.core.$strip>], "kind">;
|
|
450
450
|
encode: z.ZodObject<{
|
|
451
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
452
|
+
codec: z.ZodEnum<{
|
|
453
|
+
pcmu: "pcmu";
|
|
454
|
+
pcma: "pcma";
|
|
455
|
+
copy: "copy";
|
|
456
|
+
opus: "opus";
|
|
457
|
+
aac: "aac";
|
|
458
|
+
}>;
|
|
459
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
460
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
462
|
+
}, z.core.$strip>]>;
|
|
451
463
|
video: z.ZodObject<{
|
|
452
464
|
codec: z.ZodEnum<{
|
|
453
465
|
h264: "h264";
|
|
@@ -481,18 +493,6 @@ export declare const EgressTranscodeRequestSchema: z.ZodObject<{
|
|
|
481
493
|
}>>;
|
|
482
494
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
483
495
|
}, z.core.$strip>;
|
|
484
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
485
|
-
codec: z.ZodEnum<{
|
|
486
|
-
pcmu: "pcmu";
|
|
487
|
-
pcma: "pcma";
|
|
488
|
-
copy: "copy";
|
|
489
|
-
opus: "opus";
|
|
490
|
-
aac: "aac";
|
|
491
|
-
}>;
|
|
492
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
493
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
494
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
495
|
-
}, z.core.$strip>]>;
|
|
496
496
|
}, z.core.$strip>;
|
|
497
497
|
rateControl: z.ZodOptional<z.ZodEnum<{
|
|
498
498
|
tight: "tight";
|
|
@@ -985,6 +985,9 @@ export declare const streamBrokerCapability: {
|
|
|
985
985
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
986
986
|
kind: z.ZodEnum<{
|
|
987
987
|
unknown: "unknown";
|
|
988
|
+
recording: "recording";
|
|
989
|
+
pipeline: "pipeline";
|
|
990
|
+
snapshot: "snapshot";
|
|
988
991
|
alexa: "alexa";
|
|
989
992
|
homekit: "homekit";
|
|
990
993
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -992,15 +995,12 @@ export declare const streamBrokerCapability: {
|
|
|
992
995
|
"webrtc-whep": "webrtc-whep";
|
|
993
996
|
"rtsp-listen": "rtsp-listen";
|
|
994
997
|
"derived-broker": "derived-broker";
|
|
995
|
-
recording: "recording";
|
|
996
|
-
pipeline: "pipeline";
|
|
997
|
-
snapshot: "snapshot";
|
|
998
998
|
warmup: "warmup";
|
|
999
999
|
}>;
|
|
1000
1000
|
label: z.ZodOptional<z.ZodString>;
|
|
1001
1001
|
media: z.ZodOptional<z.ZodEnum<{
|
|
1002
|
-
video: "video";
|
|
1003
1002
|
audio: "audio";
|
|
1003
|
+
video: "video";
|
|
1004
1004
|
both: "both";
|
|
1005
1005
|
}>>;
|
|
1006
1006
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
@@ -1024,8 +1024,8 @@ export declare const streamBrokerCapability: {
|
|
|
1024
1024
|
readonly killClient: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1025
1025
|
brokerId: z.ZodString;
|
|
1026
1026
|
channel: z.ZodEnum<{
|
|
1027
|
-
rtsp: "rtsp";
|
|
1028
1027
|
audio: "audio";
|
|
1028
|
+
rtsp: "rtsp";
|
|
1029
1029
|
decoded: "decoded";
|
|
1030
1030
|
}>;
|
|
1031
1031
|
handle: z.ZodString;
|
|
@@ -1150,6 +1150,18 @@ export declare const streamBrokerCapability: {
|
|
|
1150
1150
|
camStreamId: z.ZodString;
|
|
1151
1151
|
}, z.core.$strip>], "kind">;
|
|
1152
1152
|
encode: z.ZodObject<{
|
|
1153
|
+
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
1154
|
+
codec: z.ZodEnum<{
|
|
1155
|
+
pcmu: "pcmu";
|
|
1156
|
+
pcma: "pcma";
|
|
1157
|
+
copy: "copy";
|
|
1158
|
+
opus: "opus";
|
|
1159
|
+
aac: "aac";
|
|
1160
|
+
}>;
|
|
1161
|
+
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
1163
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
1164
|
+
}, z.core.$strip>]>;
|
|
1153
1165
|
video: z.ZodObject<{
|
|
1154
1166
|
codec: z.ZodEnum<{
|
|
1155
1167
|
h264: "h264";
|
|
@@ -1183,18 +1195,6 @@ export declare const streamBrokerCapability: {
|
|
|
1183
1195
|
}>>;
|
|
1184
1196
|
singleSlicePerFrame: z.ZodOptional<z.ZodBoolean>;
|
|
1185
1197
|
}, z.core.$strip>;
|
|
1186
|
-
audio: z.ZodUnion<readonly [z.ZodLiteral<"passthrough">, z.ZodObject<{
|
|
1187
|
-
codec: z.ZodEnum<{
|
|
1188
|
-
pcmu: "pcmu";
|
|
1189
|
-
pcma: "pcma";
|
|
1190
|
-
copy: "copy";
|
|
1191
|
-
opus: "opus";
|
|
1192
|
-
aac: "aac";
|
|
1193
|
-
}>;
|
|
1194
|
-
bitrateKbps: z.ZodOptional<z.ZodNumber>;
|
|
1195
|
-
sampleRateHz: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
-
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
1197
|
-
}, z.core.$strip>]>;
|
|
1198
1198
|
}, z.core.$strip>;
|
|
1199
1199
|
rateControl: z.ZodOptional<z.ZodEnum<{
|
|
1200
1200
|
tight: "tight";
|
|
@@ -1314,9 +1314,9 @@ export declare const streamBrokerCapability: {
|
|
|
1314
1314
|
brokerId: z.ZodString;
|
|
1315
1315
|
format: z.ZodEnum<{
|
|
1316
1316
|
rgb: "rgb";
|
|
1317
|
+
gray: "gray";
|
|
1317
1318
|
bgr: "bgr";
|
|
1318
1319
|
yuv420: "yuv420";
|
|
1319
|
-
gray: "gray";
|
|
1320
1320
|
}>;
|
|
1321
1321
|
maxFps: z.ZodOptional<z.ZodNumber>;
|
|
1322
1322
|
tag: z.ZodOptional<z.ZodString>;
|
|
@@ -1334,11 +1334,11 @@ export declare const streamBrokerCapability: {
|
|
|
1334
1334
|
width: z.ZodNumber;
|
|
1335
1335
|
height: z.ZodNumber;
|
|
1336
1336
|
format: z.ZodEnum<{
|
|
1337
|
-
jpeg: "jpeg";
|
|
1338
1337
|
rgb: "rgb";
|
|
1338
|
+
gray: "gray";
|
|
1339
|
+
jpeg: "jpeg";
|
|
1339
1340
|
bgr: "bgr";
|
|
1340
1341
|
yuv420: "yuv420";
|
|
1341
|
-
gray: "gray";
|
|
1342
1342
|
}>;
|
|
1343
1343
|
pts: z.ZodNumber;
|
|
1344
1344
|
byteLength: z.ZodNumber;
|
|
@@ -64,6 +64,21 @@ export declare const streamSignalsCapability: {
|
|
|
64
64
|
}, z.core.$strip>>;
|
|
65
65
|
lastFetchedAt: z.ZodNumber;
|
|
66
66
|
}, z.core.$strip>;
|
|
67
|
+
/**
|
|
68
|
+
* Runtime-state durability: **session** — mirrored in RAM, never written.
|
|
69
|
+
*
|
|
70
|
+
* The slice holds what the DEVICE says it can emit. That is a probed fact,
|
|
71
|
+
* not an operator choice: the provider re-declares it on every registration,
|
|
72
|
+
* so losing it loses nothing and persisting it would freeze an answer the
|
|
73
|
+
* camera is entitled to change. Measured the same day on the sibling case —
|
|
74
|
+
* `native-object-detection.supportedClasses` was persisted, and a firmware
|
|
75
|
+
* class the camera really detected stayed missing for the life of the row
|
|
76
|
+
* because the fix could not reach it.
|
|
77
|
+
*
|
|
78
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
79
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
80
|
+
*/
|
|
81
|
+
readonly durability: "session";
|
|
67
82
|
readonly methods: {
|
|
68
83
|
/**
|
|
69
84
|
* What this device can emit. Empty is a valid and common answer — most
|
|
@@ -489,11 +489,11 @@ declare const LoggingSettingsPatchSchema: z.ZodObject<{
|
|
|
489
489
|
*/
|
|
490
490
|
declare const ReportedLoadContributionSchema: z.ZodObject<{
|
|
491
491
|
role: z.ZodEnum<{
|
|
492
|
+
recording: "recording";
|
|
492
493
|
streaming: "streaming";
|
|
494
|
+
detection: "detection";
|
|
493
495
|
decode: "decode";
|
|
494
|
-
recording: "recording";
|
|
495
496
|
transcode: "transcode";
|
|
496
|
-
detection: "detection";
|
|
497
497
|
}>;
|
|
498
498
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
499
499
|
attribution: z.ZodEnum<{
|
|
@@ -810,11 +810,11 @@ export declare const systemCapability: {
|
|
|
810
810
|
*/
|
|
811
811
|
readonly getLoadContributions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
812
812
|
role: z.ZodEnum<{
|
|
813
|
+
recording: "recording";
|
|
813
814
|
streaming: "streaming";
|
|
815
|
+
detection: "detection";
|
|
814
816
|
decode: "decode";
|
|
815
|
-
recording: "recording";
|
|
816
817
|
transcode: "transcode";
|
|
817
|
-
detection: "detection";
|
|
818
818
|
}>;
|
|
819
819
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
820
820
|
attribution: z.ZodEnum<{
|
|
@@ -29,9 +29,9 @@ export declare const ClipSchema: z.ZodObject<{
|
|
|
29
29
|
source: z.ZodString;
|
|
30
30
|
kind: z.ZodEnum<{
|
|
31
31
|
object: "object";
|
|
32
|
+
motion: "motion";
|
|
32
33
|
audio: "audio";
|
|
33
34
|
native: "native";
|
|
34
|
-
motion: "motion";
|
|
35
35
|
}>;
|
|
36
36
|
timeRange: z.ZodObject<{
|
|
37
37
|
startMs: z.ZodNumber;
|
|
@@ -75,9 +75,9 @@ export declare const videoclipsCapability: {
|
|
|
75
75
|
source: z.ZodString;
|
|
76
76
|
kind: z.ZodEnum<{
|
|
77
77
|
object: "object";
|
|
78
|
+
motion: "motion";
|
|
78
79
|
audio: "audio";
|
|
79
80
|
native: "native";
|
|
80
|
-
motion: "motion";
|
|
81
81
|
}>;
|
|
82
82
|
timeRange: z.ZodObject<{
|
|
83
83
|
startMs: z.ZodNumber;
|
|
@@ -174,6 +174,9 @@ export declare const webrtcSessionCapability: {
|
|
|
174
174
|
consumerAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
175
175
|
kind: z.ZodEnum<{
|
|
176
176
|
unknown: "unknown";
|
|
177
|
+
recording: "recording";
|
|
178
|
+
pipeline: "pipeline";
|
|
179
|
+
snapshot: "snapshot";
|
|
177
180
|
alexa: "alexa";
|
|
178
181
|
homekit: "homekit";
|
|
179
182
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -181,15 +184,12 @@ export declare const webrtcSessionCapability: {
|
|
|
181
184
|
"webrtc-whep": "webrtc-whep";
|
|
182
185
|
"rtsp-listen": "rtsp-listen";
|
|
183
186
|
"derived-broker": "derived-broker";
|
|
184
|
-
recording: "recording";
|
|
185
|
-
pipeline: "pipeline";
|
|
186
|
-
snapshot: "snapshot";
|
|
187
187
|
warmup: "warmup";
|
|
188
188
|
}>;
|
|
189
189
|
label: z.ZodOptional<z.ZodString>;
|
|
190
190
|
media: z.ZodOptional<z.ZodEnum<{
|
|
191
|
-
video: "video";
|
|
192
191
|
audio: "audio";
|
|
192
|
+
video: "video";
|
|
193
193
|
both: "both";
|
|
194
194
|
}>>;
|
|
195
195
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
@@ -245,6 +245,9 @@ export declare const webrtcSessionCapability: {
|
|
|
245
245
|
consumerAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
246
246
|
kind: z.ZodEnum<{
|
|
247
247
|
unknown: "unknown";
|
|
248
|
+
recording: "recording";
|
|
249
|
+
pipeline: "pipeline";
|
|
250
|
+
snapshot: "snapshot";
|
|
248
251
|
alexa: "alexa";
|
|
249
252
|
homekit: "homekit";
|
|
250
253
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -252,15 +255,12 @@ export declare const webrtcSessionCapability: {
|
|
|
252
255
|
"webrtc-whep": "webrtc-whep";
|
|
253
256
|
"rtsp-listen": "rtsp-listen";
|
|
254
257
|
"derived-broker": "derived-broker";
|
|
255
|
-
recording: "recording";
|
|
256
|
-
pipeline: "pipeline";
|
|
257
|
-
snapshot: "snapshot";
|
|
258
258
|
warmup: "warmup";
|
|
259
259
|
}>;
|
|
260
260
|
label: z.ZodOptional<z.ZodString>;
|
|
261
261
|
media: z.ZodOptional<z.ZodEnum<{
|
|
262
|
-
video: "video";
|
|
263
262
|
audio: "audio";
|
|
263
|
+
video: "video";
|
|
264
264
|
both: "both";
|
|
265
265
|
}>>;
|
|
266
266
|
targetCodec: z.ZodOptional<z.ZodString>;
|