@torrent-tv/proxy 2.101.15 → 2.101.16
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
|
@@ -855,10 +855,18 @@ export class Renditions {
|
|
|
855
855
|
}
|
|
856
856
|
// A segment closed on the output a viewer is LEAVING may be the one their
|
|
857
857
|
// move waits for (`#givenAndOpenOn`). It is behind the segment the move
|
|
858
|
-
// begins at by construction, so it is asked about with no index.
|
|
858
|
+
// begins at by construction, so it is asked about with no index. A move
|
|
859
|
+
// is about its prepared picture: a separate soundtrack is not an output
|
|
860
|
+
// the viewer is leaving from for that move.
|
|
861
|
+
if (output.spec?.carries === "audio-only") {
|
|
862
|
+
continue;
|
|
863
|
+
}
|
|
859
864
|
for (const consumerId of this.#host.switchingFrom?.(output) ?? []) {
|
|
860
|
-
|
|
861
|
-
|
|
865
|
+
const move = this.#host.sameHeightSwitchOf(consumerId);
|
|
866
|
+
const prepared = move ? this.#host.outputs.get(move.outputId) : null;
|
|
867
|
+
const moveBase = prepared ? this.#host.outputs.pictureOf(prepared) : base;
|
|
868
|
+
if (this.#host.activeOutputFor({ base: moveBase, consumerId, outputs: this.#host.outputs }) === output) {
|
|
869
|
+
this.#reconsiderSameHeightSwitch(moveBase, consumerId, null);
|
|
862
870
|
}
|
|
863
871
|
}
|
|
864
872
|
}
|