's'
This commit is contained in:
@@ -454,9 +454,15 @@ export default function Home() {
|
||||
</p>
|
||||
<p className="font-medium text-white">打开本页</p>
|
||||
<p className="mt-1 text-xs text-slate-400">
|
||||
服务器上先执行 <code className="rounded bg-black/40 px-1.5 py-0.5 text-cyan-200/90">web.sh</code>{" "}
|
||||
(Windows 用 <code className="rounded bg-black/40 px-1.5 py-0.5">web.bat</code>
|
||||
)。浏览器地址栏要和启动时提示的端口一致。
|
||||
Windows / Ubuntu 共用同一套代码:<code className="rounded bg-black/40 px-1.5 py-0.5">git pull</code> 后双击/运行{" "}
|
||||
<code className="rounded bg-black/40 px-1.5 py-0.5">start.bat</code> 或{" "}
|
||||
<code className="rounded bg-black/40 px-1.5 py-0.5">./start.sh</code>(生产),开发双端用{" "}
|
||||
<code className="rounded bg-black/40 px-1.5 py-0.5">dev.bat</code> /{" "}
|
||||
<code className="rounded bg-black/40 px-1.5 py-0.5">./dev.sh</code>。启动时会自动检测 Python、ffmpeg、npm 等。
|
||||
端口与同机 SRS、代理冲突时,复制{" "}
|
||||
<code className="text-cyan-200/90">config/runtime.env.example</code> 为{" "}
|
||||
<code className="text-cyan-200/90">config/runtime.env</code> 修改{" "}
|
||||
<code className="text-cyan-200/90">PORT</code>。Docker 默认 <code className="text-cyan-200/90">8101</code>。
|
||||
</p>
|
||||
</div>
|
||||
<div className="rounded-2xl border border-white/8 bg-black/20 p-4">
|
||||
@@ -465,7 +471,8 @@ export default function Home() {
|
||||
</p>
|
||||
<p className="font-medium text-white">选进程、改配置</p>
|
||||
<p className="mt-1 text-xs text-slate-400">
|
||||
左侧下拉框选「抖音→YouTube」或「TikTok」等。需要填密钥、直播间地址时,在右侧编辑后点「保存」。
|
||||
左侧下拉框<strong className="text-slate-300">默认首选 YouTube / 抖音→YouTube</strong>
|
||||
,可切换到 TikTok、OBS 等。需要密钥、直播间地址时,在右侧编辑后点「保存到服务器」再启动。
|
||||
</p>
|
||||
</div>
|
||||
<div className="rounded-2xl border border-white/8 bg-black/20 p-4">
|
||||
@@ -480,7 +487,13 @@ export default function Home() {
|
||||
</div>
|
||||
<p className="rounded-xl border border-amber-500/20 bg-amber-950/20 px-4 py-3 text-xs text-amber-100/90">
|
||||
<strong className="text-amber-200">HDMI / OBS:</strong>
|
||||
需本机已装 SRS,且显示器已接好。OBS 里选「自定义」推流,服务器填下面给出的 SRT 地址,密钥留空。
|
||||
需本机已装 SRS(拉流端口多为 <code className="text-amber-200/90">10080</code> 等,与控制台 Web 端口不是同一个)。显示器接好后,OBS
|
||||
选「自定义」推流,服务器填下方 SRT 地址,密钥留空。
|
||||
</p>
|
||||
<p className="rounded-xl border border-slate-600/30 bg-slate-950/40 px-4 py-3 text-xs text-slate-400">
|
||||
<strong className="text-slate-300">局域网访问:</strong>
|
||||
生产模式默认绑定 <code className="text-slate-300">0.0.0.0</code>,同一 WiFi/内网下用手机或电脑浏览器访问{" "}
|
||||
<code className="text-slate-300">http://这台机器的IP:端口/</code> 即可(注意防火墙放行端口)。
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
@@ -780,10 +793,12 @@ export default function Home() {
|
||||
遇到问题先看「错误输出」与「高级」里的进程表;仍无法解决请联系维护人员并带上日志截图。
|
||||
</p>
|
||||
<p className="mt-2 text-slate-700">
|
||||
运维一键启动:<span className="font-mono text-slate-500">./start.sh</span> 或{" "}
|
||||
<span className="font-mono text-slate-500">start.bat</span>;开发双端:{" "}
|
||||
运维:<span className="font-mono text-slate-500">./start.sh</span> /{" "}
|
||||
<span className="font-mono text-slate-500">start.bat</span>;开发:{" "}
|
||||
<span className="font-mono text-slate-500">./dev.sh</span> /{" "}
|
||||
<span className="font-mono text-slate-500">npm run dev</span>
|
||||
<span className="font-mono text-slate-500">npm run dev</span>;Docker 默认端口{" "}
|
||||
<span className="font-mono text-slate-500">8101</span>;端口见{" "}
|
||||
<span className="font-mono text-slate-500">config/runtime.env.example</span>
|
||||
</p>
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user