# coturn/coturn

**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/coturn-coturn).**

13,637 stars · 2,203 forks · C · other

## Links

- GitHub: https://github.com/coturn/coturn
- awesome-repositories: https://awesome-repositories.com/repository/coturn-coturn.md

## Topics

`networking` `server` `turn`

## Description

Coturn is a network server that facilitates peer-to-peer media traffic for real-time communication applications. It functions as a relay platform for voice, video, and data transmission, enabling direct connections between clients located behind restrictive firewalls and network address translators.

The server implements standard network traversal protocols to manage media packet exchange and client authentication. It utilizes a multi-threaded architecture and event-driven polling to handle high-throughput traffic, while employing hash-based message authentication codes to verify client identity and secure access to relay services.

The platform includes a modular interface for persistent storage of credentials and server state across various database backends. It also provides integrated monitoring capabilities to track traffic volume, connection status, and operational health metrics, allowing for the identification of performance bottlenecks in distributed communication environments.

## Tags

### Networking & Communication

- [Relay Server Infrastructures](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-and-server-infrastructure/relay-server-infrastructures.md) — Facilitates peer-to-peer media traffic for real-time communication applications by traversing restrictive firewalls and NATs.
- [Real-Time Communication Systems](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-computing/communication-protocols/real-time-messaging-frameworks/real-time-communication-systems.md) — Manages backend relay services required to facilitate low-latency data transmission for interactive voice and video applications.
- [Peer-to-Peer Networking](https://awesome-repositories.com/f/networking-communication/peer-to-peer-networking.md) — Implements standard network traversal protocols to facilitate direct peer-to-peer media exchange between clients behind restrictive firewalls.
- [Peer-to-Peer Streaming](https://awesome-repositories.com/f/networking-communication/peer-to-peer-streaming.md) — Exchanges media packets between clients behind restrictive firewalls to establish direct peer-to-peer communication. ([source](https://github.com/coturn/coturn/tree/master/docs/))
- [Event-Driven Networking](https://awesome-repositories.com/f/networking-communication/event-driven-networking.md) — Uses a non-blocking event loop to manage concurrent socket connections and high-throughput media packet relaying.

### Web Development

- [WebRTC Facilitators](https://awesome-repositories.com/f/web-development/webrtc-configurations/real-time-media-servers/webrtc-facilitators.md) — Establishes direct peer-to-peer voice and video connections between users separated by restrictive firewalls or network address translators.
- [Real-Time Media Servers](https://awesome-repositories.com/f/web-development/webrtc-configurations/real-time-media-servers.md) — Manages media packet exchange and client authentication for real-time communication services.

### Security & Cryptography

- [Authentication Clients](https://awesome-repositories.com/f/security-cryptography/authentication-clients.md) — Validates user credentials and session tokens to ensure only authorized clients access relay services. ([source](https://github.com/coturn/coturn/tree/master/docs/))
- [Network Access Control](https://awesome-repositories.com/f/security-cryptography/network-access-control.md) — Authenticates client requests and manages user credentials to ensure only authorized devices access relay services.
- [Credential Authentication](https://awesome-repositories.com/f/security-cryptography/authentication-clients/credential-authentication.md) — Enforces hash-based message authentication codes for secure client access to relay services.

### Software Engineering & Architecture

- [Database Abstraction Layers](https://awesome-repositories.com/f/software-engineering-architecture/database-abstraction-layers.md) — Provides a modular interface layer for persistent storage of credentials and server state across various database backends.

### DevOps & Infrastructure

- [Thread Scaling](https://awesome-repositories.com/f/devops-infrastructure/process-scaling/thread-scaling.md) — Distributes incoming network traffic across multiple worker threads to maximize CPU utilization and maintain low latency.

### System Administration & Monitoring

- [Server Metrics](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/server-metrics.md) — Tracks traffic volume and operational health metrics to identify bottlenecks in distributed communication environments.
- [Server Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/server-health-monitoring.md) — Tracks traffic volume, connection status, and operational statistics to identify performance bottlenecks and maintain reliable service. ([source](https://github.com/coturn/coturn/tree/master/docs/))
