@trillboards/edge-platform-rtsp 0.2.6 → 0.2.8
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/README.md +38 -0
- package/dist/RTSPStreamCameraProvider.d.ts +332 -4
- package/dist/RTSPStreamCameraProvider.d.ts.map +1 -1
- package/dist/RTSPStreamCameraProvider.js +1234 -46
- package/dist/RTSPStreamCameraProvider.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,6 +95,44 @@ Four things about it that are not obvious:
|
|
|
95
95
|
plus a separate `maxFrameBytes` ceiling on the partially-received frame, with
|
|
96
96
|
every eviction counted in `getStats()`.
|
|
97
97
|
|
|
98
|
+
#### Segment recording — the same session, a second output
|
|
99
|
+
|
|
100
|
+
`segmentRecording` makes the persistent session also write the camera's own
|
|
101
|
+
bitstream to MP4 segments: a **stream copy** (`-map 0:v -c:v copy … -f segment`),
|
|
102
|
+
so there is no decode, no re-encode and no second RTSP session against the
|
|
103
|
+
recorder. Only a crop-less persistent session records; with no
|
|
104
|
+
`segmentRecording` the session's argv is byte-identical to the look-only one.
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
const camera = new RTSPStreamCameraProvider({
|
|
108
|
+
rtspUrl: 'rtsp://user:pass@192.168.1.100:554/Streaming/Channels/101',
|
|
109
|
+
segmentRecording: { dir: '/var/lib/trillboards/video-segments/cam-101', segmentSeconds: 60, ringSeconds: 3600 },
|
|
110
|
+
});
|
|
111
|
+
camera.on('segment', (s) => {
|
|
112
|
+
// s.file is a CLOSED .mp4 under <dir>/closed/, beside its JSON sidecar.
|
|
113
|
+
// s.captureStartMs / s.captureEndMs are wall clock; s.stream is ffmpeg's codec/size/fps.
|
|
114
|
+
});
|
|
115
|
+
camera.on('segment_evicted', (e) => { /* the ring deleted e.file before delivery */ });
|
|
116
|
+
await camera.open();
|
|
117
|
+
camera.setSegmentRecording(null); // stop: one session restart, counted as a reconfigure
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- **Closed means listed.** ffmpeg writes a line to the segment list only when it
|
|
121
|
+
ends a segment. Listed files move to `<dir>/closed/`; anything still in a
|
|
122
|
+
session's work directory when it ends was never listed and is deleted.
|
|
123
|
+
- **Timing.** `captureStartMs` = wall clock at the session's first decoded frame
|
|
124
|
+
+ the segment's `startSec`. `-avoid_negative_ts make_zero` makes the copy's
|
|
125
|
+
timeline start at its first keyframe, which is what makes that sum true, and
|
|
126
|
+
each close is checked against the wall clock to correct a drifting media clock.
|
|
127
|
+
- **HEVC** is tagged `hvc1` (ffmpeg writes `hev1` otherwise, which QuickTime and
|
|
128
|
+
Safari refuse). Codecs other than H.264 and HEVC are not recorded.
|
|
129
|
+
- **Bounded on disk.** The closed ring holds min(`ringSeconds` x measured
|
|
130
|
+
bytes/s, 10% of the volume's free bytes), deleting oldest first.
|
|
131
|
+
- **It never takes the look path down.** A session that carried the second
|
|
132
|
+
output and failed runs look-only next; recording retries after a doubling
|
|
133
|
+
pause (60 s up to 1 h). `getStats().segments` reports the state, the ring, and
|
|
134
|
+
every counter.
|
|
135
|
+
|
|
98
136
|
## Audio
|
|
99
137
|
|
|
100
138
|
### `RTSPAudioProvider` — continuous audio off a camera / NVR channel
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
/// <reference types="node" />
|
|
4
|
+
/// <reference types="node" />
|
|
4
5
|
import { spawn } from 'child_process';
|
|
6
|
+
import { EventEmitter } from 'events';
|
|
5
7
|
import type { CameraProvider } from '@trillboards/edge-core';
|
|
6
8
|
import { type CropRegion, type RTSPCameraConfig } from './RTSPCameraProvider';
|
|
7
9
|
/**
|
|
@@ -178,6 +180,29 @@ import { type CropRegion, type RTSPCameraConfig } from './RTSPCameraProvider';
|
|
|
178
180
|
* written to a 0600 ffconcat file and only the temp path reaches argv, so a
|
|
179
181
|
* password never appears in `ps` output; stderr is scrubbed through
|
|
180
182
|
* `sanitizeStreamUrlForLog` before it can reach a log line.
|
|
183
|
+
*
|
|
184
|
+
* ── SEGMENT RECORDING: A SECOND OUTPUT ON THE SAME SESSION ────────────────
|
|
185
|
+
*
|
|
186
|
+
* `segmentRecording` adds a second ffmpeg OUTPUT to the session that is already
|
|
187
|
+
* running — `-map 0:v -c:v copy … -f segment` — so the camera's own H.264/HEVC
|
|
188
|
+
* bitstream is written to MP4 segments with no decode and no re-encode, and no
|
|
189
|
+
* second RTSP session is opened against the recorder. The look path's argv is
|
|
190
|
+
* byte-identical when it is absent, and only a crop-less persistent session
|
|
191
|
+
* records (a mosaic tile's crop applies to the look output, never to a copy).
|
|
192
|
+
*
|
|
193
|
+
* Closed segments are found by reading the segment muxer's own CSV list:
|
|
194
|
+
* ffmpeg prints a line only when it ENDS a segment, so a listed file is a
|
|
195
|
+
* closed one. Every listed file moves to `<dir>/closed/` with a JSON sidecar
|
|
196
|
+
* and is emitted as a `'segment'` event; every file still in the session's
|
|
197
|
+
* work directory when the session ends was never listed — the segment that
|
|
198
|
+
* was being written — and is deleted, so a partial file never leaves here.
|
|
199
|
+
* Measured on ffmpeg 6.1.1 against mediamtx: SIGTERM mid-segment leaves that
|
|
200
|
+
* segment unlisted and without a `moov` atom; a listed segment probes clean.
|
|
201
|
+
*
|
|
202
|
+
* Recording can never take the look path down. A session that carried the
|
|
203
|
+
* second output, opened its input and then produced nothing is read as the
|
|
204
|
+
* output's failure: the next session runs look-only and recording retries
|
|
205
|
+
* after a doubling cooldown (`SEGMENT_SUSPEND_BASE_MS`..`SEGMENT_SUSPEND_MAX_MS`).
|
|
181
206
|
*/
|
|
182
207
|
/** The recorder's persistent-session lane is full. Degrade, never queue. */
|
|
183
208
|
export declare class RtspStreamAdmissionError extends Error {
|
|
@@ -348,6 +373,171 @@ export declare function streamSessionStatsFor(streamUrl: string): {
|
|
|
348
373
|
limit: number;
|
|
349
374
|
learnedCeiling: number | null;
|
|
350
375
|
} | null;
|
|
376
|
+
/** Where and how a feed records. One directory per feed; never shared. */
|
|
377
|
+
export interface SegmentRecordingConfig {
|
|
378
|
+
/**
|
|
379
|
+
* The feed's own directory. Session work directories (`rec-*`) and the ring
|
|
380
|
+
* of closed segments (`closed/`) live beneath it.
|
|
381
|
+
*/
|
|
382
|
+
dir: string;
|
|
383
|
+
/** `-segment_time`: a segment closes at the first keyframe after this. */
|
|
384
|
+
segmentSeconds: number;
|
|
385
|
+
/** Ring capacity, in seconds of this feed's MEASURED bytes per second. */
|
|
386
|
+
ringSeconds: number;
|
|
387
|
+
/**
|
|
388
|
+
* False keeps the directory (leftover recovery, the ring) but adds no
|
|
389
|
+
* output. Default true.
|
|
390
|
+
*/
|
|
391
|
+
enabled?: boolean;
|
|
392
|
+
}
|
|
393
|
+
/** The input stream as ffmpeg described it when the session opened. */
|
|
394
|
+
export interface SegmentStreamInfo {
|
|
395
|
+
/** ffmpeg's codec name, lowercased: `h264`, `hevc`, `mjpeg`, … */
|
|
396
|
+
codec: string;
|
|
397
|
+
width: number | null;
|
|
398
|
+
height: number | null;
|
|
399
|
+
fps: number | null;
|
|
400
|
+
}
|
|
401
|
+
/** A CLOSED segment, moved into `<dir>/closed/` beside its JSON sidecar. */
|
|
402
|
+
export interface RecordedSegment {
|
|
403
|
+
/** Absolute path of the closed `.mp4`. The consumer owns it from here. */
|
|
404
|
+
file: string;
|
|
405
|
+
/** Its JSON sidecar (the fields below), deleted with it. */
|
|
406
|
+
metaFile: string;
|
|
407
|
+
/** Start and end on the session's output timeline, from the segment list. */
|
|
408
|
+
startSec: number;
|
|
409
|
+
endSec: number;
|
|
410
|
+
/**
|
|
411
|
+
* Wall clock at the session's first decoded frame, plus the segment's offset
|
|
412
|
+
* from the session's FIRST listed segment. See `anchorFor`.
|
|
413
|
+
*/
|
|
414
|
+
captureStartMs: number;
|
|
415
|
+
captureEndMs: number;
|
|
416
|
+
bytes: number;
|
|
417
|
+
stream: SegmentStreamInfo | null;
|
|
418
|
+
/** Closed by an earlier process and found on disk when this one opened. */
|
|
419
|
+
recovered: boolean;
|
|
420
|
+
}
|
|
421
|
+
/** A closed segment the ring deleted before anyone delivered it. */
|
|
422
|
+
export interface EvictedSegment {
|
|
423
|
+
file: string;
|
|
424
|
+
metaFile: string;
|
|
425
|
+
bytes: number;
|
|
426
|
+
}
|
|
427
|
+
export type SegmentRecordingState =
|
|
428
|
+
/** No recording configured, or configured off. */
|
|
429
|
+
'off'
|
|
430
|
+
/** A session is writing segments now. */
|
|
431
|
+
| 'recording'
|
|
432
|
+
/** Configured on; the next session will record. */
|
|
433
|
+
| 'waiting_for_session'
|
|
434
|
+
/** A mosaic tile: its crop belongs to the look output, so it never records. */
|
|
435
|
+
| 'cropped'
|
|
436
|
+
/** The feed runs the per-grab path, which has no session to record from. */
|
|
437
|
+
| 'per_grab'
|
|
438
|
+
/** The camera sends a codec the index cannot hold (not H.264 or HEVC). */
|
|
439
|
+
| 'unsupported_codec'
|
|
440
|
+
/** A session with the second output failed; retrying after a cooldown. */
|
|
441
|
+
| 'suspended';
|
|
442
|
+
export interface SegmentRecordingStats {
|
|
443
|
+
state: SegmentRecordingState;
|
|
444
|
+
dir: string | null;
|
|
445
|
+
segmentSeconds: number | null;
|
|
446
|
+
ringSeconds: number | null;
|
|
447
|
+
/** The input codec ffmpeg reported for the newest session, or null. */
|
|
448
|
+
codec: string | null;
|
|
449
|
+
/** Segments this process closed and emitted (recovered ones excluded). */
|
|
450
|
+
segmentsClosed: number;
|
|
451
|
+
/** Segments an earlier process left on disk, emitted at open. */
|
|
452
|
+
segmentsRecovered: number;
|
|
453
|
+
secondsClosed: number;
|
|
454
|
+
bytesClosed: number;
|
|
455
|
+
/** Never-listed files deleted from session work directories. */
|
|
456
|
+
partialsDeleted: number;
|
|
457
|
+
/** Closed segments on disk at the last ring check, and their bytes. */
|
|
458
|
+
ringSegments: number;
|
|
459
|
+
ringBytes: number;
|
|
460
|
+
/** min(ringSeconds x measured bytes/s, 10% of the volume's free bytes). */
|
|
461
|
+
ringLimitBytes: number | null;
|
|
462
|
+
measuredBytesPerSec: number | null;
|
|
463
|
+
freeBytes: number | null;
|
|
464
|
+
evictedSegments: number;
|
|
465
|
+
evictedBytes: number;
|
|
466
|
+
/** Session restarts taken to add, drop or change the second output. */
|
|
467
|
+
reconfigures: number;
|
|
468
|
+
/** Sessions with the second output that opened their input and produced nothing. */
|
|
469
|
+
outputFailures: number;
|
|
470
|
+
suspendedUntilMs: number | null;
|
|
471
|
+
/** Times the wall-clock anchor was corrected against a segment's close. */
|
|
472
|
+
reanchors: number;
|
|
473
|
+
/** Predicted minus observed close of the newest segment, in ms. */
|
|
474
|
+
lastAnchorDriftMs: number | null;
|
|
475
|
+
lastSegmentAtMs: number | null;
|
|
476
|
+
lastError: string | null;
|
|
477
|
+
}
|
|
478
|
+
/** Codecs `video_segment` holds. Anything else is not recorded. */
|
|
479
|
+
export declare const RECORDABLE_CODECS: readonly string[];
|
|
480
|
+
/** Closed segments, beside their sidecars, under the feed's directory. */
|
|
481
|
+
export declare const CLOSED_SEGMENTS_DIRNAME = "closed";
|
|
482
|
+
/** First recording pause after the second output failed a session. */
|
|
483
|
+
export declare const SEGMENT_SUSPEND_BASE_MS = 60000;
|
|
484
|
+
/** Ceiling on that pause: at most one look-path restart an hour on a failure that persists. */
|
|
485
|
+
export declare const SEGMENT_SUSPEND_MAX_MS = 3600000;
|
|
486
|
+
/** The ring may hold at most this fraction of the volume's free bytes. */
|
|
487
|
+
export declare const RING_FREE_FRACTION = 0.1;
|
|
488
|
+
/** A file the segment list names, with its place on the output timeline. */
|
|
489
|
+
export interface SegmentListEntry {
|
|
490
|
+
name: string;
|
|
491
|
+
startSec: number;
|
|
492
|
+
endSec: number;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Parse the segment muxer's CSV list (`-segment_list_type csv`): one line per
|
|
496
|
+
* CLOSED segment, `name,start,end`. The last line is returned as `remainder`
|
|
497
|
+
* when it is not yet newline-terminated, so a half-written line is never read.
|
|
498
|
+
*/
|
|
499
|
+
export declare function parseSegmentListCsv(text: string): {
|
|
500
|
+
entries: SegmentListEntry[];
|
|
501
|
+
remainder: string;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* One `Stream #0:N: Video: …` line from ffmpeg's input description, or null.
|
|
505
|
+
* `90k tbr`-style rates are the RTP clock, not a frame rate, so only an
|
|
506
|
+
* explicit `fps` is read.
|
|
507
|
+
*/
|
|
508
|
+
export declare function parseInputVideoStreamLine(line: string): SegmentStreamInfo | null;
|
|
509
|
+
/**
|
|
510
|
+
* Reads ffmpeg's stderr as it arrives and stops at the first input video
|
|
511
|
+
* stream, or at the first output description — whichever comes first. Bounded:
|
|
512
|
+
* it holds at most one partial line.
|
|
513
|
+
*/
|
|
514
|
+
export declare class InputStreamProbe {
|
|
515
|
+
private partial;
|
|
516
|
+
private inInput;
|
|
517
|
+
/** The input was opened (ffmpeg described it). */
|
|
518
|
+
inputOpened: boolean;
|
|
519
|
+
done: boolean;
|
|
520
|
+
info: SegmentStreamInfo | null;
|
|
521
|
+
push(text: string): SegmentStreamInfo | null;
|
|
522
|
+
}
|
|
523
|
+
/** The second output, exactly. Pure, so the argv can be asserted. */
|
|
524
|
+
export declare function buildSegmentOutputArgs(o: {
|
|
525
|
+
/** `-segment_list` target. */
|
|
526
|
+
csvPath: string;
|
|
527
|
+
/** The segment filename template, `%` already escaped in its directory. */
|
|
528
|
+
segmentPattern: string;
|
|
529
|
+
segmentSeconds: number;
|
|
530
|
+
/** `-tag:v hvc1` so an HEVC segment plays in QuickTime/Safari (ffmpeg writes hev1 otherwise). */
|
|
531
|
+
tagHvc1: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* `-min_seg_duration`, so a cut needs at least `segmentSeconds` since the
|
|
534
|
+
* last one. Without it the muxer cuts at the first keyframe after each
|
|
535
|
+
* MULTIPLE of segment_time: a 2 s GOP at segment_time 5 gives 6 s, 4 s, 6 s…
|
|
536
|
+
*/
|
|
537
|
+
minSegDuration: boolean;
|
|
538
|
+
}): string[];
|
|
539
|
+
/** The volume's free bytes, or null where the platform cannot say. */
|
|
540
|
+
export declare function volumeFreeBytes(dir: string): number | null;
|
|
351
541
|
export interface RTSPStreamCameraConfig {
|
|
352
542
|
/** RTSP stream URL. Credentials never reach argv — see the header. */
|
|
353
543
|
rtspUrl: string;
|
|
@@ -411,6 +601,14 @@ export interface RTSPStreamCameraConfig {
|
|
|
411
601
|
fallbackConfig?: Partial<RTSPCameraConfig>;
|
|
412
602
|
/** DHCP recovery hook, forwarded to the per-grab fallback. */
|
|
413
603
|
streamUrlResolver?: RTSPCameraConfig['streamUrlResolver'];
|
|
604
|
+
/**
|
|
605
|
+
* Record the camera's own bitstream to MP4 segments as a second output of
|
|
606
|
+
* the persistent session (stream copy). Applies only to a persistent session
|
|
607
|
+
* with no `crop`. Change it later with `setSegmentRecording`.
|
|
608
|
+
*/
|
|
609
|
+
segmentRecording?: SegmentRecordingConfig;
|
|
610
|
+
/** Free bytes of the volume holding a directory. Injected for tests. */
|
|
611
|
+
freeBytesFn?: (dir: string) => number | null;
|
|
414
612
|
/** Injected spawn, for tests. */
|
|
415
613
|
spawnFn?: typeof spawn;
|
|
416
614
|
/** Injected per-grab fallback, for tests. */
|
|
@@ -454,14 +652,23 @@ export interface RTSPStreamStats {
|
|
|
454
652
|
/** Age of the newest frame at the moment getStats() was called, or null. */
|
|
455
653
|
frameAgeMs: number | null;
|
|
456
654
|
lastErrorMessage: string | null;
|
|
655
|
+
/**
|
|
656
|
+
* Segment recording on this feed. `state` is derived on every call; the ring
|
|
657
|
+
* figures are as of the last ring check (each segment close and session end).
|
|
658
|
+
*/
|
|
659
|
+
segments: SegmentRecordingStats;
|
|
457
660
|
}
|
|
458
661
|
/**
|
|
459
662
|
* One instance per feed. Implements the SAME `CameraProvider` interface as
|
|
460
663
|
* `RTSPCameraProvider`, so every consumer is unchanged — but `getFrame()` reads
|
|
461
664
|
* the newest frame out of the ring the long-lived session is filling, rather
|
|
462
665
|
* than spawning a process and handshaking a stream per call.
|
|
666
|
+
*
|
|
667
|
+
* Events: `'segment'` (RecordedSegment) for every closed recording segment,
|
|
668
|
+
* `'segment_evicted'` (EvictedSegment) when the ring deletes one undelivered,
|
|
669
|
+
* and `'opening'` at the start of every `open()`.
|
|
463
670
|
*/
|
|
464
|
-
export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
671
|
+
export declare class RTSPStreamCameraProvider extends EventEmitter implements CameraProvider {
|
|
465
672
|
private readonly rtspUrl;
|
|
466
673
|
private readonly width;
|
|
467
674
|
private readonly height;
|
|
@@ -503,14 +710,34 @@ export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
|
503
710
|
* one frame later.
|
|
504
711
|
*/
|
|
505
712
|
private fallbackOpenError;
|
|
506
|
-
|
|
713
|
+
/** The live ffmpeg session, or null between sessions. */
|
|
714
|
+
private session;
|
|
507
715
|
/** This recorder's persistent-session lane, for the learned ceiling. */
|
|
508
716
|
private admission;
|
|
509
717
|
private releaseAdmission;
|
|
510
718
|
private restartTimer;
|
|
511
719
|
private currentRestartDelay;
|
|
512
|
-
private cleanupInput;
|
|
513
720
|
private startingUp;
|
|
721
|
+
private segmentConfig;
|
|
722
|
+
private readonly freeBytesFn;
|
|
723
|
+
/** The newest input description ffmpeg gave; decides the tag and the codec gate. */
|
|
724
|
+
private streamInfo;
|
|
725
|
+
private segmentsRecoveredFor;
|
|
726
|
+
private segmentPollTimer;
|
|
727
|
+
private lastSegmentPollAtMs;
|
|
728
|
+
/** A session stopped to change the second output; its exit starts the next one. */
|
|
729
|
+
private reconfigurePendingFor;
|
|
730
|
+
/**
|
|
731
|
+
* Recording paused after the second output failed a session. Provider-wide,
|
|
732
|
+
* not per argv: the next plan differs only by the tag once ffmpeg has named
|
|
733
|
+
* the codec, and retrying it at once would spend open()'s last attempt.
|
|
734
|
+
*/
|
|
735
|
+
private segmentSuspension;
|
|
736
|
+
private segmentSuspendTimer;
|
|
737
|
+
private consecutiveOutputFailures;
|
|
738
|
+
private measuredSegmentBytes;
|
|
739
|
+
private measuredSegmentSeconds;
|
|
740
|
+
private readonly segCounters;
|
|
514
741
|
private sessionStarts;
|
|
515
742
|
private restarts;
|
|
516
743
|
private framesDecoded;
|
|
@@ -522,6 +749,17 @@ export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
|
522
749
|
/** Resolvers waiting for the next frame. Woken by `admitFrame`. */
|
|
523
750
|
private frameWaiters;
|
|
524
751
|
constructor(config: RTSPStreamCameraConfig);
|
|
752
|
+
on(event: 'segment', listener: (segment: RecordedSegment) => void): this;
|
|
753
|
+
on(event: 'segment_evicted', listener: (evicted: EvictedSegment) => void): this;
|
|
754
|
+
on(event: 'opening', listener: () => void): this;
|
|
755
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
756
|
+
/**
|
|
757
|
+
* Change segment recording. `null` turns it off and keeps the directory (the
|
|
758
|
+
* ring and any leftovers stay this provider's). A change that the running
|
|
759
|
+
* session's argv does not already satisfy restarts the session once — after
|
|
760
|
+
* its first frame, never during startup.
|
|
761
|
+
*/
|
|
762
|
+
setSegmentRecording(next: SegmentRecordingConfig | null): void;
|
|
525
763
|
/**
|
|
526
764
|
* Take a recorder session slot and start streaming. NEVER throws because the
|
|
527
765
|
* persistent path was unavailable — it degrades to the per-grab provider and
|
|
@@ -583,7 +821,12 @@ export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
|
583
821
|
* file exactly as the other two providers do, so it never reaches argv.
|
|
584
822
|
*/
|
|
585
823
|
private buildInputArgs;
|
|
586
|
-
|
|
824
|
+
/**
|
|
825
|
+
* The session's argv. With no `segmentOutput` it is byte-identical to the
|
|
826
|
+
* look-only session this provider has always run; with one, the second
|
|
827
|
+
* output (`buildSegmentOutputArgs`) follows `pipe:1`.
|
|
828
|
+
*/
|
|
829
|
+
buildArgs(segmentOutput?: Parameters<typeof buildSegmentOutputArgs>[0] | null): {
|
|
587
830
|
args: string[];
|
|
588
831
|
cleanup: () => void;
|
|
589
832
|
};
|
|
@@ -594,7 +837,13 @@ export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
|
594
837
|
* loud. Rejects when the session ends before that.
|
|
595
838
|
*/
|
|
596
839
|
private startSession;
|
|
840
|
+
/**
|
|
841
|
+
* Detach the live session and stop its ffmpeg. Its own exit later finishes
|
|
842
|
+
* its recording, and is never restarted: whoever called this owns what
|
|
843
|
+
* happens next (close, shed, or open()'s retry loop).
|
|
844
|
+
*/
|
|
597
845
|
private stopProcess;
|
|
846
|
+
private killSession;
|
|
598
847
|
/**
|
|
599
848
|
* A session ended. While the provider is open this ALWAYS schedules a restart
|
|
600
849
|
* with capped exponential backoff, and it is never allowed to give up. On the
|
|
@@ -608,8 +857,87 @@ export declare class RTSPStreamCameraProvider implements CameraProvider {
|
|
|
608
857
|
* Waiters are woken on the way out so a `getFrame()` blocked on a session
|
|
609
858
|
* that just died reaches its stale error rather than sitting out the full
|
|
610
859
|
* deadline for a stream that is provably not coming back.
|
|
860
|
+
*
|
|
861
|
+
* Only the LIVE session's end does any of that. A session already detached
|
|
862
|
+
* (stopProcess) or superseded (a reconfigure) finishes its recording and
|
|
863
|
+
* either stops there or, for a reconfigure, starts its replacement.
|
|
611
864
|
*/
|
|
612
865
|
private handleSessionEnd;
|
|
866
|
+
/** What the NEXT session should record, or null for look-only. */
|
|
867
|
+
private planRecording;
|
|
868
|
+
/** Does a running session's second output already give what `want` asks for? */
|
|
869
|
+
private sessionSatisfies;
|
|
870
|
+
/**
|
|
871
|
+
* Bring the live session's second output in line with the plan — by
|
|
872
|
+
* restarting it once, only after its first frame, and never with a second
|
|
873
|
+
* reconfigure already in flight. The restart is not a fault: it is counted
|
|
874
|
+
* in `segments.reconfigures`, not `restarts`, and keeps the recorder slot.
|
|
875
|
+
*/
|
|
876
|
+
private reconcileRecording;
|
|
877
|
+
private onSessionFirstFrame;
|
|
878
|
+
private onSessionStreamInfo;
|
|
879
|
+
/** The work directory for a session that will record, or null for look-only. */
|
|
880
|
+
private prepareSessionRecording;
|
|
881
|
+
/** Pause recording, doubling from SEGMENT_SUSPEND_BASE_MS, then reconcile again. */
|
|
882
|
+
private suspendRecording;
|
|
883
|
+
private clearSegmentSuspension;
|
|
884
|
+
private ensureSegmentPolling;
|
|
885
|
+
private stopSegmentPolling;
|
|
886
|
+
/** One read of the live session's segment list: new closes move into the ring. */
|
|
887
|
+
private pollSegments;
|
|
888
|
+
/** Read whatever the segment list gained since the last read. */
|
|
889
|
+
private readSegmentList;
|
|
890
|
+
/** Move listed segments into the ring, in list order. Returns how many moved. */
|
|
891
|
+
private flushPending;
|
|
892
|
+
private closeSegment;
|
|
893
|
+
/**
|
|
894
|
+
* The wall clock of the session's FIRST listed segment.
|
|
895
|
+
*
|
|
896
|
+
* The first decoded frame and the first copied packet are the same keyframe
|
|
897
|
+
* (a stream copy drops what precedes it), so the first listed segment starts
|
|
898
|
+
* at the first frame's wall clock and every later one at its offset from it.
|
|
899
|
+
* When ffmpeg starts the output timeline at 0 — measured 0.000000 for H.264
|
|
900
|
+
* and HEVC through mediamtx — that is exactly first frame + startSec.
|
|
901
|
+
*/
|
|
902
|
+
private anchorFor;
|
|
903
|
+
/**
|
|
904
|
+
* Keep the anchor honest against the one wall-clock fact a close gives us:
|
|
905
|
+
* a segment cannot end after we saw it closed, and on a timely poll it ended
|
|
906
|
+
* at most one poll before. The camera's media clock is not the wall clock,
|
|
907
|
+
* and a session runs for days.
|
|
908
|
+
*/
|
|
909
|
+
private guardAnchorDrift;
|
|
910
|
+
private persistAnchor;
|
|
911
|
+
/**
|
|
912
|
+
* Write the sidecar, then move the closed file beside it, then emit. Null
|
|
913
|
+
* when the move must be retried (Windows refuses to rename a file ffmpeg
|
|
914
|
+
* still holds; the next poll asks again).
|
|
915
|
+
*/
|
|
916
|
+
private moveIntoRing;
|
|
917
|
+
private countSegment;
|
|
918
|
+
private emitSegment;
|
|
919
|
+
/**
|
|
920
|
+
* A session that recorded has ended: read its list one last time, move what
|
|
921
|
+
* it closed, judge the second output, and delete what it never listed.
|
|
922
|
+
*/
|
|
923
|
+
private finishSessionRecording;
|
|
924
|
+
private removeWorkDir;
|
|
925
|
+
/**
|
|
926
|
+
* Hand out what an earlier process left: closed segments with sidecars, and
|
|
927
|
+
* listed segments still in a session work directory. Unlisted files are
|
|
928
|
+
* partials and are deleted. Runs once per directory, before the first session.
|
|
929
|
+
*/
|
|
930
|
+
private recoverSegments;
|
|
931
|
+
private recoverWorkDir;
|
|
932
|
+
/**
|
|
933
|
+
* Hold the closed segments to min(ringSeconds x measured bytes/s, 10% of the
|
|
934
|
+
* volume's free bytes), deleting oldest first. A file the OS will not let us
|
|
935
|
+
* delete (Windows, mid-upload) is skipped, never waited on.
|
|
936
|
+
*/
|
|
937
|
+
private enforceRing;
|
|
938
|
+
private measuredBytesPerSec;
|
|
939
|
+
private segmentStats;
|
|
940
|
+
private recordingState;
|
|
613
941
|
private log;
|
|
614
942
|
}
|
|
615
943
|
//# sourceMappingURL=RTSPStreamCameraProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RTSPStreamCameraProvider.d.ts","sourceRoot":"","sources":["../src/RTSPStreamCameraProvider.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAIpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EASL,KAAK,UAAU,EACf,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KG;AAEH,4EAA4E;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