bytelang / kplayer-go

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

请问推流错误,连接被拒绝,也没有防火墙,是什么问题? #105

Open mimokini opened 1 year ago

mimokini commented 1 year ago

output add failed. error: Connection refused [-111] error="Connection refused [-111]" path="rtmp://127.0.0.1:1935/push" unique=test

日志: Connection to tcp://127.0.0.1:1935 failed: Connection refused Cannot open connection tcp://127.0.0.1:1935 could not open output stream; path: rtmp://127.0.0.1:1935/push; error: Connection refused [-111]

config.yaml配置文件: ######################################################################################### version: "2.0.0"

resource: lists:

play: start_point: 1 play_model: random cache_on: false cache_uncheck: false skip_invalid_resource: true fill_strategy: tile

output: reconnect_internal: 5 lists:

kKevin0001 commented 1 year ago

你是按这篇文章来做的吗? 如果是,那推流地址应该是:rtmp://127.0.0.1:1935/live