bytelang / kplayer-go

A live streaming tool more suitable for non-graphical servers
https://kplayer.net
Apache License 2.0
756 stars 72 forks source link

报错 output add failed. error: Connection refused [-111] #56

Closed zhenhappy closed 1 year ago

zhenhappy commented 1 year ago

config.json

{
    "version": "2.0.0",
    "resource": {
        "lists": [
            "/video/example_1.mp4",
            "/video/example_2.mp4"
        ]
    },
    "output": {
        "lists": [
            {
                "path": "rtmp://127.0.0.1:1935/push"
            }
        ]
    }
}

docker命令 docker run --rm -it --name kplayer -p 1935:1935 -v $PWD/video:/video -v $PWD/config.json:/kplayer/config.json bytelang/kplayer:latest

log CleanShot 2023-01-04 at 15 09 34

vaptu commented 1 year ago

output path 推流地址需要一个可用的推流地址