Allow independent lane control in YouTube Multi Pro without auto-locking to the pushing stream.
Remove the primary-pushing follow effect so operators can switch lanes while another line is live, keep logs and events tied to the selected lane, and ship the rebuilt console plus a deploy verification helper. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6c7a66c9f4
commit
2a0b37a4cb
88
d2ypp2/tools/verify_deploy_unlock.py
Normal file
88
d2ypp2/tools/verify_deploy_unlock.py
Normal file
@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Post-deploy verification for YouTube Pro lane unlock."""
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
import paramiko
|
||||
|
||||
HOST = os.environ.get("LIVE_DEPLOY_HOST", "192.168.31.56")
|
||||
USER = os.environ.get("LIVE_DEPLOY_USER", "eric")
|
||||
PASSWORD = os.environ.get("LIVE_DEPLOY_PASS", "")
|
||||
|
||||
|
||||
def run(client: paramiko.SSHClient, cmd: str) -> tuple[int, str, str]:
|
||||
_, stdout, stderr = client.exec_command(f"bash -lc {json.dumps(cmd)}", timeout=45)
|
||||
return (
|
||||
stdout.channel.recv_exit_status(),
|
||||
stdout.read().decode("utf-8", errors="replace"),
|
||||
stderr.read().decode("utf-8", errors="replace"),
|
||||
)
|
||||
|
||||
|
||||
def main() -> int:
|
||||
if not PASSWORD:
|
||||
print("Set LIVE_DEPLOY_PASS", file=sys.stderr)
|
||||
return 1
|
||||
|
||||
client = paramiko.SSHClient()
|
||||
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
client.connect(HOST, username=USER, password=PASSWORD, timeout=20)
|
||||
|
||||
checks: list[tuple[str, bool, str]] = []
|
||||
|
||||
code, out, err = run(client, "curl -sf http://127.0.0.1:8001/health")
|
||||
checks.append(("health", code == 0 and "ok" in out.lower(), out.strip() or err.strip()))
|
||||
|
||||
code, out, _ = run(
|
||||
client,
|
||||
'grep -r "自动跟随" /opt/live/d2ypp/web-console/out/_next/static/chunks/ 2>/dev/null | head -1 || true',
|
||||
)
|
||||
checks.append(("no_auto_follow_in_bundle", not out.strip(), out.strip() or "not found (good)"))
|
||||
|
||||
code, out, _ = run(
|
||||
client,
|
||||
'grep -r "primaryPushingPm2" /opt/live/d2ypp/web-console/components/LiveYoutubeUnmannedView.tsx /opt/live/d2ypp/web-console/components/live-product/LiveYoutubeUnmannedView.tsx 2>/dev/null | head -1 || true',
|
||||
)
|
||||
checks.append(("no_primary_pushing_in_tsx", not out.strip(), out.strip() or "not found (good)"))
|
||||
|
||||
code, out, err = run(client, "curl -sf http://127.0.0.1:8001/hub/processes")
|
||||
youtube_rows: list[dict] = []
|
||||
if code == 0 and out.strip():
|
||||
data = json.loads(out)
|
||||
rows = data if isinstance(data, list) else data.get("processes", data.get("rows", []))
|
||||
youtube_rows = [
|
||||
r
|
||||
for r in rows
|
||||
if "youtube" in str(r.get("pm2", "")).lower()
|
||||
or "youtube" in str(r.get("script", "")).lower()
|
||||
]
|
||||
proc_lines = [
|
||||
f"{r.get('pm2')}: pushing={r.get('is_pushing')} biz={r.get('business_status')}"
|
||||
for r in youtube_rows
|
||||
]
|
||||
checks.append(("hub_processes", code == 0, "\n".join(proc_lines) or err.strip()))
|
||||
|
||||
code, out, err = run(client, "curl -sf http://127.0.0.1:8001/hub/youtube/pro/channels")
|
||||
channel_names: list[str] = []
|
||||
if code == 0 and out.strip():
|
||||
data = json.loads(out)
|
||||
channels = data.get("channels", data if isinstance(data, list) else [])
|
||||
channel_names = [str(c.get("name", c.get("id", "?"))) for c in channels]
|
||||
checks.append(("pro_channels", code == 0 and len(channel_names) > 0, ", ".join(channel_names) or err.strip()))
|
||||
|
||||
client.close()
|
||||
|
||||
failed = 0
|
||||
for name, ok, detail in checks:
|
||||
status = "PASS" if ok else "FAIL"
|
||||
print(f"[{status}] {name}: {detail}")
|
||||
if not ok:
|
||||
failed += 1
|
||||
return 1 if failed else 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@ -44,6 +44,7 @@ import { LiveAndroidWorkstation } from "@/components/live-product/LiveAndroidWor
|
||||
import { LiveTiktokHdmiView } from "@/components/live-product/LiveTiktokHdmiView";
|
||||
import type { PortalNavTarget } from "@/components/live-product/LivePipelineStrip";
|
||||
import { LiveYoutubeUnmannedView } from "@/components/live-product/LiveYoutubeUnmannedView";
|
||||
import { classifyProcessMonitorActivity, processMonitorPollMs } from "@/lib/adaptivePoll";
|
||||
import { fetchJsonResponse } from "@/lib/fetchJson";
|
||||
import { extractNekoBrowserLinks, formatNekoPorts, type NekoBrowserLink } from "@/lib/nekoLinks";
|
||||
import { normalizeBrowserReachableHttpUrl } from "@/lib/panelUrls";
|
||||
@ -656,6 +657,21 @@ export default function LiveControlApp() {
|
||||
return `/process_monitor?${params.toString()}`;
|
||||
}, [view]);
|
||||
|
||||
const processMonitorActivity = useMemo(
|
||||
() => classifyProcessMonitorActivity(processRows),
|
||||
[processRows],
|
||||
);
|
||||
|
||||
const processMonitorPollIntervalMs = useMemo(
|
||||
() =>
|
||||
processMonitorPollMs({
|
||||
view,
|
||||
activity: processMonitorActivity,
|
||||
pageVisible,
|
||||
}),
|
||||
[view, processMonitorActivity, pageVisible],
|
||||
);
|
||||
|
||||
const refreshProcessMonitor = useCallback(async () => {
|
||||
if (processMonitorInFlightRef.current) return processMonitorInFlightRef.current;
|
||||
const task = (async () => {
|
||||
@ -776,12 +792,20 @@ export default function LiveControlApp() {
|
||||
}, [autoRefreshEnabled, pageVisible, refreshDashboard, view, viewReady]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!viewReady || !autoRefreshEnabled || !pageVisible) return;
|
||||
if (!viewReady || !autoRefreshEnabled) return;
|
||||
const id = window.setInterval(() => {
|
||||
void refreshProcessMonitor();
|
||||
}, view === "live_youtube" || view === "live_tiktok" ? 700 : 4000);
|
||||
}, processMonitorPollIntervalMs);
|
||||
return () => clearInterval(id);
|
||||
}, [autoRefreshEnabled, pageVisible, refreshProcessMonitor, view, viewReady]);
|
||||
}, [autoRefreshEnabled, processMonitorPollIntervalMs, refreshProcessMonitor, viewReady]);
|
||||
|
||||
useEffect(() => {
|
||||
const onVis = () => {
|
||||
if (document.visibilityState === "visible") void refreshProcessMonitor();
|
||||
};
|
||||
document.addEventListener("visibilitychange", onVis);
|
||||
return () => document.removeEventListener("visibilitychange", onVis);
|
||||
}, [refreshProcessMonitor]);
|
||||
|
||||
useEffect(() => {
|
||||
currentProcRef.current = currentProc;
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
import { AlertTriangle, ExternalLink, Pause, Play, RefreshCw } from "lucide-react";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
|
||||
import { formatPollBadge } from "@/lib/adaptivePoll";
|
||||
import {
|
||||
douyinSourceDisplayFrom,
|
||||
extractDouyinCurrentRoomFromLog,
|
||||
@ -48,6 +49,13 @@ function statusLine(t: TFn, raw: string | undefined): string {
|
||||
return raw || "—";
|
||||
}
|
||||
|
||||
type MonitorRowHint = {
|
||||
ffmpeg_active?: boolean;
|
||||
ffmpeg_speed?: number | null;
|
||||
ffmpeg_frame?: number | null;
|
||||
is_pushing?: boolean;
|
||||
};
|
||||
|
||||
type Props = {
|
||||
t: TFn;
|
||||
currentProc: string;
|
||||
@ -59,25 +67,64 @@ type Props = {
|
||||
showKeyRow?: boolean;
|
||||
pollMs?: number;
|
||||
refreshToken?: number;
|
||||
/** process_monitor 行:补全 light status 缺失的 FFmpeg 指标 */
|
||||
monitorRow?: MonitorRowHint;
|
||||
};
|
||||
|
||||
function businessLine(t: TFn, raw: string | undefined, note: string | undefined): string {
|
||||
const s = (raw || "").toLowerCase();
|
||||
if (s === "streaming") return t("Pushing to YouTube", "Pushing to YouTube");
|
||||
if (s === "waiting_source") return t("Waiting for the upstream live source", "Waiting for the upstream live source");
|
||||
if (s === "streaming") return t("正在推流到 YouTube", "Pushing to YouTube");
|
||||
if (s === "relay_slow") return t("推流速度偏低", "Relay running slowly");
|
||||
if (s === "waiting_source") return t("等待上游直播源开播", "Waiting for the upstream live source");
|
||||
if (s === "source_live")
|
||||
return t("Source live detected, but no active FFmpeg relay worker", "Source live detected, but no active FFmpeg relay worker");
|
||||
if (s === "monitoring") return t("Process online and monitoring the source", "Process online and monitoring the source");
|
||||
if (s === "misconfigured") return t("YouTube key missing or invalid", "YouTube key missing or invalid");
|
||||
return t("源站已开播,转推 Worker 未启动", "Source live detected, but no active FFmpeg relay worker");
|
||||
if (s === "monitoring") return t("进程在线,监控源站中", "Process online and monitoring the source");
|
||||
if (s === "misconfigured") return t("YouTube 密钥缺失或无效", "YouTube key missing or invalid");
|
||||
if (s === "youtube_key_rejected")
|
||||
return t(
|
||||
"YouTube 推流失败:串流密钥无效、过期或不属于当前直播间",
|
||||
"YouTube rejected the stream key",
|
||||
);
|
||||
if (s === "stale") return t("Process online but the log heartbeat is stale", "Process online but the log heartbeat is stale");
|
||||
if (s === "error") return t("Recent process error detected", "Recent process error detected");
|
||||
if (s === "source_stalled") return t("上游源站卡住", "Upstream source stalled");
|
||||
if (s === "stale") return t("进程在线但日志心跳过期", "Process online but the log heartbeat is stale");
|
||||
if (s === "error") return t("检测到近期进程错误", "Recent process error detected");
|
||||
if (note?.trim()) return note.trim();
|
||||
return t("No business-state hint yet", "No business-state hint yet");
|
||||
return t("暂无业务状态", "No business-state hint yet");
|
||||
}
|
||||
|
||||
function businessShortLine(t: TFn, raw: string | undefined): string {
|
||||
const s = (raw || "").toLowerCase();
|
||||
if (s === "streaming") return t("推流中", "Pushing");
|
||||
if (s === "relay_slow") return t("低速", "Slow");
|
||||
if (s === "waiting_source") return t("等源", "Wait source");
|
||||
if (s === "source_live") return t("源开播", "Source live");
|
||||
if (s === "monitoring") return t("监控中", "Monitoring");
|
||||
if (s === "misconfigured") return t("密钥异常", "Key invalid");
|
||||
if (s === "youtube_key_rejected") return t("密钥被拒", "Key rejected");
|
||||
if (s === "source_stalled") return t("源卡住", "Stalled");
|
||||
if (s === "stale") return t("心跳过期", "Stale");
|
||||
if (s === "error") return t("异常", "Error");
|
||||
return t("未知", "Unknown");
|
||||
}
|
||||
|
||||
function businessBadgeClass(raw: string | undefined): string {
|
||||
const s = (raw || "").trim().toLowerCase();
|
||||
if (s === "streaming" || s === "relay_slow") return "bg-emerald-500/15 text-emerald-200 ring-emerald-500/30";
|
||||
if (s === "waiting_source" || s === "monitoring" || s === "source_live") {
|
||||
return "bg-amber-500/15 text-amber-100 ring-amber-500/25";
|
||||
}
|
||||
if (s === "misconfigured" || s === "youtube_key_rejected" || s === "error" || s === "stale" || s === "source_stalled") {
|
||||
return "bg-rose-500/15 text-rose-100 ring-rose-500/30";
|
||||
}
|
||||
return "bg-zinc-600/20 text-zinc-300 ring-zinc-500/25";
|
||||
}
|
||||
|
||||
function processBadgeClass(raw: string | undefined): string {
|
||||
const s = (raw || "").trim().toLowerCase();
|
||||
if (s === "online" || s === "running") return "bg-emerald-500/15 text-emerald-200 ring-emerald-500/30";
|
||||
if (s === "stopped" || s === "stopping") return "bg-zinc-600/20 text-zinc-300 ring-zinc-500/25";
|
||||
if (s === "not_found" || s === "errored" || s === "error") return "bg-rose-500/15 text-rose-100 ring-rose-500/30";
|
||||
return "bg-zinc-600/20 text-zinc-300 ring-zinc-500/25";
|
||||
}
|
||||
|
||||
export function LiveProcessLiveLogCard({
|
||||
@ -89,6 +136,7 @@ export function LiveProcessLiveLogCard({
|
||||
showKeyRow = true,
|
||||
pollMs = 1000,
|
||||
refreshToken = 0,
|
||||
monitorRow,
|
||||
}: Props) {
|
||||
const [processStatus, setProcessStatus] = useState<string>("");
|
||||
const [recentLog, setRecentLog] = useState("");
|
||||
@ -121,7 +169,18 @@ export function LiveProcessLiveLogCard({
|
||||
const roomFromLog = extractDouyinCurrentRoomFromLog(recentLog);
|
||||
const fallbackUrls = extractDouyinLiveUrls(urlListText);
|
||||
const fallbackUrl = fallbackUrls[0] ?? "";
|
||||
const pushingNow = isPushing || ["streaming", "relay_slow"].includes(businessStatus.trim().toLowerCase());
|
||||
const pushingNow =
|
||||
isPushing ||
|
||||
!!monitorRow?.is_pushing ||
|
||||
["streaming", "relay_slow"].includes(businessStatus.trim().toLowerCase());
|
||||
const monitorSpeed =
|
||||
typeof monitorRow?.ffmpeg_speed === "number" ? monitorRow.ffmpeg_speed.toFixed(2) : null;
|
||||
const monitorFrame = typeof monitorRow?.ffmpeg_frame === "number" ? String(monitorRow.ffmpeg_frame) : null;
|
||||
const ffmpegWorkerLabel = ffmpegPids.length
|
||||
? ffmpegPids.join(", ")
|
||||
: pushingNow || monitorRow?.ffmpeg_active
|
||||
? t("转推活跃(PID 未采集)", "Relay active (PID n/a)")
|
||||
: t("无", "none");
|
||||
const suppressAmbiguousBackend = sourceAmbiguous && pushingNow && !sourceCurrent;
|
||||
const backendRoomId = suppressAmbiguousBackend ? "" : sourceRoomId;
|
||||
const backendUrl = suppressAmbiguousBackend ? "" : sourceUrl;
|
||||
@ -266,10 +325,10 @@ export function LiveProcessLiveLogCard({
|
||||
}, [currentProc, pull, refreshToken]);
|
||||
|
||||
useEffect(() => {
|
||||
if (paused || !pageVisible || !currentProc) return;
|
||||
if (paused || !currentProc || pollMs <= 0) return;
|
||||
const id = window.setInterval(() => void pull(), pollMs);
|
||||
return () => clearInterval(id);
|
||||
}, [paused, pageVisible, currentProc, pull, pollMs]);
|
||||
}, [paused, currentProc, pull, pollMs]);
|
||||
|
||||
useEffect(() => {
|
||||
const onVis = () => {
|
||||
@ -303,14 +362,14 @@ export function LiveProcessLiveLogCard({
|
||||
: fmtDuration(Math.max(0, Math.floor((Date.now() - liveSince) / 1000)));
|
||||
const refreshBadgeLabel = paused
|
||||
? t("已暂停刷新", "Paused")
|
||||
: pageVisible
|
||||
? t("每秒刷新", "~1s refresh")
|
||||
: t("后台暂停", "Hidden");
|
||||
: formatPollBadge(pollMs, t);
|
||||
const refreshBadgeClass = paused
|
||||
? "bg-amber-500/20 text-amber-100 ring-amber-500/35"
|
||||
: pageVisible
|
||||
? "bg-emerald-500/15 text-emerald-200/90 ring-emerald-500/25"
|
||||
: "bg-sky-500/15 text-sky-100 ring-sky-500/25";
|
||||
: pollMs >= 30_000
|
||||
? "bg-sky-500/15 text-sky-100 ring-sky-500/25"
|
||||
: pollMs >= 4000
|
||||
? "bg-zinc-500/15 text-zinc-200/90 ring-zinc-500/25"
|
||||
: "bg-emerald-500/15 text-emerald-200/90 ring-emerald-500/25";
|
||||
|
||||
return (
|
||||
<section className="rounded-2xl border border-emerald-500/20 bg-gradient-to-b from-emerald-500/[0.07] to-zinc-950/80 p-6 ring-1 ring-white/[0.04]">
|
||||
@ -318,8 +377,17 @@ export function LiveProcessLiveLogCard({
|
||||
{nowTick}
|
||||
</span>
|
||||
<div className="flex flex-wrap items-center justify-between gap-3">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<h3 className="text-sm font-semibold text-white">{t("当前直播日志", "Live process log")}</h3>
|
||||
{pushingNow ? (
|
||||
<span className="inline-flex items-center gap-1.5 rounded-full bg-emerald-500/15 px-2.5 py-0.5 text-[10px] font-medium text-emerald-100 ring-1 ring-emerald-500/25">
|
||||
<span className="relative flex h-2 w-2">
|
||||
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-70" />
|
||||
<span className="relative inline-flex h-2 w-2 rounded-full bg-emerald-400" />
|
||||
</span>
|
||||
{t("推流中", "Pushing")}
|
||||
</span>
|
||||
) : null}
|
||||
<span className="rounded-full bg-white/10 px-2 py-0.5 font-mono text-[10px] text-zinc-300 ring-1 ring-white/10">
|
||||
{currentProc || "—"}
|
||||
</span>
|
||||
@ -352,27 +420,49 @@ export function LiveProcessLiveLogCard({
|
||||
</div>
|
||||
|
||||
<div className="mt-4 space-y-3 rounded-xl border border-white/[0.06] bg-black/25 p-4">
|
||||
<div className="grid gap-2 text-xs sm:grid-cols-2">
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<span className="text-zinc-500">{t("进程状态", "Status")}</span>
|
||||
<span className="font-medium text-zinc-200">{statusLine(t, processStatus)}</span>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<span className="text-zinc-500">{t("Business state", "Business state")}</span>
|
||||
<span className="font-medium text-cyan-200/90">{businessLine(t, businessStatus, businessNote)}</span>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<span className="text-zinc-500">{t("本次在线时长(估算)", "Online duration (est.)")}</span>
|
||||
<span className="font-mono text-cyan-200/90">{durationLabel}</span>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<span className="text-zinc-500">{t("FFmpeg workers", "FFmpeg workers")}</span>
|
||||
<span className="font-mono text-zinc-300">
|
||||
{ffmpegPids.length ? ffmpegPids.join(", ") : "none"}
|
||||
{logAgeSeconds != null ? ` · log ${fmtDuration(Math.max(0, Math.floor(logAgeSeconds)))}` : ""}
|
||||
<div className="grid gap-3 sm:grid-cols-2 xl:grid-cols-4">
|
||||
<div className="rounded-lg border border-white/[0.05] bg-black/20 p-3">
|
||||
<p className="text-[11px] text-zinc-500">{t("进程状态", "Process")}</p>
|
||||
<span className={`mt-2 inline-flex rounded-full px-2.5 py-0.5 text-[11px] font-medium ring-1 ${processBadgeClass(processStatus)}`}>
|
||||
{statusLine(t, processStatus)}
|
||||
</span>
|
||||
</div>
|
||||
<div className="rounded-lg border border-white/[0.05] bg-black/20 p-3">
|
||||
<p className="text-[11px] text-zinc-500">{t("业务状态", "Business")}</p>
|
||||
<span
|
||||
className={`mt-2 inline-flex max-w-full rounded-full px-2.5 py-0.5 text-[11px] font-medium ring-1 ${businessBadgeClass(businessStatus)}`}
|
||||
title={businessLine(t, businessStatus, businessNote)}
|
||||
>
|
||||
{businessShortLine(t, businessStatus)}
|
||||
</span>
|
||||
</div>
|
||||
<div className="rounded-lg border border-white/[0.05] bg-black/20 p-3">
|
||||
<p className="text-[11px] text-zinc-500">{t("本次在线时长(估算)", "Online duration (est.)")}</p>
|
||||
<p className="mt-2 font-mono text-sm font-semibold text-cyan-200/90">{durationLabel}</p>
|
||||
</div>
|
||||
<div className="rounded-lg border border-white/[0.05] bg-black/20 p-3">
|
||||
<p className="text-[11px] text-zinc-500">{t("FFmpeg workers", "FFmpeg workers")}</p>
|
||||
<p className="mt-2 font-mono text-sm text-zinc-200">{ffmpegWorkerLabel}</p>
|
||||
{monitorSpeed || monitorFrame ? (
|
||||
<p className="mt-1 font-mono text-[10px] text-zinc-500">
|
||||
{monitorSpeed ? `speed ${monitorSpeed}x` : ""}
|
||||
{monitorSpeed && monitorFrame ? " · " : ""}
|
||||
{monitorFrame ? `frame ${monitorFrame}` : ""}
|
||||
</p>
|
||||
) : null}
|
||||
{logAgeSeconds != null ? (
|
||||
<p className="mt-1 text-[10px] text-zinc-600">
|
||||
{t("日志心跳", "Log heartbeat")} {fmtDuration(Math.max(0, Math.floor(logAgeSeconds)))}
|
||||
</p>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
{primarySourceLabel ? (
|
||||
<div className="rounded-lg border border-white/[0.05] bg-black/20 px-3 py-2.5">
|
||||
<p className="text-[11px] text-zinc-500">{t("当前转播源", "Current relay source")}</p>
|
||||
<p className="mt-1 text-sm font-medium text-zinc-200">{primarySourceLabel}</p>
|
||||
</div>
|
||||
) : null}
|
||||
{showKeyRow ? (
|
||||
<div className="flex flex-wrap gap-2 text-xs">
|
||||
<span className="text-zinc-500">{t("YouTube key 尾码(参考)", "YT key suffix")}</span>
|
||||
|
||||
@ -37,6 +37,14 @@ import {
|
||||
type YoutubeProChannel,
|
||||
type YoutubeProChannelsSyncOptions,
|
||||
} from "@/lib/youtubeProChannels";
|
||||
import {
|
||||
classifyProcessMonitorActivity,
|
||||
classifyRowActivity,
|
||||
liveEventsPollMs,
|
||||
qualityGuardPollMs,
|
||||
statusPollMs,
|
||||
urlConfigPollMs,
|
||||
} from "@/lib/adaptivePoll";
|
||||
import { normalizeBrowserReachableHttpUrl } from "@/lib/panelUrls";
|
||||
|
||||
type ProcessEntry = { pm2: string; script: string; label: string };
|
||||
@ -848,14 +856,19 @@ export function LiveYoutubeUnmannedView({
|
||||
}
|
||||
}, [activeCh, applyProUrlDraft, applySingleUrlDraft, mode, readUrlConfigContent]);
|
||||
|
||||
const urlConfigPollIntervalMs = useMemo(
|
||||
() => urlConfigPollMs({ pageVisible }),
|
||||
[pageVisible],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (!currentProc || !urlAutoRefresh) return;
|
||||
if (!currentProc || !urlAutoRefresh || urlConfigPollIntervalMs <= 0) return;
|
||||
const id = window.setInterval(() => {
|
||||
if (urlListDirtyRef.current) return;
|
||||
void pullUrlConfigFromServer();
|
||||
}, 8000);
|
||||
}, urlConfigPollIntervalMs);
|
||||
return () => clearInterval(id);
|
||||
}, [currentProc, urlAutoRefresh, pullUrlConfigFromServer]);
|
||||
}, [currentProc, urlAutoRefresh, pullUrlConfigFromServer, urlConfigPollIntervalMs]);
|
||||
|
||||
const reloadUrlManual = async () => {
|
||||
const targetProc = currentProcRef.current.trim();
|
||||
@ -1781,9 +1794,17 @@ export function LiveYoutubeUnmannedView({
|
||||
try {
|
||||
const summary = await fetchJson<YoutubeLiveSummary>("/hub/youtube/live/summary");
|
||||
setLiveEventSummary(summary);
|
||||
const id = detailId ?? selectedLiveEvent?.id;
|
||||
if (id) {
|
||||
const detail = await fetchJson<{ event?: YoutubeLiveEvent }>(`/hub/youtube/live/events/${encodeURIComponent(String(id))}`);
|
||||
const active = summary.active || [];
|
||||
const selectedPm2 = currentProcRef.current.trim();
|
||||
const autoPick =
|
||||
detailId ??
|
||||
(selectedPm2 ? active.find((event) => event.process === selectedPm2)?.id : undefined) ??
|
||||
active[0]?.id ??
|
||||
selectedLiveEvent?.id;
|
||||
if (autoPick) {
|
||||
const detail = await fetchJson<{ event?: YoutubeLiveEvent }>(
|
||||
`/hub/youtube/live/events/${encodeURIComponent(String(autoPick))}`,
|
||||
);
|
||||
if (detail.event) setSelectedLiveEvent(detail.event);
|
||||
}
|
||||
} catch {
|
||||
@ -1810,12 +1831,27 @@ export function LiveYoutubeUnmannedView({
|
||||
[fetchJson, notify],
|
||||
);
|
||||
|
||||
const activeLiveEventCount = liveEventSummary?.active?.length ?? 0;
|
||||
const liveEventsPollIntervalMs = useMemo(
|
||||
() => liveEventsPollMs({ activeEvents: activeLiveEventCount, pageVisible }),
|
||||
[activeLiveEventCount, pageVisible],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (!pageVisible) return;
|
||||
void refreshLiveEvents(null);
|
||||
const id = window.setInterval(() => void refreshLiveEvents(), 4000);
|
||||
if (liveEventsPollIntervalMs <= 0) return;
|
||||
const id = window.setInterval(() => void refreshLiveEvents(), liveEventsPollIntervalMs);
|
||||
return () => window.clearInterval(id);
|
||||
}, [pageVisible, refreshLiveEvents]);
|
||||
}, [liveEventsPollIntervalMs, refreshLiveEvents]);
|
||||
|
||||
useEffect(() => {
|
||||
const onVis = () => {
|
||||
if (document.visibilityState !== "visible") return;
|
||||
void refreshLiveEvents(null);
|
||||
};
|
||||
document.addEventListener("visibilitychange", onVis);
|
||||
return () => document.removeEventListener("visibilitychange", onVis);
|
||||
}, [refreshLiveEvents]);
|
||||
|
||||
const refreshQualityGuard = useCallback(async () => {
|
||||
setQualityGuardLoading(true);
|
||||
@ -1829,12 +1865,27 @@ export function LiveYoutubeUnmannedView({
|
||||
}
|
||||
}, [fetchJson]);
|
||||
|
||||
const qualityGuardPushCount = qualityGuard?.summary?.pushing_lanes ?? 0;
|
||||
const qualityGuardPollIntervalMs = useMemo(
|
||||
() => qualityGuardPollMs({ pushingLanes: qualityGuardPushCount, pageVisible }),
|
||||
[qualityGuardPushCount, pageVisible],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (!pageVisible) return;
|
||||
void refreshQualityGuard();
|
||||
const id = window.setInterval(() => void refreshQualityGuard(), 6000);
|
||||
if (qualityGuardPollIntervalMs <= 0) return;
|
||||
const id = window.setInterval(() => void refreshQualityGuard(), qualityGuardPollIntervalMs);
|
||||
return () => window.clearInterval(id);
|
||||
}, [pageVisible, refreshQualityGuard]);
|
||||
}, [qualityGuardPollIntervalMs, refreshQualityGuard]);
|
||||
|
||||
useEffect(() => {
|
||||
const onVis = () => {
|
||||
if (document.visibilityState !== "visible") return;
|
||||
void refreshQualityGuard();
|
||||
};
|
||||
document.addEventListener("visibilitychange", onVis);
|
||||
return () => document.removeEventListener("visibilitychange", onVis);
|
||||
}, [refreshQualityGuard]);
|
||||
|
||||
const lock = !!busy || ytIniLoading || urlReloading || urlOptimizing || laneSaving;
|
||||
const proLaneActionLock = !!busy || laneSaving;
|
||||
@ -1849,11 +1900,71 @@ export function LiveYoutubeUnmannedView({
|
||||
: "";
|
||||
|
||||
const singleRow = mode === "single" ? runtimeLogRow : currentProcRow;
|
||||
const statusLogActivity = useMemo(() => {
|
||||
if (mode === "pro") {
|
||||
return classifyProcessMonitorActivity(liveProcesses.filter((row) => isYoutubeRow(row)));
|
||||
}
|
||||
return classifyRowActivity(runtimeLogRow);
|
||||
}, [mode, liveProcesses, runtimeLogRow]);
|
||||
const statusCardPollMs = useMemo(
|
||||
() => statusPollMs({ activity: statusLogActivity, pageVisible }),
|
||||
[statusLogActivity, pageVisible],
|
||||
);
|
||||
const singleOnline = pm2StatusOnline(statusForPm2(singleRuntimeProc));
|
||||
const singleSourceDisplay = douyinSourceDisplayFor(singleRow, singleUrlDraft);
|
||||
const activeSourceDisplay = active
|
||||
? douyinSourceDisplayFor(rowForPm2(resolveChannelPm2(active)), proUrlDraft || active.urlLines || "")
|
||||
: "";
|
||||
const overviewRow = runtimeLogRow;
|
||||
const overviewPushing = isLivePushingRow(overviewRow);
|
||||
const overviewActiveEvent = useMemo(() => {
|
||||
const active = liveEventSummary?.active || [];
|
||||
const selectedPm2 = currentProc.trim();
|
||||
if (!selectedPm2) return active[0] ?? null;
|
||||
return active.find((event) => event.process === selectedPm2) ?? active[0] ?? null;
|
||||
}, [currentProc, liveEventSummary?.active]);
|
||||
const monitorUrlDraft = useMemo(() => {
|
||||
if (mode === "single") return singleUrlDraft;
|
||||
const ch = channels.find((c) => resolveChannelPm2(c) === runtimeLogProc);
|
||||
if (ch && ch.id === active?.id) return proUrlDraft;
|
||||
return (ch?.urlLines ?? "").trim() || proUrlDraft;
|
||||
}, [active?.id, channels, mode, proUrlDraft, runtimeLogProc, singleUrlDraft]);
|
||||
const overviewSource = douyinSourceDisplayFor(overviewRow, monitorUrlDraft);
|
||||
const overviewSourceUrl = douyinSourceUrlFor(overviewRow, monitorUrlDraft);
|
||||
const overviewQualityLane = qualityGuard?.lanes?.find((lane) => lane.process === runtimeLogProc);
|
||||
const overviewQualityMetrics = overviewQualityLane?.metrics;
|
||||
const overviewQualityScore = overviewQualityLane?.score ?? null;
|
||||
const overviewPushingLanes =
|
||||
mode === "pro"
|
||||
? liveProcesses.filter((row) => isYoutubeRow(row) && isLivePushingRow(row)).length
|
||||
: overviewPushing
|
||||
? 1
|
||||
: 0;
|
||||
const overviewFfmpegSpeed =
|
||||
typeof overviewRow?.ffmpeg_speed === "number"
|
||||
? overviewRow.ffmpeg_speed.toFixed(2)
|
||||
: typeof overviewQualityMetrics?.speed === "number"
|
||||
? overviewQualityMetrics.speed.toFixed(2)
|
||||
: null;
|
||||
const overviewFfmpegFrame =
|
||||
typeof overviewRow?.ffmpeg_frame === "number"
|
||||
? String(overviewRow.ffmpeg_frame)
|
||||
: typeof overviewQualityMetrics?.frame === "number"
|
||||
? String(overviewQualityMetrics.frame)
|
||||
: null;
|
||||
const overviewBitrate =
|
||||
typeof overviewQualityMetrics?.bitrate === "number"
|
||||
? `${Math.round(overviewQualityMetrics.bitrate)} kbps`
|
||||
: null;
|
||||
const overviewRelayDuration =
|
||||
typeof overviewRow?.ffmpeg_time_seconds === "number"
|
||||
? fmtDurationHuman(overviewRow.ffmpeg_time_seconds, t)
|
||||
: null;
|
||||
const configNeedsAttention = !keySuffixUi || currentDouyinCount === 0;
|
||||
const overviewKeyHelper = !keySuffixUi
|
||||
? t("检查密钥", "Check key")
|
||||
: ytFields.rtmps
|
||||
? "RTMPS"
|
||||
: "RTMP";
|
||||
|
||||
const renderNekoLinkControl = (link: NekoBrowserLink) => {
|
||||
const activeNeko = selectedNeko.link?.id === link.id;
|
||||
@ -1936,7 +2047,7 @@ export function LiveYoutubeUnmannedView({
|
||||
checked={urlAutoRefresh}
|
||||
onChange={(e) => setUrlAutoRefresh(e.target.checked)}
|
||||
/>
|
||||
{t("每 8 秒自动从服务器刷新", "Auto-refresh from server every 8s")}
|
||||
{t("后台自动从服务器刷新(空闲约 12 秒)", "Auto-refresh from server (~12s when idle)")}
|
||||
</label>
|
||||
<button
|
||||
type="button"
|
||||
@ -2567,6 +2678,154 @@ export function LiveYoutubeUnmannedView({
|
||||
</section>
|
||||
);
|
||||
|
||||
const statusOverviewPanel = (
|
||||
<section className="rounded-2xl border border-white/[0.08] bg-gradient-to-br from-zinc-950/95 via-zinc-950/80 to-violet-500/[0.06] p-5 ring-1 ring-white/[0.04]">
|
||||
<div className="flex flex-wrap items-start justify-between gap-4">
|
||||
<div className="flex min-w-0 items-start gap-3">
|
||||
<div className="relative mt-0.5 flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-black/40 ring-1 ring-white/10">
|
||||
<Radio className={`h-5 w-5 ${overviewPushing ? "text-emerald-300" : "text-zinc-500"}`} />
|
||||
{overviewPushing ? (
|
||||
<span className="absolute -right-0.5 -top-0.5 flex h-3 w-3">
|
||||
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-60" />
|
||||
<span className="relative inline-flex h-3 w-3 rounded-full bg-emerald-400" />
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
<div className="min-w-0">
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<h3 className="text-sm font-semibold text-white">{t("转播实况", "Relay snapshot")}</h3>
|
||||
<span
|
||||
className={`rounded-full px-2.5 py-0.5 text-[11px] font-medium ring-1 ${businessStatusBadgeClass(overviewRow)}`}
|
||||
>
|
||||
{businessStatusLabel(overviewRow, t)}
|
||||
</span>
|
||||
{overviewPushing ? (
|
||||
<span className="rounded-full bg-emerald-500/15 px-2.5 py-0.5 text-[11px] text-emerald-100 ring-1 ring-emerald-500/25">
|
||||
{t("正在推流", "Pushing")}
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
<p className="mt-1 truncate text-sm text-zinc-300">
|
||||
{overviewSource || t("未配置抖音直播源", "No Douyin source configured")}
|
||||
</p>
|
||||
<p className="mt-1 font-mono text-[11px] text-zinc-600">
|
||||
{runtimeLogProc || "—"}
|
||||
{mode === "pro" && overviewPushingLanes > 0
|
||||
? ` · ${overviewPushingLanes}/${channels.length} ${t("路推流中", "lanes pushing")}`
|
||||
: ""}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{overviewSourceUrl ? (
|
||||
<a
|
||||
href={overviewSourceUrl}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="inline-flex items-center gap-1.5 rounded-lg border border-violet-500/25 bg-violet-500/10 px-3 py-1.5 text-xs text-violet-100 ring-1 ring-violet-500/20 hover:bg-violet-500/15"
|
||||
>
|
||||
<ExternalLink className="h-3.5 w-3.5" />
|
||||
{t("打开源站", "Open source")}
|
||||
</a>
|
||||
) : null}
|
||||
{selectedNeko.link ? (
|
||||
<a
|
||||
href={selectedNekoUrl}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="inline-flex items-center gap-1.5 rounded-lg border border-emerald-500/25 bg-emerald-500/10 px-3 py-1.5 text-xs text-emerald-100 ring-1 ring-emerald-500/20 hover:bg-emerald-500/15"
|
||||
>
|
||||
<ExternalLink className="h-3.5 w-3.5" />
|
||||
{t("Studio", "Studio")}
|
||||
</a>
|
||||
) : null}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => void onRefresh?.()}
|
||||
className="inline-flex items-center gap-1.5 rounded-lg border border-white/10 bg-white/[0.05] px-3 py-1.5 text-xs text-zinc-300 hover:bg-white/[0.08]"
|
||||
>
|
||||
<RefreshCw className="h-3.5 w-3.5" />
|
||||
{t("刷新全局", "Refresh")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-4 grid gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-7">
|
||||
{[
|
||||
{
|
||||
label: t("FFmpeg 速度", "FFmpeg speed"),
|
||||
value: overviewFfmpegSpeed ? `${overviewFfmpegSpeed}x` : "—",
|
||||
warn: overviewRow?.ffmpeg_speed_low,
|
||||
helper: overviewRelayDuration || t("等待进程上报", "Waiting for metrics"),
|
||||
},
|
||||
{
|
||||
label: t("编码帧", "Encoded frame"),
|
||||
value: overviewFfmpegFrame ?? "—",
|
||||
warn: overviewRow?.ffmpeg_progress_stalled,
|
||||
helper: overviewRow?.ffmpeg_active ? t("Worker 活跃", "Worker active") : t("无活跃 Worker", "No active worker"),
|
||||
},
|
||||
{
|
||||
label: t("码率", "Bitrate"),
|
||||
value: overviewBitrate ?? "—",
|
||||
warn: false,
|
||||
helper: overviewQualityMetrics?.fps != null ? `${overviewQualityMetrics.fps} fps` : t("质量守护采样", "Quality guard"),
|
||||
},
|
||||
{
|
||||
label: t("质量分", "Quality score"),
|
||||
value: overviewQualityScore != null ? String(overviewQualityScore) : "—",
|
||||
warn: overviewQualityScore != null && overviewQualityScore < 55,
|
||||
helper: t("当前线路综合评估", "Current lane score"),
|
||||
},
|
||||
{
|
||||
label: t("活动场次", "Active events"),
|
||||
value: String(activeLiveEventCount),
|
||||
warn: false,
|
||||
helper: t("本地事件库", "Local event store"),
|
||||
},
|
||||
{
|
||||
label: t("抖音地址", "Douyin URLs"),
|
||||
value: String(currentDouyinCount),
|
||||
warn: currentDouyinCount === 0,
|
||||
helper: `${currentUrlCount} ${t("条有效地址", "valid URLs")}`,
|
||||
},
|
||||
{
|
||||
label: t("密钥尾码", "Key suffix"),
|
||||
value: keySuffixDisplay,
|
||||
warn: !keySuffixUi,
|
||||
helper: overviewKeyHelper,
|
||||
},
|
||||
].map(({ label, value, warn, helper }) => (
|
||||
<div key={label} className="rounded-xl border border-white/[0.06] bg-black/25 p-3 min-w-0">
|
||||
<p className="text-[11px] text-zinc-500">{label}</p>
|
||||
<p className={`mt-1 text-xl font-semibold tracking-tight ${warn ? "text-amber-200" : "text-white"}`}>
|
||||
{value}
|
||||
</p>
|
||||
<p className="mt-1 text-[10px] text-zinc-600">{helper}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
{overviewActiveEvent && overviewPushing ? (
|
||||
<div className="mt-4 flex flex-wrap items-center gap-3 rounded-xl border border-cyan-500/20 bg-cyan-500/[0.06] px-4 py-3 text-xs">
|
||||
<span className="font-medium text-cyan-100">{t("本场直播", "This event")}</span>
|
||||
<span className={`rounded-full px-2 py-0.5 ring-1 ${eventStatusClass(overviewActiveEvent.status)}`}>
|
||||
{eventStatusText(overviewActiveEvent.status, t)}
|
||||
</span>
|
||||
<span className={`rounded-full px-2 py-0.5 ring-1 ${eventRiskClass(overviewActiveEvent)}`}>
|
||||
{eventRiskText(overviewActiveEvent, t)}
|
||||
</span>
|
||||
<span className="text-zinc-400">
|
||||
{t("观众", "Viewers")} {viewerText(overviewActiveEvent.last_viewer_count, t)}
|
||||
{" · "}
|
||||
{fmtDurationHuman(overviewActiveEvent.duration_seconds, t)}
|
||||
</span>
|
||||
{overviewActiveEvent.last_popup_text ? (
|
||||
<span className="text-amber-200">{t("弹窗", "Popup")}: {overviewActiveEvent.last_popup_text}</span>
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
</section>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="mx-auto max-w-6xl space-y-6">
|
||||
{onNavigate ? (
|
||||
@ -2648,6 +2907,8 @@ export function LiveYoutubeUnmannedView({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{statusOverviewPanel}
|
||||
|
||||
{laneQuickLinks.length ? (
|
||||
<div className="space-y-2">
|
||||
{nekoActionNote ? <p className="text-xs text-zinc-400">{nekoActionNote}</p> : null}
|
||||
@ -2762,17 +3023,21 @@ export function LiveYoutubeUnmannedView({
|
||||
t={t}
|
||||
/>
|
||||
</div>
|
||||
<p className="mt-3 text-center text-xs text-zinc-400">
|
||||
{t("当前状态", "Current state")}: {businessStatusLabel(singleRow, t)}
|
||||
{typeof singleRow?.ffmpeg_speed === "number" ? ` | speed ${singleRow.ffmpeg_speed.toFixed(2)}x` : ""}
|
||||
{typeof singleRow?.ffmpeg_frame === "number" ? ` | frame ${singleRow.ffmpeg_frame}` : ""}
|
||||
</p>
|
||||
<p className="mt-2 text-center text-sm font-semibold text-white">
|
||||
{singleSourceDisplay || t("未配置抖音直播源", "No Douyin source configured")}
|
||||
</p>
|
||||
<p className="mt-3 text-center font-mono text-[11px] text-zinc-600">
|
||||
key {t("尾码", "suffix")}: {keySuffixDisplay}
|
||||
</p>
|
||||
<div className="mt-3 flex flex-wrap items-center justify-center gap-2 text-xs">
|
||||
<span className={`rounded-full px-2.5 py-0.5 font-medium ring-1 ${businessStatusBadgeClass(singleRow)}`}>
|
||||
{businessStatusLabel(singleRow, t)}
|
||||
</span>
|
||||
{typeof singleRow?.ffmpeg_speed === "number" ? (
|
||||
<span className={`font-mono text-zinc-400 ${singleRow.ffmpeg_speed_low ? "text-amber-300" : ""}`}>
|
||||
speed {singleRow.ffmpeg_speed.toFixed(2)}x
|
||||
</span>
|
||||
) : null}
|
||||
{typeof singleRow?.ffmpeg_frame === "number" ? (
|
||||
<span className={`font-mono text-zinc-400 ${singleRow.ffmpeg_progress_stalled ? "text-rose-300" : ""}`}>
|
||||
frame {singleRow.ffmpeg_frame}
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
@ -2962,8 +3227,39 @@ export function LiveYoutubeUnmannedView({
|
||||
)}
|
||||
</div>
|
||||
|
||||
<LiveProcessLiveLogCard
|
||||
t={t}
|
||||
currentProc={runtimeLogProc}
|
||||
fetchJson={fetchJson}
|
||||
urlListText={monitorUrlDraft}
|
||||
keySuffixUi={keySuffixUi}
|
||||
showKeyRow
|
||||
pollMs={statusCardPollMs}
|
||||
refreshToken={activeViewRefreshToken}
|
||||
monitorRow={overviewRow ?? undefined}
|
||||
/>
|
||||
|
||||
{qualityGuardPanel}
|
||||
|
||||
{humanLiveEventPanel || liveEventPanel}
|
||||
|
||||
<section className="rounded-2xl border border-white/[0.08] bg-zinc-950/50 ring-1 ring-white/[0.03]">
|
||||
<div className="border-b border-white/[0.06] px-6 py-4">
|
||||
<h3 className="text-sm font-semibold text-white">
|
||||
{t("配置与地址", "Config and URLs")}
|
||||
{configNeedsAttention ? (
|
||||
<span className="ml-2 rounded-md bg-amber-500/15 px-2 py-0.5 text-[10px] font-medium text-amber-100 ring-1 ring-amber-500/25">
|
||||
{t("待完善", "Needs setup")}
|
||||
</span>
|
||||
) : null}
|
||||
</h3>
|
||||
<p className="mt-1 text-xs text-zinc-500">
|
||||
{t("密钥、youtube.ini、URL 列表", "Keys, youtube.ini, URL list")}
|
||||
</p>
|
||||
</div>
|
||||
<div className="space-y-6 p-6 pt-4">
|
||||
{mode === "single" ? (
|
||||
<div className="rounded-2xl border border-white/[0.08] bg-zinc-950/50 p-6">
|
||||
<div>
|
||||
<h3 className="text-sm font-semibold text-white">{t("YouTube 相关设置", "YouTube settings")}</h3>
|
||||
<p className="mt-1 text-xs text-zinc-500">
|
||||
{t("串流参数写进 youtube.ini,无需 Google 登录。", "Stream settings go to youtube.ini — no Google login.")}
|
||||
@ -3071,7 +3367,7 @@ export function LiveYoutubeUnmannedView({
|
||||
</div>
|
||||
) : (
|
||||
<div className="space-y-6">
|
||||
<div className="rounded-2xl border border-white/[0.08] bg-zinc-950/50 p-6">
|
||||
<div>
|
||||
<div className="flex flex-wrap items-center justify-between gap-2">
|
||||
<div>
|
||||
<h3 className="text-sm font-semibold text-white">
|
||||
@ -3226,7 +3522,7 @@ export function LiveYoutubeUnmannedView({
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
<div className="rounded-2xl border border-white/[0.08] bg-zinc-950/50 p-6">
|
||||
<div>
|
||||
<h3 className="text-sm font-semibold text-white">{t("直播地址列表", "URL list")}</h3>
|
||||
<p className="mt-1 text-xs text-zinc-500">
|
||||
{t(
|
||||
@ -3275,7 +3571,7 @@ export function LiveYoutubeUnmannedView({
|
||||
)}
|
||||
|
||||
{mode === "single" ? (
|
||||
<div className="rounded-2xl border border-white/[0.08] bg-zinc-950/50 p-6">
|
||||
<div>
|
||||
<h3 className="text-sm font-semibold text-white">{t("直播地址列表 · URL_config.ini", "URL_config.ini")}</h3>
|
||||
<p className="mt-1 text-xs text-zinc-500">
|
||||
{t("一行一个地址;可自动刷新或手动重新读取。", "One URL per line; auto-refresh or reload.")}
|
||||
@ -3313,20 +3609,8 @@ export function LiveYoutubeUnmannedView({
|
||||
</button>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<LiveProcessLiveLogCard
|
||||
t={t}
|
||||
currentProc={runtimeLogProc}
|
||||
fetchJson={fetchJson}
|
||||
urlListText={mode === "single" ? singleUrlDraft : proUrlDraft}
|
||||
keySuffixUi={keySuffixDisplay}
|
||||
showKeyRow
|
||||
pollMs={800}
|
||||
refreshToken={activeViewRefreshToken}
|
||||
/>
|
||||
|
||||
{qualityGuardPanel}
|
||||
{humanLiveEventPanel || liveEventPanel}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{2195:function(n,e,u){Promise.resolve().then(u.bind(u,7340))},7340:function(n,e,u){"use strict";u.r(e),u.d(e,{default:function(){return t.Z}});var t=u(7644)}},function(n){n.O(0,[500,166,246,644,971,117,744],function(){return n(n.s=2195)}),_N_E=n.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{2195:function(n,e,u){Promise.resolve().then(u.bind(u,7340))},7340:function(n,e,u){"use strict";u.r(e),u.d(e,{default:function(){return t.Z}});var t=u(6054)}},function(n){n.O(0,[500,166,246,54,971,117,744],function(){return n(n.s=2195)}),_N_E=n.O()}]);
|
||||
@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[851],{8797:function(n,e,u){Promise.resolve().then(u.bind(u,316))},316:function(n,e,u){"use strict";u.r(e),u.d(e,{default:function(){return t.Z}});var t=u(7644)}},function(n){n.O(0,[500,166,246,644,971,117,744],function(){return n(n.s=8797)}),_N_E=n.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[851],{8797:function(n,e,u){Promise.resolve().then(u.bind(u,316))},316:function(n,e,u){"use strict";u.r(e),u.d(e,{default:function(){return t.Z}});var t=u(6054)}},function(n){n.O(0,[500,166,246,54,971,117,744],function(){return n(n.s=8797)}),_N_E=n.O()}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2,6 +2,6 @@
|
||||
3:I[3946,["500","static/chunks/500-ea37cc8de90441f7.js","246","static/chunks/246-a56380dcf5ea0340.js","357","static/chunks/app/android/page-5f87422c86e34807.js"],"default",1]
|
||||
4:I[4707,[],""]
|
||||
5:I[6423,[],""]
|
||||
0:["rhCYZ_wc8xSBmOuteYBrz",[[["",{"children":["android",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["android",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","android","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d69107dc7d1c5fad.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
0:["nn5gs0vOhAN-ZntPcMeyY",[[["",{"children":["android",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["android",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","android","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc13f62d91728e6a.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"无人直播系统 · live.local"}],["$","meta","3",{"name":"description","content":"Linux ARM/x86 一键部署的无人直播控制台:YouTube 转播、TikTok HDMI、SRS、Neko 与系统服务"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
|
||||
1:null
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -2,6 +2,6 @@
|
||||
3:I[6367,["500","static/chunks/500-ea37cc8de90441f7.js","246","static/chunks/246-a56380dcf5ea0340.js","443","static/chunks/app/console/page-f5a0052a001f3016.js"],"default",1]
|
||||
4:I[4707,[],""]
|
||||
5:I[6423,[],""]
|
||||
0:["rhCYZ_wc8xSBmOuteYBrz",[[["",{"children":["console",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["console",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","console","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d69107dc7d1c5fad.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
0:["nn5gs0vOhAN-ZntPcMeyY",[[["",{"children":["console",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["console",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","console","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc13f62d91728e6a.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"无人直播系统 · live.local"}],["$","meta","3",{"name":"description","content":"Linux ARM/x86 一键部署的无人直播控制台:YouTube 转播、TikTok HDMI、SRS、Neko 与系统服务"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
|
||||
1:null
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
2:I[9107,[],"ClientPageRoot"]
|
||||
3:I[7340,["500","static/chunks/500-ea37cc8de90441f7.js","166","static/chunks/166-6b01e1456a874782.js","246","static/chunks/246-a56380dcf5ea0340.js","644","static/chunks/644-dcd2dfdf5a6ad0fc.js","931","static/chunks/app/page-58e06160be396c5b.js"],"default",1]
|
||||
3:I[7340,["500","static/chunks/500-ea37cc8de90441f7.js","166","static/chunks/166-6b01e1456a874782.js","246","static/chunks/246-a56380dcf5ea0340.js","54","static/chunks/54-2994f988b170fe04.js","931","static/chunks/app/page-c4a7a1a690a447a0.js"],"default",1]
|
||||
4:I[4707,[],""]
|
||||
5:I[6423,[],""]
|
||||
0:["rhCYZ_wc8xSBmOuteYBrz",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d69107dc7d1c5fad.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
0:["nn5gs0vOhAN-ZntPcMeyY",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc13f62d91728e6a.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"无人直播系统 · live.local"}],["$","meta","3",{"name":"description","content":"Linux ARM/x86 一键部署的无人直播控制台:YouTube 转播、TikTok HDMI、SRS、Neko 与系统服务"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
|
||||
1:null
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -2,6 +2,6 @@
|
||||
3:I[3398,["500","static/chunks/500-ea37cc8de90441f7.js","246","static/chunks/246-a56380dcf5ea0340.js","6","static/chunks/app/shellcrash/page-0c73522b1d5c8dc1.js"],"default",1]
|
||||
4:I[4707,[],""]
|
||||
5:I[6423,[],""]
|
||||
0:["rhCYZ_wc8xSBmOuteYBrz",[[["",{"children":["shellcrash",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["shellcrash",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","shellcrash","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d69107dc7d1c5fad.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
0:["nn5gs0vOhAN-ZntPcMeyY",[[["",{"children":["shellcrash",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["shellcrash",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","shellcrash","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc13f62d91728e6a.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"无人直播系统 · live.local"}],["$","meta","3",{"name":"description","content":"Linux ARM/x86 一键部署的无人直播控制台:YouTube 转播、TikTok HDMI、SRS、Neko 与系统服务"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
|
||||
1:null
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
2:I[9107,[],"ClientPageRoot"]
|
||||
3:I[316,["500","static/chunks/500-ea37cc8de90441f7.js","166","static/chunks/166-6b01e1456a874782.js","246","static/chunks/246-a56380dcf5ea0340.js","644","static/chunks/644-dcd2dfdf5a6ad0fc.js","851","static/chunks/app/youtube-events/page-de7151b95af37543.js"],"default",1]
|
||||
3:I[316,["500","static/chunks/500-ea37cc8de90441f7.js","166","static/chunks/166-6b01e1456a874782.js","246","static/chunks/246-a56380dcf5ea0340.js","54","static/chunks/54-2994f988b170fe04.js","851","static/chunks/app/youtube-events/page-a4e65759d65834d9.js"],"default",1]
|
||||
4:I[4707,[],""]
|
||||
5:I[6423,[],""]
|
||||
0:["rhCYZ_wc8xSBmOuteYBrz",[[["",{"children":["youtube-events",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["youtube-events",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","youtube-events","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d69107dc7d1c5fad.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
0:["nn5gs0vOhAN-ZntPcMeyY",[[["",{"children":["youtube-events",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["youtube-events",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","youtube-events","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cc13f62d91728e6a.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"zh-CN","data-theme":"dark","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 font-sans antialiased","children":[["$","div",null,{"className":"app-bg-layer","aria-hidden":true}],["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]}]],null],null],["$L6",null]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"无人直播系统 · live.local"}],["$","meta","3",{"name":"description","content":"Linux ARM/x86 一键部署的无人直播控制台:YouTube 转播、TikTok HDMI、SRS、Neko 与系统服务"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]]
|
||||
1:null
|
||||
|
||||
Loading…
Reference in New Issue
Block a user