annotate xml/en/docs/http/ngx_http_flv_module.xml @ 351:a4fa80755eab

Consistently strip initial offset in examples.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Jan 2012 11:01:22 +0000
parents 197ac51e7f0e
children be54c443235a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
222
bfe3eff81d04 Removed redundant encoding specification.
Ruslan Ermilov <ru@nginx.com>
parents: 154
diff changeset
1 <?xml version="1.0"?>
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
2
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
3 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
4
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
5 <module name="Module ngx_http_flv_module"
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
6 link="/en/docs/http/ngx_http_flv_module.html"
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
7 lang="en">
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
9 <section id="summary">
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
10
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
11 <para>
271
4c6d2c614d2c Cleaned up XML tag mess:
Ruslan Ermilov <ru@nginx.com>
parents: 222
diff changeset
12 The module <literal>ngx_http_flv_module</literal> provides pseudo-streaming
154
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
13 server-side support for Flash Video (FLV) files.
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
14 </para>
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
15
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
16 <para>
271
4c6d2c614d2c Cleaned up XML tag mess:
Ruslan Ermilov <ru@nginx.com>
parents: 222
diff changeset
17 It handles requests with the <literal>start</literal> argument in
154
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
18 the request URI’s query string specially, by sending back the contents
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
19 of a file starting from the requested byte offset, and with the FLV
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
20 header prepended.
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
21 </para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
22
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
23 <para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
24 This module is not built by default, it should be enabled with the
271
4c6d2c614d2c Cleaned up XML tag mess:
Ruslan Ermilov <ru@nginx.com>
parents: 222
diff changeset
25 <literal>--with-http_flv_module</literal>
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
26 configuration parameter.
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
27 </para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
28
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
29 </section>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
30
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
31
320
197ac51e7f0e Changed attributes order.
Ruslan Ermilov <ru@nginx.com>
parents: 271
diff changeset
32 <section id="example" name="Example Configuration">
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
33
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
34 <para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
35 <example>
351
a4fa80755eab Consistently strip initial offset in examples.
Ruslan Ermilov <ru@nginx.com>
parents: 320
diff changeset
36 location ~ \.flv$ {
a4fa80755eab Consistently strip initial offset in examples.
Ruslan Ermilov <ru@nginx.com>
parents: 320
diff changeset
37 flv;
a4fa80755eab Consistently strip initial offset in examples.
Ruslan Ermilov <ru@nginx.com>
parents: 320
diff changeset
38 }
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
39 </example>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
40 </para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
41
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
42 </section>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
43
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
44
320
197ac51e7f0e Changed attributes order.
Ruslan Ermilov <ru@nginx.com>
parents: 271
diff changeset
45 <section id="directives" name="Directives">
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
46
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
47 <directive name="flv">
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
48 <syntax/>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
49 <default/>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
50 <context>location</context>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
51
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
52 <para>
154
dfc9d4338fef Rewording.
Ruslan Ermilov <ru@nginx.com>
parents: 151
diff changeset
53 Turns on module processing in a surrounding location.
151
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
54 </para>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
55
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
56 </directive>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
57
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
58 </section>
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
59
0188d11c77dd Initial translation of the ngx_http_flv_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
60 </module>