ps5自带直播如何推流到b站等国内平台

docker简单的安装指南
https://docker.easydoc.net/doc/81170005/cCewZWoN/lTKfePfP
Docker库地址
https://hub.docker.com/r/bao3/playstation
twitch服务器列表
https://twitchstatus.com/
相关说明命令
docker 运行
docker run -d -it -p 80:80 -p 1935:1935 --restart always --name ps5living bao3/playstation
--restart always docker重启 服务也启动
-d 后台运行 启动 docker 守护进程
-i 以交互模式运行容器
-t 为容器重新分配一个伪输入终端
-p 8080:80 将本地的 8080 端口绑定到容器的 80 端口上
--name 起个名称ps5living
查看所有容器
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a06fb0263372 bao3/playstation "nginx" 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp, 0.0.0.0:1935->1935/tcp ps5living
查看镜像
docker images
删除镜像用docker rmi
删除容器用docker rm
删除容器
docker rm a58603d17d8c
停止容器
docker stop a58603d17d8c
docker的网络信息
docker network ls
禁止使用的端口
netsh interface ipv4 show excludedportrange protocol=tcp
查看端口占用情况
netstat -aon | findstr :
Docker: Error response from daemon: Ports are not available 端口没被占用,却显示被占用
其实这是Windows中的一个小问题,只需要重启NAT网络就可以解决了,执行如下两条命令
net stop winnat
net start winnat
twitch服务地址查询
https://twitchstatus.com/
用到的docker库
https://hub.docker.com/r/bao3/playstation
最后的推流地址
rtmp://192.168.31.178/app/live_xxxxxxxxxx
拦截
*.contribute.live-video.net 你的ip