Sign inSign up

raykimurayyz/game-live-bridge

By raykimurayyz

•Updated 23 days ago

Three-service Docker Compose bundle for PlayStation 4/5 RTMP relay and live comments.

Image
Networking
0

598

raykimurayyz/game-live-bridge repository overview

⁠Game Live Bridge

Broadcast from PlayStation 4/5, relay to your preferred platforms, and bring Douyu, Huya, or Bilibili comments into the console chat overlay.

中文说明⁠ · 安装指南⁠ · 实现原理⁠ · Source⁠

This image is a lightweight installer that exports a deployment bundle. It is not a combined runtime image. The exported Docker Compose product orchestrates three independent service images:

  • raykimurayyz/nginx-rtmp: receives the PlayStation 4/5 RTMP stream and relays it to configured platforms.
  • raykimurayyz/gamelivecomment: forwards Douyu, Huya, and Bilibili comments to a console-compatible Twitch IRC/TMI endpoint.
  • jpillora/dnsmasq: redirects selected Twitch ingest and chat hostnames to the local Docker host.

⁠Export the bundle

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -v "$PWD:/output" \
  raykimurayyz/game-live-bridge:latest

cd game-live-bridge
cp .env.example .env

Set HOST_LAN_IP in .env, then:

./scripts/bridge.sh init
./scripts/bridge.sh validate
./scripts/bridge.sh pull
./scripts/bridge.sh up

The installer container exits after exporting the files. The three service containers are created later by Docker Compose.

⁠Image tags

  • latest: most recently published stable bundle
  • vX.Y.Z: exact product release, for example v0.1.2

Only these two tags are produced by each release workflow. Pin vX.Y.Z for repeatable installations.

Open:

  • Relay manager: http://HOST_LAN_IP:8080
  • Comment settings and monitor: http://HOST_LAN_IP:3010/

Set the PlayStation 4/5 DNS server to HOST_LAN_IP, keep Twitch linked on the console, and start a Twitch broadcast.

⁠Ports

PortProtocolPurpose
53TCP/UDPLocal DNS redirection
1935TCPPlayStation 4/5 RTMP ingest
6667TCPConsole Twitch IRC/TMI emulator
3010TCPComment overlay, settings, and status API
8080TCPRTMP relay management UI

⁠Platform support

The product can be installed on a host, NAS, or personal computer that supports Docker and Docker Compose. The relay and comment images support AMD64 and ARM64. The upstream dnsmasq image is currently AMD64-only, so ARM hosts may use architecture emulation for that service.

Do not expose the management ports to the public internet. See the GitHub installation guide⁠ and architecture guide⁠ for complete documentation.

⁠中文说明

这个镜像是用于导出安装文件的轻量安装包镜像,不是把三个服务合并到一起的运行镜像。导出的 Game Live Bridge 使用 Docker Compose 管理三个独立服务:

  • nginx-rtmp 接收 PlayStation 4/5 推流并转推国内直播平台;
  • gamelivecomment 把斗鱼、虎牙、B 站弹幕送到游戏主机 Twitch 聊天浮层;
  • dnsmasq 把指定 Twitch 推流和弹幕域名重定向到局域网 Docker 主机。

先导出安装包:

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -v "$PWD:/output" \
  raykimurayyz/game-live-bridge:latest

进入导出的 game-live-bridge 目录,复制 .env.example 为 .env,填写 Docker 主机固定局域网 IP,然后执行:

./scripts/bridge.sh init
./scripts/bridge.sh validate
./scripts/bridge.sh pull
./scripts/bridge.sh up

本产品可以安装在能够运行 Docker 和 Docker Compose 的主机、NAS 或个人电脑上。转推和弹幕镜像支持 AMD64 与 ARM64;上游 dnsmasq 镜像目前只有 AMD64,ARM 主机可能会对该服务使用架构模拟。管理端口只应在可信局域网使用,不要暴露到公网。产品截图、完整安装步骤和常见问题请查看 GitHub 仓库中的 README.zh-CN.md。

每次正式发布只生成 latest 和完整版本号 vX.Y.Z 两个 Docker 标签。

Tag summary

Content type

Image

Digest

sha256:6dacbca12…

Size

5.1 MB

Last updated

23 days ago

docker pull raykimurayyz/game-live-bridge