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.
1:calling control record api and no content response
like this curl 'http://127.0.0.1:1056/control/record/start?app=live&name=4c9ce73065a644fb87867bcede069219&rec=rec'
2:how to enable log for NGX_LOG_DEBUG_RTMP,I configure log with this directive error_log logs/rtmp_control.log debug;but I cannot get any useful message from this log file,and I have checked some source code in the functionngx_rtmp_record_make_path:
1:calling control record api and no content response like this
curl 'http://127.0.0.1:1056/control/record/start?app=live&name=4c9ce73065a644fb87867bcede069219&rec=rec'
2:how to enable log forNGX_LOG_DEBUG_RTMP
,I configure log with this directiveerror_log logs/rtmp_control.log debug;
but I cannot get any useful message from this log file,and I have checked some source code in the functionngx_rtmp_record_make_path
:where's logs?
Expected behavior (期望行为)
return the record path that in the server
Actual behavior (实际行为)
no content
OS and Nginx version (操作系统和 Nginx 版本号)
Linux Centos8 nginx 1.22
Configuration file (配置文件)
Steps to reproduce the behavior (复现问题步骤)
Error log if any (错误日志)