@camstack/types 1.2.212 → 1.2.214
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/ffmpeg/invocation.d.ts +15 -2
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
|
@@ -210,9 +210,22 @@ export interface FfmpegFmp4Sink {
|
|
|
210
210
|
export type FfmpegSink = {
|
|
211
211
|
readonly kind: 'rtsp-listen';
|
|
212
212
|
readonly url: string;
|
|
213
|
-
}
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* A container written to stdout.
|
|
216
|
+
*
|
|
217
|
+
* `flv` exists for a producer whose consumer is the broker's ffmpeg source
|
|
218
|
+
* reader: that reader re-muxes with `-c copy -f mpegts`, and the bundled
|
|
219
|
+
* ffmpeg 7.0.2 static SEGFAULTS on an MPEG-TS input on that path — measured
|
|
220
|
+
* on the hub 2026-09-17, on a synthetic three-second stream as readily as on
|
|
221
|
+
* a real one, while RTSP→TS and FLV→TS copy both exit 0. A producer that
|
|
222
|
+
* hands the broker MPEG-TS therefore hands it a crash; FLV is the format the
|
|
223
|
+
* broker already documents as "always ingested through the ffmpeg source
|
|
224
|
+
* reader" (`pull-flv`).
|
|
225
|
+
*/
|
|
226
|
+
| {
|
|
214
227
|
readonly kind: 'stdout';
|
|
215
|
-
readonly container: 'h264' | 'hevc' | 'mpegts';
|
|
228
|
+
readonly container: 'h264' | 'hevc' | 'mpegts' | 'flv';
|
|
216
229
|
} | FfmpegFmp4Sink
|
|
217
230
|
/**
|
|
218
231
|
* Two independent mapped RTP outputs. Generic ffmpeg RTP vocabulary — the
|
package/dist/node.js
CHANGED
|
@@ -1116,7 +1116,7 @@ var FfmpegProcess = class {
|
|
|
1116
1116
|
this.handleFailure(this.producedOutput ? "crashed" : "no-output", code, signal, null, onLive, onDead);
|
|
1117
1117
|
});
|
|
1118
1118
|
this.opts.onChild(child);
|
|
1119
|
-
child.stdout?.once("
|
|
1119
|
+
child.stdout?.once("readable", () => {
|
|
1120
1120
|
this.producedOutput = true;
|
|
1121
1121
|
this.clearFirstDataTimer();
|
|
1122
1122
|
if (settled) return;
|
package/dist/node.mjs
CHANGED
|
@@ -1093,7 +1093,7 @@ var FfmpegProcess = class {
|
|
|
1093
1093
|
this.handleFailure(this.producedOutput ? "crashed" : "no-output", code, signal, null, onLive, onDead);
|
|
1094
1094
|
});
|
|
1095
1095
|
this.opts.onChild(child);
|
|
1096
|
-
child.stdout?.once("
|
|
1096
|
+
child.stdout?.once("readable", () => {
|
|
1097
1097
|
this.producedOutput = true;
|
|
1098
1098
|
this.clearFirstDataTimer();
|
|
1099
1099
|
if (settled) return;
|