flv

This module provides the ability to seek within FLV (Flash) files using time-based offsets.

本模块提供FLV文件加载基于时间位移.

Module ngx_http_flv_module offers special handling of files it handles:

模块ngx_http_flv_module提供特殊处理的文件,它处理:

  • adds FLV header to the requested file;
  • 添加 FLV 头请求的文件;
  • transfers file, beginning from the displacement, specified in the request argument start=XXX.
  • 传输文件,从开始的位移,在请求参数中指定 start=XXX.

This module is not compiled by default and must be specified using the —with-http_flv_module argument to configure when compiling Nginx.

本模块必需在编译nginx时加上—with-http_flv_module.

例如:

  1. location ~ \.flv$ {
  2. flv;
  3. }