We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on_publish 可以返回自定义参数
on_publish只能返回默认的几个参数
{ "app": String, "swfurl": String, "tcurl": String, "pageurl": String, "addr": String, "clientid": String, "call": String, "name":String }
Debian GNU/Linux 10 nginx version: nginx/1.18.0
rtmp { out_queue 4096; out_cork 8; max_streams 128; timeout 15s; drop_idle_publisher 15s; server { listen 1935; application hls { live on; publish_notify on; on_publish http://127.0.0.1:35602/auth; hls on; hls_path /data/wwwroot/hls; } } }
在server层使用on_connect url的话,是可以返回自定义参数的,比如向rtmp://url:1935/hls?pass=123,后端验证可以接收到POST来的
{ "pass":123 }
但是在application使用on_publish无法接收到自定义的参数
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior / 期望行为
on_publish 可以返回自定义参数
Actual behavior / 实际行为
on_publish只能返回默认的几个参数
OS and Nginx version / 操作系统和 Nginx 版本号
Configuration file / 配置文件
Steps to reproduce the behavior / 复现问题步骤
在server层使用on_connect url的话,是可以返回自定义参数的,比如向rtmp://url:1935/hls?pass=123,后端验证可以接收到POST来的
但是在application使用on_publish无法接收到自定义的参数
The text was updated successfully, but these errors were encountered: