From 1975da6e15c69b92706032739ef828cb1b912dde Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Tue, 3 Feb 2026 16:46:38 +0800 Subject: [PATCH] docs: add pre-built Ubuntu/Debian package installation instructions --- README.rst | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index b32e846..1e37a02 100644 --- a/README.rst +++ b/README.rst @@ -6,6 +6,31 @@ NGINX MPEG-TS Live Module .. contents:: +Pre-built Packages (Ubuntu / Debian) +==================================== + +Pre-built packages for this module are freely available from the GetPageSpeed repository: + +.. code-block:: bash + + # Install the repository keyring + sudo install -d -m 0755 /etc/apt/keyrings + curl -fsSL https://extras.getpagespeed.com/deb-archive-keyring.gpg \ + | sudo tee /etc/apt/keyrings/getpagespeed.gpg >/dev/null + + # Add the repository (Ubuntu example - replace 'ubuntu' and 'jammy' for your distro) + echo "deb [signed-by=/etc/apt/keyrings/getpagespeed.gpg] https://extras.getpagespeed.com/ubuntu jammy main" \ + | sudo tee /etc/apt/sources.list.d/getpagespeed-extras.list + + # Install nginx and the module + sudo apt-get update + sudo apt-get install nginx nginx-module-ts + +The module is automatically enabled after installation. Supported distributions include +Debian 12/13 and Ubuntu 20.04/22.04/24.04 (both amd64 and arm64). +See `the complete setup instructions `_. + + Features ======== @@ -54,7 +79,7 @@ For example, if the URI is ``/foo/bar/baz``, the stream name is ``baz``. A simple way to stream MPEG-TS over HTTP is by running ``ffmpeg``: .. code-block:: bash - + $ ffmpeg ... -f mpegts http://127.0.0.1:8000/foo