Streaming flv files
Igor Sysoev
is at rambler-co.ru
Fri Jun 20 09:18:38 MSD 2008
On Fri, Jun 20, 2008 at 03:00:22AM +0200, Thomas wrote:
> Hi,
>
> I am using the following flash player and Nginx 0.6.3:
> http://www.jeroenwijering.com/?item=JW_FLV_Media_Player
>
> with his example video in the banner. Everything works fine when I
> don't use flv_module, but as soom as I activate it, the video doesn't
> play anymore.
>
> Where could that come from?
>
> I also tested this flash player:
> http://bluebird.univ-reunion.fr/fms/proto/flv-stream-player/, and it
> doesn't work any better.
>
> Here is my Nginx configuration file:
> ---
> #user thomas;
> worker_processes 1;
>
> events {
> worker_connections 1024;
> }
>
> http {
> include mime.types;
> default_type application/octet-stream;
>
> server {
> listen 80;
> set $limit_rate 10k;
>
> error_log /Users/thomas/flv_stream/flv_stream.log notice;
>
> location / {
> root /Users/thomas/flv_stream;
> index index.html;
> } # End of location
>
> location ~ \.flv$ {
> flv;
> } # End of location
>
> } # End of server
> }
Look in an error_log. Probably you need to add "root":
location ~ \.flv$ {
root /Users/thomas/flv_stream;
flv;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list