@trillboards/edge-platform-rtsp 0.2.23 → 0.2.25

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.
@@ -4,6 +4,7 @@
4
4
  /// <reference types="node" />
5
5
  import { spawn } from 'child_process';
6
6
  import { EventEmitter } from 'events';
7
+ import { type HardwareDecodeProbe } from './RTSPCameraProvider';
7
8
  import { type AdoptedSegmentInput, type RecordedSegment, type SegmentStreamInfo } from './RTSPStreamCameraProvider';
8
9
  /**
9
10
  * MainStreamSession — the camera's MAIN stream, on a session of its own.
@@ -40,7 +41,12 @@ import { type AdoptedSegmentInput, type RecordedSegment, type SegmentStreamInfo
40
41
  *
41
42
  * Main-stream sessions — the probe and the recorder alike — are admitted from
42
43
  * their OWN lane per physical recorder (`captureSourceKey`: host:port), capped
43
- * at `DEFAULT_MAX_MAIN_STREAM_SESSIONS_PER_SOURCE` (1). The substream lanes
44
+ * by one box-wide knob, `setMainStreamSessionsPerSource` (the sensing profile's
45
+ * `video.mainSessionsPerRecorder`; `DEFAULT_MAX_MAIN_STREAM_SESSIONS_PER_SOURCE`,
46
+ * 1, until a profile says otherwise). A 32-channel NVR is ONE host:port, so the
47
+ * knob is what lets a second camera's main stream (a face-zone output beside a
48
+ * ring recording) run at all. A raise wakes every session waiting for a slot; a
49
+ * lower stops the newest sessions first until each recorder fits. The substream lanes
44
50
  * (`CaptureAdmission`, the persistent-session lane) are untouched by a probe,
45
51
  * which is the shape `RTSPAudioProvider` took for the same reason: a long-lived
46
52
  * pull must never take a slot the frame path counts on. A RECORDING session
@@ -61,9 +67,33 @@ import { type AdoptedSegmentInput, type RecordedSegment, type SegmentStreamInfo
61
67
  * over the last minute (`MAIN_STREAM_CLOCK_WINDOW_MS`) is the least-delayed
62
68
  * report, and following it lets the anchor track a camera clock that drifts
63
69
  * against the PC's over a session that runs for days.
70
+ *
71
+ * ── GPU DECODE, ONLY FOR AN OUTPUT THAT DECODES ───────────────────────────
72
+ *
73
+ * An output that decodes the main stream (`decodes`: the face zone, which
74
+ * filters and encodes it) is the session's only per-frame CPU cost: Texas cam
75
+ * 1's 2880x1616 HEVC at 20.6 fps costs 0.26 cores to decode in software. A
76
+ * session carrying one decodes on the GPU (`-hwaccel d3d11va`, before the input,
77
+ * so it binds to the decoder: a stream copy opens none, and the ring's bytes do
78
+ * not move) when this host's GPU decode probe decoded the main stream's codec
79
+ * there: plan v7 W8's probe (`hardwareDecodeProbeFor`), read once it has settled
80
+ * and never started here (`settledHardwareDecodeProbe`). ffmpeg names the codec
81
+ * on the first session, which decodes in software; once it runs, a session that
82
+ * may decode on the GPU restarts onto it once. That restart, like every one
83
+ * `refresh` makes, asks ffmpeg to quit (`q` on stdin, `closeLive`): the ring
84
+ * segment in progress is closed and kept, and the GPU session starts as the
85
+ * software one exits, so the recording loses only the reconnect and the wait for
86
+ * a keyframe. GPU decode that fails falls back
87
+ * to software for the rest of this session's life: inside the running ffmpeg
88
+ * (`Failed setup for format d3d11`: it goes on, recording and all, and is never
89
+ * restarted for it), or by ending a session (a failure ffmpeg names, or a GPU
90
+ * session that never delivered), whose replacement starts at once, in software,
91
+ * with the slots it held.
64
92
  */
65
- /** Main-stream sessions (probe or recorder) one connector holds per recorder host:port. */
93
+ /** Main-stream sessions (probe or recorder) one connector holds per recorder host:port until the knob says otherwise. */
66
94
  export declare const DEFAULT_MAX_MAIN_STREAM_SESSIONS_PER_SOURCE = 1;
95
+ /** The most the box-wide knob can ask for per recorder (the API clamps `video.mainSessionsPerRecorder` to the same). */
96
+ export declare const MAX_MAIN_STREAM_SESSIONS_PER_SOURCE = 8;
67
97
  /** First restart delay after a session ends; doubles to the max. */
68
98
  export declare const MAIN_STREAM_RESTART_BASE_MS = 10000;
69
99
  /** Ceiling on the restart delay: at most one retry an hour against a fault that persists. */
@@ -72,23 +102,40 @@ export declare const MAIN_STREAM_RESTART_MAX_MS = 3600000;
72
102
  export declare const MAIN_STREAM_HEALTHY_RUN_MS = 60000;
73
103
  /** A session whose output has not started this long after spawn is killed (and counted). */
