тест 1 времени

This commit is contained in:
2026-08-24 16:14:29 +03:00
parent 79c59eeeed
commit c82ec2cbfb
4 changed files with 203 additions and 34 deletions

View File

@@ -4643,10 +4643,10 @@ function startCustomTooltips() {
}
function sendRuntimeVmixTimerSequence(commands) {
// BUILD101: timer transport is deliberately independent from the generic
// shortcut/title queue. The web timer has already changed state before this
// function is called, so Agent/vMix delivery is best-effort and must never
// block the operator from pressing Start/Stop again.
// BUILD103: timer transport is deliberately independent from the generic
// shortcut/title/Mapping ACK queue. The web timer has already changed state before
// this function is called. Server delivery_mode=timer-fast sends the tiny native
// Countdown pair to Agent immediately without waiting for ACK, preferably as one batch.
const rawCommands = typeof commands === "function" ? commands() : commands;
const clean = (rawCommands || []).map(compactVmixCommand).filter((command) => command.Function);
if (!clean.length) return Promise.resolve({ ok: true, applied: 0, requested: 0, results: [] });
@@ -4664,6 +4664,7 @@ function startCustomTooltips() {
commands: clean,
device_id: currentRuntimeVmixDeviceId(),
session_token: currentRuntimeHockeySessionToken(),
delivery_mode: "timer-fast",
}),
}).then(async (response) => {
let payload = {};