@trillboards/edge-sdk 0.2.211 → 0.2.213
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/deploy/windows/ci/test-alert-window-field.ps1 +252 -0
- package/dist/AlertClips.d.ts +131 -0
- package/dist/AlertClips.d.ts.map +1 -0
- package/dist/AlertClips.js +476 -0
- package/dist/AlertClips.js.map +1 -0
- package/dist/ConnectorStatusClient.d.ts +10 -0
- package/dist/ConnectorStatusClient.d.ts.map +1 -1
- package/dist/ConnectorStatusClient.js +11 -1
- package/dist/ConnectorStatusClient.js.map +1 -1
- package/dist/EdgeAgent.js +1 -1
- package/dist/LocalVideoBuffer.d.ts +59 -0
- package/dist/LocalVideoBuffer.d.ts.map +1 -0
- package/dist/LocalVideoBuffer.js +214 -0
- package/dist/LocalVideoBuffer.js.map +1 -0
- package/dist/SensingProfileClient.d.ts +62 -5
- package/dist/SensingProfileClient.d.ts.map +1 -1
- package/dist/SensingProfileClient.js +76 -1
- package/dist/SensingProfileClient.js.map +1 -1
- package/dist/VideoSegmentUploader.d.ts +169 -5
- package/dist/VideoSegmentUploader.d.ts.map +1 -1
- package/dist/VideoSegmentUploader.js +543 -32
- package/dist/VideoSegmentUploader.js.map +1 -1
- package/dist/autoSense.d.ts.map +1 -1
- package/dist/autoSense.js +4 -0
- package/dist/autoSense.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/connectorUpdate.d.ts +9 -0
- package/dist/connectorUpdate.d.ts.map +1 -1
- package/dist/connectorUpdate.js +21 -2
- package/dist/connectorUpdate.js.map +1 -1
- package/dist/diagnose.d.ts +1 -1
- package/dist/diagnose.js +1 -1
- package/dist/localSenseE2eHarness.d.ts +1 -1
- package/dist/localSenseE2eHarness.d.ts.map +1 -1
- package/dist/localSenseE2eHarness.js +7 -4
- package/dist/localSenseE2eHarness.js.map +1 -1
- package/dist/localSensing.d.ts +58 -0
- package/dist/localSensing.d.ts.map +1 -1
- package/dist/localSensing.js +115 -10
- package/dist/localSensing.js.map +1 -1
- package/package.json +5 -5
- package/retained/__tests__/evidence-uploads.test.cjs +130 -0
- package/retained/manager.cjs +2 -0
- package/retained/website-api-capability.cjs +7 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type HttpPoster } from './AudienceAnalyzeClient';
|
|
2
|
-
import { type CctvVideoKnobs } from './SensingProfileClient';
|
|
2
|
+
import { type AlertClipRequest, type CctvVideoKnobs, type CctvVideoMode } from './SensingProfileClient';
|
|
3
|
+
import { cutAlertWindow } from './AlertClips';
|
|
4
|
+
import { type LocalVideoBuffer } from './LocalVideoBuffer';
|
|
3
5
|
/**
|
|
4
6
|
* VideoSegmentUploader — delivers the CCTV connector's recorded MP4 segments
|
|
5
7
|
* into the ONE video index, `video_segment`, over the same three calls a
|
|
@@ -52,6 +54,20 @@ export interface RecordedSegmentLike {
|
|
|
52
54
|
};
|
|
53
55
|
} | null;
|
|
54
56
|
recovered?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* `video_segment.trigger_kind`: `event` for an alert window cut from the
|
|
59
|
+
* local buffer, else `continuous`. Event segments go ahead of every other
|
|
60
|
+
* upload on the box.
|
|
61
|
+
*/
|
|
62
|
+
triggerKind?: 'event' | 'continuous';
|
|
63
|
+
/** `video_segment.trigger_id` of an event segment: the server's `[a-z0-9_]{1,64}` id for its alert. */
|
|
64
|
+
triggerId?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The provider's label of the recording config that closed it. A segment
|
|
67
|
+
* labelled `LOCAL_BUFFER_SEGMENT_LABEL` was recorded for alert windows and
|
|
68
|
+
* is never uploaded whole, whatever the mode is when it surfaces.
|
|
69
|
+
*/
|
|
70
|
+
label?: string | null;
|
|
55
71
|
}
|
|
56
72
|
export type UploadNetwork = 'wifi' | 'cellular' | 'ethernet' | 'unknown';
|
|
57
73
|
/** The route's ceiling on one segment: 256 MiB (268,435,456 bytes). */
|
|
@@ -146,6 +162,8 @@ export interface VideoSegmentUploaderOptions {
|
|
|
146
162
|
retryBaseMs?: number;
|
|
147
163
|
retryMaxMs?: number;
|
|
148
164
|
log?: (level: 'info' | 'warn', message: string) => void;
|
|
165
|
+
/** Told once per segment that leaves the queue for good, and how. */
|
|
166
|
+
onDone?: (segment: RecordedSegmentLike, outcome: 'uploaded' | 'rejected' | 'discarded' | 'missing') => void;
|
|
149
167
|
}
|
|
150
168
|
export interface VideoUploadStats {
|
|
151
169
|
queued: number;
|
|
@@ -171,6 +189,11 @@ export interface VideoUploadStats {
|
|
|
171
189
|
lastStatus: number | null;
|
|
172
190
|
lastError: string | null;
|
|
173
191
|
lastUploadAtMs: number | null;
|
|
192
|
+
/** Event (alert window) segments indexed, and those queued now. */
|
|
193
|
+
eventsUploaded: number;
|
|
194
|
+
eventsQueued: number;
|
|
195
|
+
/** Times a continuous upload waited because an event clip was being delivered. */
|
|
196
|
+
heldForEvents: number;
|
|
174
197
|
}
|
|
175
198
|
export declare class VideoSegmentUploader {
|
|
176
199
|
private readonly apiBase;
|
|
@@ -184,22 +207,39 @@ export declare class VideoSegmentUploader {
|
|
|
184
207
|
private readonly retryBaseMs;
|
|
185
208
|
private readonly retryMaxMs;
|
|
186
209
|
private readonly log;
|
|
210
|
+
private readonly onDone?;
|
|
187
211
|
private readonly queue;
|
|
188
212
|
private inFlight;
|
|
213
|
+
/** dropContinuous ran while a continuous segment was in flight: never queue that one again. */
|
|
214
|
+
private inFlightContinuousDropped;
|
|
189
215
|
private draining;
|
|
190
216
|
private timer;
|
|
191
217
|
private stopped;
|
|
192
218
|
private readonly stats;
|
|
193
219
|
constructor(options: VideoSegmentUploaderOptions);
|
|
194
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* True while an event clip is being delivered, or is due within the
|
|
222
|
+
* priority horizon, by ANY uploader on the box (this one included).
|
|
223
|
+
*/
|
|
224
|
+
static eventDeliveryActive(nowMs?: number): boolean;
|
|
225
|
+
private hasActiveEvent;
|
|
226
|
+
/** Queue a closed segment. Event clips first, then oldest capture first; a file already queued is ignored. */
|
|
195
227
|
enqueue(segment: RecordedSegmentLike): void;
|
|
196
228
|
/** The ring deleted this file; stop trying to deliver it. */
|
|
197
229
|
forget(file: string): void;
|
|
230
|
+
/**
|
|
231
|
+
* Stop delivering every queued CONTINUOUS segment: the camera left the paid
|
|
232
|
+
* continuous mode. The files stay where they are (the provider's ring), so
|
|
233
|
+
* they become local buffer; event clips keep their place.
|
|
234
|
+
*/
|
|
235
|
+
dropContinuous(): number;
|
|
198
236
|
stop(): void;
|
|
199
237
|
getStats(): VideoUploadStats;
|
|
200
238
|
/** Deliver every item that is due now, one at a time. Resolves when none is due. */
|
|
201
239
|
flush(): Promise<void>;
|
|
240
|
+
private sortQueue;
|
|
202
241
|
private kick;
|
|
242
|
+
private done;
|
|
203
243
|
/** One attempt at one segment: presign → PUT → finalize, resuming at finalize. */
|
|
204
244
|
private deliver;
|
|
205
245
|
/** C4, snake_case. Server-authoritative fields (screen, device, source, key) are never sent. */
|
|
@@ -217,8 +257,30 @@ export interface SegmentRecordingTarget {
|
|
|
217
257
|
segmentSeconds: number;
|
|
218
258
|
ringSeconds: number;
|
|
219
259
|
enabled?: boolean;
|
|
260
|
+
maxBytes?: number | null;
|
|
220
261
|
} | null): void;
|
|
262
|
+
/** edge-platform-rtsp 0.2.15+: rank this feed's persistent session (alert cameras first). */
|
|
263
|
+
setSessionPriority?(priority: number): void;
|
|
264
|
+
/** The ring's size and the measured rate, for the buffer share and the depth it reports. */
|
|
265
|
+
getStats?(): unknown;
|
|
221
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Local buffer segments in `alert_windows` mode. An alert's window ends 15 s
|
|
269
|
+
* after its capture; the segment holding that instant closes at most one
|
|
270
|
+
* segment plus one GOP later, so a 10-s segment puts a clip on the uplink
|
|
271
|
+
* about 25-30 s after the alert, where the 60-s continuous segment would take
|
|
272
|
+
* up to 75 s.
|
|
273
|
+
*/
|
|
274
|
+
export declare const ALERT_BUFFER_SEGMENT_SECONDS = 10;
|
|
275
|
+
/**
|
|
276
|
+
* The provider label on every local-buffer segment. A switch to continuous or
|
|
277
|
+
* off closes the buffer's last segment under the new mode, and a restart
|
|
278
|
+
* re-emits the whole ring; the label is how those are told apart from video
|
|
279
|
+
* recorded for upload, so a week of buffer never reaches the uplink.
|
|
280
|
+
*/
|
|
281
|
+
export declare const LOCAL_BUFFER_SEGMENT_LABEL = "buffer";
|
|
282
|
+
/** Cut alert windows waiting for (or in) upload, beside the ring, never in it. */
|
|
283
|
+
export declare const EVENT_CLIPS_DIRNAME = "events";
|
|
222
284
|
export interface CctvVideoRecorderOptions {
|
|
223
285
|
provider: SegmentRecordingTarget;
|
|
224
286
|
/** The feed's own directory (the provider's segment dir; knob + budget state beside it). */
|
|
@@ -233,9 +295,22 @@ export interface CctvVideoRecorderOptions {
|
|
|
233
295
|
pollMs?: number;
|
|
234
296
|
now?: () => number;
|
|
235
297
|
log?: (level: 'info' | 'warn', message: string) => void;
|
|
298
|
+
/** The ffmpeg that cuts alert windows (the bundled one). Default 'ffmpeg' on PATH. */
|
|
299
|
+
ffmpegPath?: string;
|
|
300
|
+
/** The box-wide local buffer a feed in `alert_windows` mode joins. Default: the process's own. */
|
|
301
|
+
buffer?: LocalVideoBuffer;
|
|
302
|
+
/** Follows an alert-supporting review's receipt for clip requests. Absent: the knobs backstop only. */
|
|
303
|
+
receiptPoller?: {
|
|
304
|
+
watch(evidenceId: string): void;
|
|
305
|
+
stop(): void;
|
|
306
|
+
} | null;
|
|
307
|
+
/** Test seam for the cut. */
|
|
308
|
+
cutWindow?: typeof cutAlertWindow;
|
|
236
309
|
}
|
|
237
310
|
export interface CctvVideoRecorderStats {
|
|
238
311
|
knobs: CctvVideoKnobs | null;
|
|
312
|
+
/** The mode applied: the server's, or what an older API's numbers mean. */
|
|
313
|
+
mode: CctvVideoMode;
|
|
239
314
|
/** Whether the provider was last told to record. */
|
|
240
315
|
recording: boolean;
|
|
241
316
|
day: string;
|
|
@@ -245,11 +320,39 @@ export interface CctvVideoRecorderStats {
|
|
|
245
320
|
keptOnFailedFetch: number;
|
|
246
321
|
keptOnSilence: number;
|
|
247
322
|
keptOnMalformed: number;
|
|
323
|
+
/** Local-buffer segments that surfaced outside alert_windows (a mode switch, a restart) and stayed local. */
|
|
324
|
+
bufferSegmentsKept: number;
|
|
325
|
+
/** Alert windows: requests seen, clips cut, windows the buffer could not supply. */
|
|
326
|
+
clips: {
|
|
327
|
+
requested: number;
|
|
328
|
+
pending: number;
|
|
329
|
+
captured: number;
|
|
330
|
+
uploaded: number;
|
|
331
|
+
unavailable: number;
|
|
332
|
+
};
|
|
333
|
+
/** This feed's share of the box's local buffer, in bytes (alert_windows), else null. */
|
|
334
|
+
bufferShareBytes: number | null;
|
|
335
|
+
}
|
|
336
|
+
/** What one feed reports about its local video (the connector-status `videoBuffer` block). */
|
|
337
|
+
export interface VideoBufferReport {
|
|
338
|
+
mode: CctvVideoMode;
|
|
339
|
+
freeBytes: number | null;
|
|
340
|
+
budgetBytes: number | null;
|
|
341
|
+
bufferBytes: number;
|
|
342
|
+
bufferSeconds: number | null;
|
|
343
|
+
oldestCaptureAt: string | null;
|
|
248
344
|
}
|
|
249
345
|
/**
|
|
250
|
-
* One per recording feed. Applies the server's knobs to the provider
|
|
251
|
-
*
|
|
252
|
-
*
|
|
346
|
+
* One per recording feed. Applies the server's knobs to the provider and runs
|
|
347
|
+
* the camera's mode:
|
|
348
|
+
*
|
|
349
|
+
* continuous a per-UTC-day recorded-seconds budget, and every closed
|
|
350
|
+
* segment handed to the uploader (the paid add-on);
|
|
351
|
+
* alert_windows 10-s segments into a local ring sized by the box-wide
|
|
352
|
+
* `LocalVideoBuffer`, NOTHING uploaded, except the window
|
|
353
|
+
* around each alert the server fires, cut from the ring and
|
|
354
|
+
* uploaded as an `event` segment ahead of every other upload;
|
|
355
|
+
* off no recording; what an earlier run recorded is delivered.
|
|
253
356
|
*
|
|
254
357
|
* Knobs follow the deployedCadenceSource rule: a failed fetch, an API that
|
|
255
358
|
* does not send `video`, and an unreadable `video` all KEEP the last applied
|
|
@@ -267,6 +370,10 @@ export declare class CctvVideoRecorder {
|
|
|
267
370
|
private readonly pollMs;
|
|
268
371
|
private readonly now;
|
|
269
372
|
private readonly log;
|
|
373
|
+
private readonly ffmpegPath;
|
|
374
|
+
private readonly buffer;
|
|
375
|
+
private readonly receiptPoller;
|
|
376
|
+
private readonly cutWindow;
|
|
270
377
|
private knobs;
|
|
271
378
|
private daily;
|
|
272
379
|
private recording;
|
|
@@ -275,15 +382,66 @@ export declare class CctvVideoRecorder {
|
|
|
275
382
|
private pollTimer;
|
|
276
383
|
private dayTimer;
|
|
277
384
|
private readonly counts;
|
|
385
|
+
/** The mode last applied to the provider. */
|
|
386
|
+
private appliedMode;
|
|
387
|
+
/** This feed's share of the local buffer, while it buffers. */
|
|
388
|
+
private shareBytes;
|
|
389
|
+
/** Capture end of the newest segment the ring closed (alert windows wait for it to pass their end). */
|
|
390
|
+
private lastClosedEndMs;
|
|
391
|
+
private readonly pendingClips;
|
|
392
|
+
private clipStates;
|
|
393
|
+
/** The window being cut right now: a request arriving meanwhile is not queued a second time. */
|
|
394
|
+
private cuttingTrigger;
|
|
395
|
+
private cutting;
|
|
396
|
+
/** The ring's bytes read off disk before the provider has enforced it once (see heldBytes). */
|
|
397
|
+
private diskRingBytes;
|
|
398
|
+
private pendingTimer;
|
|
399
|
+
private readonly clipCounts;
|
|
278
400
|
constructor(options: CctvVideoRecorderOptions);
|
|
279
401
|
/** Idempotent. Runs synchronously inside the provider's `open()`. */
|
|
280
402
|
start(): void;
|
|
281
403
|
stop(): void;
|
|
282
404
|
getStats(): CctvVideoRecorderStats;
|
|
405
|
+
/**
|
|
406
|
+
* The local video this feed holds, for the status beacon: the box's free
|
|
407
|
+
* bytes and buffer budget, this feed's ring, and how far back it reaches.
|
|
408
|
+
*/
|
|
409
|
+
videoBufferReport(): VideoBufferReport;
|
|
410
|
+
/**
|
|
411
|
+
* A review that supported an alert was accepted: follow its receipt for the
|
|
412
|
+
* clip the server will ask for. Only a buffering feed has anything to cut.
|
|
413
|
+
*/
|
|
414
|
+
watchReceipt(evidenceId: string): void;
|
|
415
|
+
/** Clip requests from the receipt or the knobs. Each window is cut once. */
|
|
416
|
+
requestClips(requests: AlertClipRequest[]): void;
|
|
283
417
|
/** One knob fetch. Only an explicit, readable `video` block changes anything. */
|
|
284
418
|
poll(): Promise<void>;
|
|
285
419
|
private apply;
|
|
420
|
+
/**
|
|
421
|
+
* The bytes this feed's ring holds. The provider reports 0 until it has
|
|
422
|
+
* enforced the ring once, which after a restart is AFTER the share is first
|
|
423
|
+
* computed; counting 0 then would hand the ring a share that leaves out its
|
|
424
|
+
* own week of video and trim the oldest of it at every start. Until the
|
|
425
|
+
* provider reports, the closed segments are summed off disk (once a minute).
|
|
426
|
+
*/
|
|
427
|
+
private heldRingBytes;
|
|
428
|
+
/** The provider config in alert_windows mode: short segments, the byte share as the cap. */
|
|
429
|
+
private bufferConfig;
|
|
286
430
|
private onSegment;
|
|
431
|
+
private ensurePendingTimer;
|
|
432
|
+
/**
|
|
433
|
+
* Cut every pending window whose end the ring has passed (or that waited past
|
|
434
|
+
* the grace), one at a time. The window comes from the request; the server
|
|
435
|
+
* decides it, the box only measures where its buffer starts and ends.
|
|
436
|
+
*/
|
|
437
|
+
private capturePending;
|
|
438
|
+
/** Bound the undelivered clips (EVENT_CLIPS_MAX, EVENT_CLIPS_MAX_AGE_MS); never the one being cut. */
|
|
439
|
+
private pruneEventClips;
|
|
440
|
+
/** Clips an earlier process cut and never delivered go first, as before the restart. */
|
|
441
|
+
private recoverEventClips;
|
|
442
|
+
/** The uploader finished an event clip. */
|
|
443
|
+
noteUploadDone(segment: RecordedSegmentLike, outcome: 'uploaded' | 'rejected' | 'discarded' | 'missing'): void;
|
|
444
|
+
private setClipState;
|
|
287
445
|
private rollDay;
|
|
288
446
|
private scheduleNextDay;
|
|
289
447
|
private loadState;
|
|
@@ -298,6 +456,10 @@ export interface AttachCctvVideoRecorderArgs {
|
|
|
298
456
|
httpPoster?: HttpPoster;
|
|
299
457
|
/** Knob poll interval; the wiring passes the local profile cache TTL. */
|
|
300
458
|
pollMs?: number;
|
|
459
|
+
/** The bundled ffmpeg that cuts alert windows. */
|
|
460
|
+
ffmpegPath?: string;
|
|
461
|
+
/** The paired retained-review API whose receipts carry clip requests (absent: knobs backstop only). */
|
|
462
|
+
retainedApiBaseUrl?: string;
|
|
301
463
|
}
|
|
302
464
|
/**
|
|
303
465
|
* Attach a recorder to a freshly built provider. Returns null — and records
|
|
@@ -311,6 +473,8 @@ export declare function activeCctvVideoRecorders(): Array<{
|
|
|
311
473
|
dir: string;
|
|
312
474
|
recorder: CctvVideoRecorder;
|
|
313
475
|
}>;
|
|
476
|
+
/** The local video report of the feed that uses this device token, or null (no recording feed). */
|
|
477
|
+
export declare function videoBufferReportForToken(deviceToken: string): VideoBufferReport | null;
|
|
314
478
|
/** Test seam. */
|
|
315
479
|
export declare function __resetCctvVideoRecordersForTests(): void;
|
|
316
480
|
//# sourceMappingURL=VideoSegmentUploader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoSegmentUploader.d.ts","sourceRoot":"","sources":["../src/VideoSegmentUploader.ts"],"names":[],"mappings":"AAOA,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE7E,OAAO,
|
|
1
|
+
{"version":3,"file":"VideoSegmentUploader.d.ts","sourceRoot":"","sources":["../src/VideoSegmentUploader.ts"],"names":[],"mappings":"AAOA,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE7E,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAA0B,cAAc,EAAsC,MAAM,cAAc,CAAC;AAC1G,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM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