annotate xml/ru/docs/http/ngx_http_hls_module.xml @ 1128:1594ed379f1f

De-i18n'ed <commercial_version/>. Now the text of a link has to be written verbatim.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 21 Mar 2014 13:15:42 +0400
parents 65bc9d1ec234
children 3c6d351a1eef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1111
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
1 <?xml version="1.0"?>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
2
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
3 <!--
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
4 Copyright (C) Nginx, Inc.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
5 -->
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
6
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
8
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
9 <module name="Module ngx_http_hls_module"
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
10 link="/ru/docs/http/ngx_http_hls_module.html"
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
11 lang="ru"
1115
65bc9d1ec234 MP4 and HLS: updated the "buffer size" phrase for _buffer_size directives.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1111
diff changeset
12 rev="2">
1111
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
13
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
14 <section id="summary">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
15
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
16 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
17 Модуль <literal>ngx_http_hls_module</literal> обеспечивает серверную поддержку
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
18 протокола HTTP Live Streaming (HLS) для файлов в формате H.264/AAC.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
19 Такие файлы обычно имеют расширения
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
20 <path>.mp4</path>, <path>.m4v</path> и <path>.m4a</path>.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
21 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
22
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
23 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
24 nginx поддерживает два вида URI для каждого MP4-файла:
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
25 <list type="bullet">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
26
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
27 <listitem>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
28 URI плейлиста, имеющий расширение “<literal>.m3u8</literal>” и принимающий
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
29 необязательный параметр “<literal>len</literal>”,
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
30 который задаёт длину фрагмента в секундах;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
31 </listitem>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
32
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
33 <listitem>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
34 URI фрагмента, имеющий расширение “<literal>.ts</literal>” и принимающий
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
35 аргументы “<literal>start</literal>” и “<literal>end</literal>”, которые
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
36 задают границы фрагмента в секундах.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
37 </listitem>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
38
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
39 </list>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
40 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
41
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
42 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
43 <note>
1128
1594ed379f1f De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents: 1115
diff changeset
44 Модуль доступен как часть
1594ed379f1f De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents: 1115
diff changeset
45 <commercial_version>коммерческой подписки</commercial_version>.
1111
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
46 </note>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
47 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
48
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
49 </section>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
50
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
51
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
52 <section id="example" name="Пример конфигурации">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
53
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
54 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
55 <example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
56 location /video/ {
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
57 hls;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
58 hls_fragment 5s;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
59 hls_buffers 10 10m;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
60 hls_mp4_buffer_size 1m;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
61 hls_mp4_max_buffer_size 5m;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
62 alias /var/video/;
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
63 }
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
64 </example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
65 В такой конфигурации для файла “<path>/var/video/test.mp4</path>”
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
66 будут поддерживаться следующие URI:
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
67 <example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
68 http://hls.example.com/video/test.mp4.m3u8?len=8.000
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
69 http://hls.example.com/video/test.mp4.ts?start=1.000&amp;end=2.200
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
70 </example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
71 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
72
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
73 </section>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
74
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
75
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
76 <section id="directives" name="Директивы">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
77
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
78 <directive name="hls">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
79 <syntax/>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
80 <default/>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
81 <context>location</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
82
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
83 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
84 Включает HLS-поток во вложенном location.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
85 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
86
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
87 </directive>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
88
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
89
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
90 <directive name="hls_buffers">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
91 <syntax><value>число</value> <value>размер</value></syntax>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
92 <default>8 2m</default>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
93 <context>http</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
94 <context>server</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
95 <context>location</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
96
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
97 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
98 Задаёт максимальное <value>число</value> и <value>размер</value> буферов,
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
99 которые используются для чтения и записи блоков данных.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
100 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
101
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
102 </directive>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
103
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
104
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
105 <directive name="hls_fragment">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
106 <syntax><value>время</value></syntax>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
107 <default>5s</default>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
108 <context>http</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
109 <context>server</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
110 <context>location</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
111
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
112 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
113 Задаёт длину фрагмента по умолчанию для всех URI в плейлисте,
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
114 запрошенных без аргумента “<literal>len</literal>”.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
115 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
116
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
117 </directive>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
118
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
119
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
120 <directive name="hls_mp4_buffer_size">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
121 <syntax><value>размер</value></syntax>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
122 <default>512k</default>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
123 <context>http</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
124 <context>server</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
125 <context>location</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
126
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
127 <para>
1115
65bc9d1ec234 MP4 and HLS: updated the "buffer size" phrase for _buffer_size directives.
Yaroslav Zhuravlev <yar@nginx.com>
parents: 1111
diff changeset
128 Задаёт начальный <value>размер</value> буфера, используемого для
1111
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
129 обработки MP4-файлов.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
130 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
131
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
132 </directive>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
133
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
134
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
135 <directive name="hls_mp4_max_buffer_size">
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
136 <syntax><value>размер</value></syntax>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
137 <default>10m</default>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
138 <context>http</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
139 <context>server</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
140 <context>location</context>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
141
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
142 <para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
143 В ходе обработки метаданных может понадобиться буфер большего размера.
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
144 Его <value>размер</value> не может превышать указанного,
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
145 иначе nginx вернёт серверную ошибку
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
146 <http-status code="500" text="Internal Server Error"/>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
147 и запишет в лог следующее сообщение:
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
148 <example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
149 "/some/movie/file.mp4" mp4 moov atom is too large:
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
150 12583268, you may want to increase hls_mp4_max_buffer_size
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
151 </example>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
152 </para>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
153
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
154 </directive>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
155
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
156 </section>
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
157
9c766ddc3535 HLS: Translated the "http_ngx_http_hls_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
diff changeset
158 </module>