Nginx rtmp exec命令在macOS中不起作用

问题描述 投票:0回答:1

Nginx rtmp exec命令在我的macOS上不起作用。我检查了错误日志文件并看到此错误。

2019/05/19 19:45:24 [alert] 32986#0: kevent() error on 13 filter:-1 flags:4002 (2: No such file or directory)

我不知道这是什么意思,我进行了很多搜索,但没有找到任何东西。

配置文件

rtmp {

    server {

        listen 8080;
        chunk_size 4096;

        application publish {

            live on;
            record off;

            allow publish all;
            allow play all;

            exec echo "" > /test.txt;

            # I even test that command with bash file 
            exec /Users/josh/Projects/server/test.sh;
        }

        application hls {

            live on;
            record off;

            hls on;
            hls_path /usr/local/nginx/html/live;
            hls_fragment 15s;
        }
    }

}
macos nginx ffmpeg rtmp
1个回答
0
投票

有同样的问题! eek!

© www.soinside.com 2019 - 2024. All rights reserved.