This commit is contained in:
eric
2026-03-28 17:16:38 -05:00
parent 37ab25911a
commit 46fb194a02
20 changed files with 962 additions and 331 deletions

View File

@@ -36,6 +36,13 @@ Use this when the device should only run the Douyin or YouTube business stack.
- Builds the web console and enables `live-console.service`
- Generates the hardware profile for adaptive ARM or X86 defaults
### PM2单频道与多频道 ProLinux ARM / x86_64
- **单频道**:在项目根启用一个业务进程即可,例如取消注释 `ecosystem.config.cjs` 里的 `youtube``tiktok`,执行 `pm2 start ecosystem.config.cjs && pm2 save`
- **多频道 Pro**:每路直播需要**独立的** `config/youtube.ini``config/URL_config.ini`(或整份独立工作目录)。为第二路及以后各复制一份目录(或符号链接脚本外的配置),在 PM2 里为每个 app 设置不同的 `cwd``name` 与 Web 控制台 Pro 线路建议名一致(如 `youtube2__<channelId>`)。
- **硬件编码**`sudo python3 scripts/hardware_probe.py --write` 会写入 `config/hardware.env``hardware-profile.json`;推流侧可选 `LIVE_VIDEO_ENCODER`RKMPP / V4L2M2M / VA-API / QSV 等,见 `config/hardware.env.example`。NVIDIA 一般由 `douyin_youtube_ffplay.py` 自动走 NVENC。
- **音频链**:与 GitLab 分支 `ffmpegAudioRMFoode``douyin_youtube_ffplay.py` 的 FFmpeg 处理思路一致(`fast_audio`、arnndn、EQ 等);当前主线在 Linux 上还包含板载编码探测与推流稳定性增强,以前端无需对齐 Electron 为准。
### `install-all.sh`
Use this when the node should be both the super hub and the livestream business node.