Mercurial > hg > nginx-site
comparison xml/cn/docs/http/ngx_http_flv_module.xml @ 792:ceb8a4e374b7
Updated the Chinese documentation.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Dec 2012 06:34:37 +0000 |
parents | |
children | 9f9a427a73eb |
comparison
equal
deleted
inserted
replaced
791:15f2bab0740d | 792:ceb8a4e374b7 |
---|---|
1 <?xml version="1.0"?> | |
2 | |
3 <!-- | |
4 Copyright (C) Igor Sysoev | |
5 Copyright (C) Nginx, Inc. | |
6 --> | |
7 | |
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | |
9 | |
10 <module name="ngx_http_flv_module 模块" | |
11 link="/en/docs/http/ngx_http_flv_module.html" | |
12 lang="cn" | |
13 translator="litianqing" | |
14 rev="1"> | |
15 | |
16 <section id="summary"> | |
17 | |
18 <para> | |
19 模块<literal>ngx_http_flv_module </literal> 为Flash Video(FLV)文件 | |
20 提供服务端伪流媒体支持 | |
21 </para> | |
22 | |
23 <para> | |
24 通过返回以请求偏移位置开始的文件内容,该模块专门处理 | |
25 在查询串中有<literal>start</literal>参数的请求, | |
26 和有预先设置到FLV头部的请求。 | |
27 </para> | |
28 | |
29 <para> | |
30 这个模块并不是默认构建的,必须通过配置参数 | |
31 <literal>--with-http_flv_module</literal> | |
32 来启用。 | |
33 </para> | |
34 | |
35 </section> | |
36 | |
37 | |
38 <section id="example" name="配置范例"> | |
39 | |
40 <para> | |
41 <example> | |
42 location ~ \.flv$ { | |
43 flv; | |
44 } | |
45 </example> | |
46 </para> | |
47 | |
48 </section> | |
49 | |
50 | |
51 <section id="directives" name="指令"> | |
52 <directive name="flv"> | |
53 <syntax/> | |
54 <default/> | |
55 <context>location</context> | |
56 | |
57 <para> | |
58 在当前location里使用这个模块处理请求。 | |
59 </para> | |
60 | |
61 </directive> | |
62 | |
63 </section> | |
64 | |
65 </module> |