Welcome! Log In Create A New Profile

Advanced

What is the optimized configuration for FLV stream

January 26, 2011 11:44PM
Hi,

I'm configing a http(pseudo)-stream server for flv media files. As a newcomer to Nginx, I'm wondering what is the special configuration should I care about on performance/throughput etc. The following is my current config which is straightforward:
[code]
# My Stream media(flv) server

server {

listen 80;

server_name vd.my.domain;

default_type application/octet-stream;

sendfile on;

root /path/to/flv/files/

location ~* \.flv$ {
flv;
}
}
[/code]

I fount some points in this post "[url=http://forum.nginx.org/read.php?2,77934,77934]nginx slow at streaming flv[/url]", but it's seemed a bit old and some directives not available in the latest nginx version . Any suggestion ?

Especially, according to the post mentioned above, should I turn off the [b]sendfile[/b] ? shoud it be better to using [b]directio[/b] and [b]read_ahead[/b] ? or should I put another Nginx instance in front of this one to proxy it to use the proxy cache ability of nginx? I know the best way is to test by myself, but a right direction guide will help me a lot.
Subject Author Posted

What is the optimized configuration for FLV stream

john.wang507 January 26, 2011 11:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready