The NGINX RTMP module is a server-side extension that functions as a live video streaming engine. It enables the ingestion, processing, and distribution of real-time audio and video feeds, supporting both RTMP and HLS protocols to facilitate media delivery to multiple clients.
The module distinguishes itself by integrating directly into the host server event loop, allowing for high-concurrency network input and output without blocking the main thread. It provides a toolkit for managing media streams through event-driven callbacks, which can trigger external process invocations for custom transcoding workflows or perform asynchronous HTTP queries to validate client requests before allowing stream ingestion or playback.
The software includes a broad range of infrastructure capabilities, such as segmented media packaging for web-based delivery, remote stream relay for synchronization across distributed nodes, and live stream recording to local storage. It also offers administrative controls for monitoring connection statistics, managing active client sessions through dynamic redirection or termination, and securing content via IP-based access restrictions and fragment encryption.