First of all, to use new module, you should (re)complile nginx with –with-http_flv_module option:
CODE:
# ./configure --with-http_flv_module ...SOME-OTHER-OPTS...Next your action should be activation of flv streaming module for your flv files in nginx.conf:CODE:
...
http {
...
server {
...
location ~ \.flv$ {
flv;
}
...
}
...
}This option will instruct nginx to add special “header” informationto data stream if user asked for some flv file and passed parameter“?start=XXX”, which means “give me that flv file from byte XXX to theend of file” (this is the idea of flv streaming).
Last your action, if it was not done before, should be conversion ofyour video files to FLV format and adding meta info to your created flvfiles. You can read how to do it in my previous post.
As always, I want to ask you, if you like this post, support it on Digg.com
From: http://blog.kovyrin.net/2006/10/ ... lv-streaming-nginx/