# HG changeset patch # User Yaroslav Zhuravlev # Date 1432746082 -10800 # Node ID 6650933c46d46ae81ce338bfea57e024c38b3bc8 # Parent 99ce48c8cce30f4b4e94b5537ed24950e94d6d1f Corrected language and formatting in the hls module. diff -r 99ce48c8cce3 -r 6650933c46d4 xml/en/docs/http/ngx_http_hls_module.xml --- a/xml/en/docs/http/ngx_http_hls_module.xml Wed May 27 18:30:48 2015 +0300 +++ b/xml/en/docs/http/ngx_http_hls_module.xml Wed May 27 20:01:22 2015 +0300 @@ -17,22 +17,22 @@ The ngx_http_hls_module module provides HTTP Live Streaming (HLS) server-side support for MP4 and MOV media files. Such files typically have the .mp4, .m4v, -.m4a, .mov or .qt file extensions. +.m4a, .mov, or .qt filename extensions. The module supports H.264 video codec, AAC and MP3 audio codecs. -For each media file, two types of URI are supported: +For each media file, two URIs are supported: -a playlist URI with the “.m3u8” file extension. +A playlist URI with the “.m3u8” filename extension. The URI can accept optional arguments: start” and “end” -define playlist boundaries in seconds (1.9.0); +define playlist boundaries in seconds (1.9.0). @@ -40,24 +40,30 @@ to the time offset in seconds (1.9.0). A positive value sets a time offset from the beginning of the playlist. A negative value sets a time offset -from the end of the last fragment in the playlist; +from the end of the last fragment in the playlist. -“len” defines the fragment length in seconds, +“len” defines the fragment length in seconds. -a fragment URI with the “.ts” file extension. -The URI can accept optional -“start” and “end” arguments that +A fragment URI with the “.ts” filename extension. +The URI can accept optional arguments: + + + +“start” and “end” define fragment boundaries in seconds. + + + diff -r 99ce48c8cce3 -r 6650933c46d4 xml/ru/docs/http/ngx_http_hls_module.xml --- a/xml/ru/docs/http/ngx_http_hls_module.xml Wed May 27 18:30:48 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_hls_module.xml Wed May 27 20:01:22 2015 +0300 @@ -16,23 +16,23 @@ Модуль ngx_http_hls_module обеспечивает серверную поддержку протокола HTTP Live Streaming (HLS) для медиафайлов в формате MP4 и MOV. -Такие файлы обычно имеют расширения .mp4, .m4v +Такие файлы обычно имеют расширения .mp4, .m4v, .m4a, .mov или .qt. -Модуль поддерживает видеокодек H.264, аудиокодеки AAC и MP3. +Модуль поддерживает видеокодек H.264, а также аудиокодеки AAC и MP3. -Для каждого медиафайла поддерживается два вида URI: +Для каждого медиафайла поддерживается два URI: -URI плейлиста, имеющего расширение “.m3u8”. +URI плейлиста, имеющий расширение “.m3u8”. URI может принимать необязательные аргументы: start” и “end” -задают границы плейлиста в секундах (1.9.0); +задают границы плейлиста в секундах (1.9.0). @@ -40,24 +40,30 @@ на указанное время в секундах (1.9.0). Положительное значение задаёт временной сдвиг с начала плейлиста. Отрицательное значение задаёт временной сдвиг с конца последнего фрагмента -в плейлисте; +в плейлисте. -“len” задаёт длину фрагмента в секундах, +“len” задаёт длину фрагмента в секундах. -URI фрагмента, имеющего расширение “.ts”. -URI может принимать необязательные -аргументы “start” и “end”, которые +URI фрагмента, имеющий расширение “.ts”. +URI может принимать необязательные аргументы: + + + +“start” и “end” задают границы фрагмента в секундах. + + + @@ -240,7 +246,7 @@ Задаёт начальный размер буфера, используемого для -обработки MP4 и MOV-файлов. +обработки MP4- и MOV-файлов.