@torrent-tv/proxy 2.107.2 → 2.107.3
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/package.json
CHANGED
|
@@ -209,11 +209,13 @@ export class OutputOpening {
|
|
|
209
209
|
|
|
210
210
|
const normalizedTargetWidth = Number.isInteger(targetWidth) && targetWidth > 0 ? targetWidth : 0;
|
|
211
211
|
const normalizedTargetHeight = Number.isInteger(targetHeight) && targetHeight > 0 ? targetHeight : 0;
|
|
212
|
-
//
|
|
213
|
-
// to
|
|
214
|
-
|
|
212
|
+
// Where the run is asked to begin, as asked. It names no session: a value
|
|
213
|
+
// rounded to 10 s here was printed as the start and read as where the run
|
|
214
|
+
// began, while the run itself began elsewhere (torrent-tv/meta#104: asked at
|
|
215
|
+
// 18.853 s, logged `start=20s`).
|
|
216
|
+
const requestedStartPosition =
|
|
215
217
|
Number.isFinite(startPositionSeconds) && startPositionSeconds > 0
|
|
216
|
-
?
|
|
218
|
+
? startPositionSeconds
|
|
217
219
|
: 0;
|
|
218
220
|
const normalizedAudioTrack =
|
|
219
221
|
Number.isInteger(audioTrackIndex) && audioTrackIndex > 0 ? audioTrackIndex : 0;
|
|
@@ -728,7 +730,7 @@ export class OutputOpening {
|
|
|
728
730
|
// was told to produce: measured 2026-08-06, the session began at #0
|
|
729
731
|
// while the player asked for #127 and gave up 45.6 s later. Neither
|
|
730
732
|
// side saying what it meant is why that took three attempts to place.
|
|
731
|
-
`start=${
|
|
733
|
+
`start=${requestedStartPosition.toFixed(1)}s ` +
|
|
732
734
|
`video=${transcodeVideo ? `${this.#host.videoEncoder.name}${output.softwarePreset ? `/${output.softwarePreset}` : ""}` : "copy"} ` +
|
|
733
735
|
`audio=${audioTranscoded ? "aac" : "copy"} ` +
|
|
734
736
|
// Branch tag for log correlation: A = video re-encode (fixed GOP, grid
|