winshining / nginx-http-flv-module

A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
BSD 2-Clause "Simplified" License
2.72k stars 567 forks source link

obs无法推流 #189

Closed dreamfly32 closed 3 years ago

dreamfly32 commented 3 years ago

image

折腾一天了,不知道问题出在哪。。。 换台机器还是一样。 nginx也换了,配置文件也是用的你的例子。(只是把1935的server_name注释掉了)

背景: ubuntu18,nginx14,nginx16, nginx-http-flv-module最新,

nginx编译命令 ./configure --prefix=/etc/nginx --add-module=/root/nginx-http-flv-module/ -pid-path=/run/nginx.pid make && make install

当推流格式为rtmp://192.168.0.87:1935/myapp 时,报上图错,且有nginx error日志 image

当推流格式为rtmp://192.168.0.87:1935/myapp/test 时,报上图错,没有nginx error日志。

so,问题出在哪?

winshining commented 3 years ago

https://www.bilibili.com/video/BV1sJ411L7r8

dreamfly32 commented 3 years ago

我的问题,obs没配置正确,啊啊啊啊啊啊啊啊