Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_hls_module.xml @ 1497:6650933c46d4
Corrected language and formatting in the hls module.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 27 May 2015 20:01:22 +0300 |
parents | ad8a1fae0b72 |
children | 5cacd6fffade |
comparison
equal
deleted
inserted
replaced
1496:99ce48c8cce3 | 1497:6650933c46d4 |
---|---|
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_hls_module</literal> module provides HTTP Live Streaming | 17 The <literal>ngx_http_hls_module</literal> module provides HTTP Live Streaming |
18 (HLS) server-side support for MP4 and MOV media files. | 18 (HLS) server-side support for MP4 and MOV media files. |
19 Such files typically have the <path>.mp4</path>, <path>.m4v</path>, | 19 Such files typically have the <path>.mp4</path>, <path>.m4v</path>, |
20 <path>.m4a</path>, <path>.mov</path> or <path>.qt</path> file extensions. | 20 <path>.m4a</path>, <path>.mov</path>, or <path>.qt</path> filename extensions. |
21 The module supports H.264 video codec, AAC and MP3 audio codecs. | 21 The module supports H.264 video codec, AAC and MP3 audio codecs. |
22 </para> | 22 </para> |
23 | 23 |
24 <para> | 24 <para> |
25 For each media file, two types of URI are supported: | 25 For each media file, two URIs are supported: |
26 <list type="bullet"> | 26 <list type="bullet"> |
27 | 27 |
28 <listitem> | 28 <listitem> |
29 a playlist URI with the “<literal>.m3u8</literal>” file extension. | 29 A playlist URI with the “<literal>.m3u8</literal>” filename extension. |
30 The URI can accept optional arguments: | 30 The URI can accept optional arguments: |
31 <list type="bullet"> | 31 <list type="bullet"> |
32 | 32 |
33 <listitem> | 33 <listitem> |
34 “<literal>start</literal>” and “<literal>end</literal>” | 34 “<literal>start</literal>” and “<literal>end</literal>” |
35 define playlist boundaries in seconds (1.9.0); | 35 define playlist boundaries in seconds (1.9.0). |
36 </listitem> | 36 </listitem> |
37 | 37 |
38 <listitem> | 38 <listitem> |
39 “<literal>offset</literal>” shifts an initial playback position | 39 “<literal>offset</literal>” shifts an initial playback position |
40 to the time offset in seconds (1.9.0). | 40 to the time offset in seconds (1.9.0). |
41 A positive value sets a time offset from the beginning of the playlist. | 41 A positive value sets a time offset from the beginning of the playlist. |
42 A negative value sets a time offset | 42 A negative value sets a time offset |
43 from the end of the last fragment in the playlist; | 43 from the end of the last fragment in the playlist. |
44 </listitem> | 44 </listitem> |
45 | 45 |
46 <listitem> | 46 <listitem> |
47 “<literal>len</literal>” defines the fragment length in seconds, | 47 “<literal>len</literal>” defines the fragment length in seconds. |
48 </listitem> | 48 </listitem> |
49 </list> | 49 </list> |
50 | 50 |
51 </listitem> | 51 </listitem> |
52 | 52 |
53 <listitem> | 53 <listitem> |
54 a fragment URI with the “<literal>.ts</literal>” file extension. | 54 A fragment URI with the “<literal>.ts</literal>” filename extension. |
55 The URI can accept optional | 55 The URI can accept optional arguments: |
56 “<literal>start</literal>” and “<literal>end</literal>” arguments that | 56 <list type="bullet"> |
57 | |
58 <listitem> | |
59 “<literal>start</literal>” and “<literal>end</literal>” | |
57 define fragment boundaries in seconds. | 60 define fragment boundaries in seconds. |
61 </listitem> | |
62 | |
63 </list> | |
58 </listitem> | 64 </listitem> |
59 | 65 |
60 </list> | 66 </list> |
61 </para> | 67 </para> |
62 | 68 |