-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
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
nginx: [emerg] unknown directive "rtmp" in /etc/nginx/conf.d/rtmp.conf:1 #4
Comments
rtmp.conf is included in nginx.conf. probably it's included in http context. |
yes it was i moved outside but it gives that error atm : nginx: [emerg] unknown directive "max_buf" in /etc/nginx/conf.d/rtmp.conf:6 |
and |
thanks for your report. |
about http error: |
I need to send that requests to flash media server and send it to client whitch running on another on same matchine. Module works but it dont sending requests to fms server. Application name is live I tried both that config it didnt works. rtmp {
max_buf 1M;
} } |
|
if i remove stats page not shows requests. I can see requests right now but it dont pushing to my flash media server. RTMP #clients In bytes Out bytes In Kbps Out Kbps Size Frame Rate Video Audio State |
Flash application name is live as well and running port 1940 |
slash is not needed there since your app's name is 'live'. |
sir requests are correct. Problem is module didnt sending any requests to my fms. As i said i can see the file names corrent on your module page.
is it right configuration for me ;? |
I see from this config your app name contains slash but from what you've said above it doesn't. could you reconfigure nginx with --with-debug & send me your log? |
2012/05/18 18:22:14 [error] 15234#0: *232 open() "/etc/nginx//html/fcs/ident2" failed (2: No such file or directory), client: 78.185.213.144, server: localhost, request: "POST /fcs/ident2 HTTP/1.1", host: "cdn02.test.com" |
this is not full debug log
then please try again & send log. Actually there CAN be a problem pushing to FMS from nginx-rtmp |
Okay you can download it from http://178.33.230.89:81/aaaa.tar.gz.changeme . you need to change extension tar.gz for open waiting your reply , thanks alot for helping. |
I see no publish requests in log. |
i am trying to get video from |
in this case you need to use 'pull' , not 'push' |
it tried to change that push to pull it is not working eighter and makes % 100 cpu usage |
show the log |
http://178.33.230.89/new.log.new you need to change extension tar.gz again. Thank you |
I tried to connect to your server with application name from the log but FMS says 'Invalid uri'. You probably changed server conf (or external connections are forbidden). Please run the server so that I could test the connection. I have nginx-rtmp version with updated handshake & more detailed logging for testing. |
Server ip address is 178.33.230.89 and port is 1935 . Application name is fullhd , you can test with that video detailed below : rtmp://178.33.230.89/fullhd//mp4:/Partli-Sistem/Clash.Of.The.Titans.2010.720p/Clash.Of.The.Titans.2010-p1.mp4 |
I've committed several updates to make pulling from FMS work. Please try the most recent code. On my laptop it worked (I saw the movie from your FMS in my flash player) but there were some problems which I think are caused by my network connection. |
Hi, Can you help me in this. |
Don't truncate framerate for MPEG-DASH
It gives error below:
nginx: [emerg] unknown directive "rtmp" in /etc/nginx/conf.d/rtmp.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx version: nginx/1.2.0
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
TLS SNI support disabled
configure arguments: --add-module=/usr/local/src/arut-nginx-rtmp-module/ --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-cc-opt='-O2 -g -m64 -mtune=generic'
content of rtmp.conf
rtmp {
server {
}
http {
}
The text was updated successfully, but these errors were encountered: