Open wired420 opened 8 years ago
This module can't work with nginx 1.9.2 (dynamical modules support). See here #782
I have the same problem ,Does it work in 1.10.1?
Any news on this? I'm using nginx 1.10.3 and it looks like rtmp_auto_push is not working. :(
Guys, is this still an issue? I've tried compiling it with nginx 1.11.2 and it would seem that it's working? Below are the sample config. Could someone see if I missed something?
worker_processes auto;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location /stat {
rtmp_stat all;
}
}
}
rtmp_auto_push on;
rtmp_auto_push_reconnect 1s;
rtmp {
server {
listen 1935;
application live1 {
live on;
pull rtmp://<source>;
}
application live2 {
live on;
pull rtmp://<source>;
}
application live3 {
live on;
}
application pushlive {
live on;
push rtmp://127.0.0.1/live3;
}
application live4 {
live on;
exec_pull ffmpeg -re -i http://<source> -c copy -f flv rtmp://127.0.0.1/$app;
}
}
}
Auto push will cause hangs if multiple users attempt to view the stream at once. Also if you use the hls configuration you can embed your flash stream in a html 5 container and run your website without the need for special activation of flash.
On Jun 7, 2017 10:39 PM, "Muhammad Hallaj Subery" notifications@github.com wrote:
Guys, is this still an issue? I've tried compiling it with nginx 1.11.2 and it would seem that it's working? Below are the sample config. Could someone see if I missed something?
worker_processes auto;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream;
sendfile on; keepalive_timeout 65;
server { listen 80; server_name localhost;
location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } location /stat { rtmp_stat all; }
} }
rtmp_auto_push on; rtmp_auto_push_reconnect 1s;
rtmp { server { listen 1935;
application live1 { live on; pull rtmp://<source>; } application live2 { live on; pull rtmp://<source>; } application live3 { live on; } application pushlive { live on; push rtmp://127.0.0.1/live3; } application live4 { live on; exec_pull ffmpeg -re -i http://<source> -c copy -f flv rtmp://127.0.0.1/$app; }
} }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arut/nginx-rtmp-module/issues/773#issuecomment-306981826, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHaRYMJFA9cJ8GGTuJzC0Hl5v-nbyQsks5sB17HgaJpZM4HtQc6 .
rtmp_auto_push on;
Option causes an exit with Signal 11 on push attempt in the newest nginx 1.9.12.
Without it, if you have threading enabled only one person can view/hear stream.