74
104
  export declare const MAIN_STREAM_STARTUP_TIMEOUT_MS = 30000;
105
+ /** A restarting session asked to quit (`q`) that has not exited this long after is killed. */
106
+ export declare const MAIN_STREAM_GRACEFUL_STOP_MS = 4000;
75
107
  /** The window the clock's minimum is taken over. */
76
108
  export declare const MAIN_STREAM_CLOCK_WINDOW_MS = 60000;
77
109
  /** Session work directories of the main-stream recorder: never the substream's `rec-`. */
78
110
  export declare const MAIN_STREAM_WORKDIR_PREFIX = "main-";
111
+ /**
112
+ * The box-wide knob (the sensing profile's `video.mainSessionsPerRecorder`, the
113
+ * same on every camera): how many main-stream sessions this connector holds per
114
+ * recorder host:port, applied to every recorder's lane now and to each lane
115
+ * created later. A raise wakes every session waiting for a slot, so it asks
116
+ * again at once instead of at its next retry; a lower stops the newest sessions
117
+ * first until each recorder fits (a probe is never stopped: it ends on its own).
118
+ * Bounded to 1..MAX_MAIN_STREAM_SESSIONS_PER_SOURCE; anything but a number
119
+ * leaves it as it is. Returns the cap in force.
120
+ */
121
+ export declare function setMainStreamSessionsPerSource(limit: number): number;
122
+ /** The box-wide main-stream sessions per recorder now in force. */
123
+ export declare function getMainStreamSessionsPerSource(): number;
79
124
  /**
80
125
  * One main-stream session slot on the recorder this URL names, or null when the
81
- * connector already holds as many as `limit` there (or the URL names no
82
- * recorder). Never queues. Release it exactly once.
126
+ * connector already holds as many as the box-wide knob allows there (or as many
127
+ * as `limit`, a caller's own tighter cap), or the URL names no recorder. Never
128
+ * queues. Release it exactly once. `shed` is called (after the slot is taken
129
+ * back) when a lower knob stops this holder; a probe passes none.
83
130
  */
84
- export declare function acquireMainStreamSlot(streamUrl: string, limit?: number): (() => void) | null;
131
+ export declare function acquireMainStreamSlot(streamUrl: string, limit?: number, shed?: () => void): (() => void) | null;
85
132
  /** Live main-stream occupancy for a recorder, for diagnostics. */
86
133
  export declare function mainStreamSessionStatsFor(streamUrl: string): {
87
134
  key: string;
88
135
  active: number;
89
136
  limit: number;
90
137
  } | null;
91
- /** Test seam: forget every recorder's main-stream lane. */
138
+ /** Test seam: forget every recorder's main-stream lane, its waiters and the knob. */
92
139
  export declare function __resetMainStreamAdmissionForTests(): void;
93
140
  /**
94
141
  * ffmpeg input args for an RTSP URL: the URL goes into a 0600 ffconcat file and
@@ -151,6 +198,12 @@ export interface MainStreamOutput {
151
198
  outputArgs(ctx: MainStreamOutputContext): string[] | null;
152
199
  /** Its arguments write to the session's stdout (`pipe:1`); at most one output may. */
153
200
  readonly writesStdout?: boolean;
201
+ /**
202
+ * Its arguments DECODE the main stream (a filter or an encoder on it), as a
203
+ * stream copy never does: a session carrying one decodes on this host's GPU
204
+ * where the probe says it can (see the header).
205
+ */
206
+ readonly decodes?: boolean;
154
207
  /** ffmpeg described the input. */
155
208
  onInput?(ctx: MainStreamOutputContext): void;
156
209
  /** Every second while a session carrying this output runs. */
@@ -185,6 +238,14 @@ export interface MainStreamSessionStats {
185
238
  atMs: number;
186
239
  summary: string;
187
240
  }) | null;
241
+ /**
242
+ * GPU decode (plan v7 T1): `active` while the live session decodes on the GPU;
243
+ * `failure` once it failed on this camera (every later session decodes in software).
244
+ */
245
+ gpuDecode: {
246
+ active: boolean;
247
+ failure: string | null;
248
+ };
188
249
  }
189
250
  export interface MainStreamSessionConfig {
190
251
  /** The camera's MAIN stream URL. Credentials never reach argv or a log line. */
@@ -195,7 +256,11 @@ export interface MainStreamSessionConfig {
195
256
  ffmpegPath?: string;
196
257
  /** For the `-timeout`/`-stimeout` split and `-min_seg_duration`. Default 6. */
197
258
  ffmpegMajorVersion?: number;
198
- /** Main-stream sessions per recorder host:port. Default 1. */
259
+ /**
260
+ * A tighter cap on main-stream sessions per recorder host:port for this
261
+ * session alone. Default none: the box-wide `setMainStreamSessionsPerSource`
262
+ * knob (1 until a profile raises it) decides.
263
+ */
199
264
  maxSessionsPerSource?: number;
200
265
  /** Hold a priority-0 ticket in the recorder's persistent-session lane while running. Default true. */
201
266
  sharePersistentLane?: boolean;
@@ -203,6 +268,14 @@ export interface MainStreamSessionConfig {
203
268
  maxRestartDelayMs?: number;
204
269
  healthyRunMs?: number;
205
270
  startupTimeoutMs?: number;
271
+ /** How long a restarting session may take to finish its segment after `q` before it is killed. Default 4 s. */
272
+ gracefulStopMs?: number;
273
+ /**
274
+ * This host's GPU decode probe answer, or null while none has settled. Default:
275
+ * the look sessions' own (`settledHardwareDecodeProbe`), never started here.
276
+ * Injected for tests and the rig's fallback proof.
277
+ */
278
+ hardwareDecode?: (ffmpegPath: string) => HardwareDecodeProbe | null;
206
279
  spawnFn?: typeof spawn;
207
280
  now?: () => number;
208
281
  onLog?: (level: 'info' | 'warn', message: string) => void;
@@ -224,6 +297,8 @@ export declare class MainStreamSession extends EventEmitter {
224
297
  private readonly maxRestartDelayMs;
225
298
  private readonly healthyRunMs;
226
299
  private readonly startupTimeoutMs;
300
+ private readonly gracefulStopMs;
301
+ private readonly hardwareDecode;
227
302
  private readonly spawnFn;
228
303
  private readonly now;
229
304
  private readonly onLog?;
@@ -245,16 +320,28 @@ export declare class MainStreamSession extends EventEmitter {
245
320
  private clockSamples;
246
321
  private mediaZeroWallMs;
247
322
  private lastEnd;
323
+ /** Why GPU decode failed on this camera's main stream: every later session decodes in software. */
324
+ private hwDecodeFailure;
325
+ /** Registered while the main-stream lane has no room for this session: a raised knob calls it. */
326
+ private readonly wakeForRoom;
248
327
  constructor(config: MainStreamSessionConfig);
249
328
  /** Add (or replace, by name) an output. A running session restarts once to carry it. */
250
329
  addOutput(output: MainStreamOutput): void;
251
330
  removeOutput(name: string): void;
252
331
  /** Want a session from now on. Idempotent. */
253
332
  start(): void;
333
+ /**
334
+ * A session waiting for room (`session_limit`) asks for its slots again now,
335
+ * instead of at its next retry: a raised knob, or the owner's periodic check.
336
+ * The restart delay starts over, because this connector's own cap refusing it
337
+ * says nothing about the recorder. Any other state is left alone.
338
+ */
339
+ readmit(): void;
254
340
  /**
255
341
  * Re-read every output's arguments. A running session whose argv no longer
256
342
  * matches restarts once (its replacement starts as it exits); one that no
257
- * output wants stops and gives its slots back.
343
+ * output wants stops and gives its slots back. Either way it is asked to quit
344
+ * (`closeLive`), so the ring segment it was writing is closed and kept.
258
345
  */
259
346
  refresh(): void;
260
347
  /** Stop for good: kill the session and release every slot. */
@@ -262,8 +349,20 @@ export declare class MainStreamSession extends EventEmitter {
262
349
  getStats(): MainStreamSessionStats;
263
350
  getState(): MainStreamSessionState;
264
351
  private context;
265
- /** The outputs that want the next session, in add order, and their joined plan key; null when none does. */
352
+ /**
353
+ * The outputs that want the next session, in add order, their joined plan key and
354
+ * whether it may decode on the GPU; null when none does.
355
+ */
266
356
  private plan;
357
+ /**
358
+ * `-hwaccel d3d11va` for a session carrying these outputs? Only when one of them
359
+ * decodes, ffmpeg has named the main stream's codec (a first session decodes in
360
+ * software), this host's probe decoded that codec on the GPU, and GPU decode has
361
+ * not failed on this camera.
362
+ */
363
+ private planHwDecode;
364
+ /** GPU decode failed on this camera: logged once, and every later session decodes in software. */
365
+ private failHwDecode;
267
366
  private ensureSession;
268
367
  private spawnSession;
269
368
  private onStderr;
@@ -272,9 +371,21 @@ export declare class MainStreamSession extends EventEmitter {
272
371
  private tick;
273
372
  private onEnd;
274
373
  private shed;
374
+ /** A lower knob took this session's main-stream slot back (the lane already dropped it). */
375
+ private shedFromMainLane;
275
376
  private refused;
276
377
  private scheduleRetry;
277
378
  private clearRetry;
379
+ /**
380
+ * Ask a restarting session to quit the way ffmpeg finishes its files: `q` on
381
+ * its stdin. ffmpeg closes the ring segment it was writing and lists it, so the
382
+ * ring keeps the seconds up to the restart (the GPU switch, a new output, a
383
+ * changed recording). A kill cannot do that on a store PC: Node's SIGTERM is
384
+ * TerminateProcess on Windows, and the segment in progress (up to the ring's
385
+ * 10 s) was lost at every restart. Bounded: a session that has not exited
386
+ * `gracefulStopMs` later (an ffmpeg wedged on its socket) is killed.
387
+ */
388
+ private closeLive;
278
389
  private killLive;
279
390
  private releaseSlots;
280
391
  private setState;
@@ -1 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