# arut/nginx-rtmp-module

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/arut-nginx-rtmp-module).**

13,982 stars · 3,593 forks · C · bsd-2-clause

## Links

- GitHub: https://github.com/arut/nginx-rtmp-module
- Homepage: http://nginx-rtmp.blogspot.com
- awesome-repositories: https://awesome-repositories.com/repository/arut-nginx-rtmp-module.md

## Description

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.

## Tags

### Graphics & Multimedia

- [Video Streaming Servers](https://awesome-repositories.com/f/graphics-multimedia/video-streaming-servers.md) — Functions as a high-performance media engine that ingests, processes, and distributes real-time audio and video feeds.
- [Live Video Broadcasting](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/broadcasting-streaming/live-video-broadcasting.md) — Accepts incoming video feeds and distributes them to multiple connected viewers in real time. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))
- [Media Streaming](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming.md) — Provides a toolkit for authenticating, monitoring, and securing live video delivery through external callbacks and access controls.
- [Transcoders](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming/transcoders.md) — Provides on-the-fly conversion of live video streams into segmented formats for web-based delivery. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))
- [Video Streaming](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming/video-streaming.md) — Converts live video feeds into segmented formats compatible with standard web servers for smooth playback.
- [Media Transcoders](https://awesome-repositories.com/f/graphics-multimedia/video-production/video-editing/media-transcoders.md) — Converts incoming live streams into segmented formats for playback across modern web browsers.
- [Media Stream Processing](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing/streaming-network-frameworks/media-stream-processing.md) — Processes incoming media packets through event-driven callbacks triggered by stream lifecycle events.

### Artificial Intelligence & ML

- [HTTP Authentication Middleware](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/security-and-auth/authentication-strategies/request-handling/http-authentication-middleware.md) — Validates incoming stream ingestion and playback requests by triggering asynchronous HTTP callbacks to external authentication services. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))
- [Authentication Callbacks](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/security-and-auth/authentication-strategies/request-handling/http-authentication-middleware/authentication-callbacks.md) — Validates client requests via asynchronous HTTP queries to external services before allowing stream ingestion or playback.

### Data & Databases

- [Stream Relays](https://awesome-repositories.com/f/data-databases/real-time-data-streaming/stream-relays.md) — Synchronizes and relays media streams between remote servers to ensure content availability across distributed nodes. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))

### Networking & Communication

- [IP Address Filters](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-filtering/ip-address-filters.md) — Controls access to media streams by validating client IP addresses or subnets against defined allow-deny lists. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))

### Security & Cryptography

- [Stream Access Restrictions](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/authorization-and-user-administration/access-control-authorization/import-access-authorizers/stream-access-restrictions.md) — Validates user permissions and network addresses through external services to secure media delivery.
- [Stream Segment Encryption](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection/data-encryption/end-to-end-encryption/media-encryption/stream-segment-encryption.md) — Secures HLS stream segments using AES-128 encryption to protect media content during delivery. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))

### Content Management & Publishing

- [Stream Recorders](https://awesome-repositories.com/f/content-management-publishing/media-management/live-streaming-platforms/stream-recorders.md) — Saves incoming video and audio content to local files by capturing full streams or specific components. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))

### DevOps & Infrastructure

- [Connection Termination](https://awesome-repositories.com/f/devops-infrastructure/client-connectivity-tools/connection-termination.md) — Enforces access control and manages server capacity by actively disconnecting specific publishers or subscribers. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Control-module))

### System Administration & Monitoring

- [Event-Driven I/O](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/linux-system-administration/networking/connection-lifecycle-management/parallel-network-i-o/event-driven-i-o.md) — Integrates with the host server event loop to handle high-concurrency network I/O without blocking the main thread.
- [Stream Statistics Endpoints](https://awesome-repositories.com/f/system-administration-monitoring/task-status-monitors/stream-status-monitors/stream-statistics-endpoints.md) — Exposes real-time stream and connection data through an HTTP endpoint for integration with monitoring dashboards. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Directives))

### Web Development

- [Stream Redirection](https://awesome-repositories.com/f/web-development/dynamic-redirect-managers/stream-redirection.md) — Forces active publishers or subscribers to switch to a different stream name dynamically without requiring manual client reconnection. ([source](https://github.com/arut/nginx-rtmp-module/wiki/Control-module))
