@camstack/types 1.2.186 → 1.2.187
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/index.js +26 -1
- package/dist/index.mjs +26 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -442,7 +442,32 @@ var WEBRTC_EGRESS_PROFILE = {
|
|
|
442
442
|
*/
|
|
443
443
|
var ALEXA_EGRESS_PROFILE = {
|
|
444
444
|
...BASE_LIVE_EGRESS_PROFILE,
|
|
445
|
-
audio: { codec: "opus" }
|
|
445
|
+
audio: { codec: "opus" },
|
|
446
|
+
/**
|
|
447
|
+
* ONE slice per access unit.
|
|
448
|
+
*
|
|
449
|
+
* `-tune zerolatency` turns on x264's sliced threads, and every access unit
|
|
450
|
+
* came out of this encode as FIVE slices — measured on the hub 2026-09-13 on
|
|
451
|
+
* the exact argv this path spawns, and reduced to one by this single flag.
|
|
452
|
+
*
|
|
453
|
+
* Five slices share one RTP timestamp and carry one marker bit, so a
|
|
454
|
+
* libwebrtc depacketiser sees five frame-starts and one frame-end per frame.
|
|
455
|
+
* The Echo renders the first pictures and then freezes for good, while the
|
|
456
|
+
* audio — a separate plane — plays on. It is the only structural property
|
|
457
|
+
* that survived the elimination: the same freeze reproduced at 2304×1296
|
|
458
|
+
* HEVC with 217 KB keyframes AND at 640×360 H.264 with 67 KB keyframes and a
|
|
459
|
+
* fifth of the bitrate, so source, resolution, bitrate, keyframe burst,
|
|
460
|
+
* hardware decode, parameter sets, drift and bitstream conformance are all
|
|
461
|
+
* out — each ruled out by a measurement, not by elimination.
|
|
462
|
+
*
|
|
463
|
+
* The tune STAYS: it also drops the lookahead and the B-frames, which a live
|
|
464
|
+
* path wants. Only the slicing is unwanted, and this is the flag that says so.
|
|
465
|
+
*
|
|
466
|
+
* Scoped to Alexa deliberately. HomeKit and the browser transcode inherit
|
|
467
|
+
* {@link BASE_LIVE_EGRESS_PROFILE}; whether they want the same shape is a
|
|
468
|
+
* question for their own evidence, and the browser has not been measured.
|
|
469
|
+
*/
|
|
470
|
+
outputArgs: ["-x264-params", "sliced-threads=0"]
|
|
446
471
|
};
|
|
447
472
|
/** VBV window for a consumer whose budget is enforced per second (HomeKit). */
|
|
448
473
|
var RATE_CONTROL_TIGHT = {
|
package/dist/index.mjs
CHANGED
|
@@ -441,7 +441,32 @@ var WEBRTC_EGRESS_PROFILE = {
|
|
|
441
441
|
*/
|
|
442
442
|
var ALEXA_EGRESS_PROFILE = {
|
|
443
443
|
...BASE_LIVE_EGRESS_PROFILE,
|
|
444
|
-
audio: { codec: "opus" }
|
|
444
|
+
audio: { codec: "opus" },
|
|
445
|
+
/**
|
|
446
|
+
* ONE slice per access unit.
|
|
447
|
+
*
|
|
448
|
+
* `-tune zerolatency` turns on x264's sliced threads, and every access unit
|
|
449
|
+
* came out of this encode as FIVE slices — measured on the hub 2026-09-13 on
|
|
450
|
+
* the exact argv this path spawns, and reduced to one by this single flag.
|
|
451
|
+
*
|
|
452
|
+
* Five slices share one RTP timestamp and carry one marker bit, so a
|
|
453
|
+
* libwebrtc depacketiser sees five frame-starts and one frame-end per frame.
|
|
454
|
+
* The Echo renders the first pictures and then freezes for good, while the
|
|
455
|
+
* audio — a separate plane — plays on. It is the only structural property
|
|
456
|
+
* that survived the elimination: the same freeze reproduced at 2304×1296
|
|
457
|
+
* HEVC with 217 KB keyframes AND at 640×360 H.264 with 67 KB keyframes and a
|
|
458
|
+
* fifth of the bitrate, so source, resolution, bitrate, keyframe burst,
|
|
459
|
+
* hardware decode, parameter sets, drift and bitstream conformance are all
|
|
460
|
+
* out — each ruled out by a measurement, not by elimination.
|
|
461
|
+
*
|
|
462
|
+
* The tune STAYS: it also drops the lookahead and the B-frames, which a live
|
|
463
|
+
* path wants. Only the slicing is unwanted, and this is the flag that says so.
|
|
464
|
+
*
|
|
465
|
+
* Scoped to Alexa deliberately. HomeKit and the browser transcode inherit
|
|
466
|
+
* {@link BASE_LIVE_EGRESS_PROFILE}; whether they want the same shape is a
|
|
467
|
+
* question for their own evidence, and the browser has not been measured.
|
|
468
|
+
*/
|
|
469
|
+
outputArgs: ["-x264-params", "sliced-threads=0"]
|
|
445
470
|
};
|
|
446
471
|
/** VBV window for a consumer whose budget is enforced per second (HomeKit). */
|
|
447
472
|
var RATE_CONTROL_TIGHT = {
|