Download the PHP package danog/php-rtc-turn without Composer
On this page you can find all versions of the php package danog/php-rtc-turn. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danog/php-rtc-turn
More information about danog/php-rtc-turn
Files in danog/php-rtc-turn
Package php-rtc-turn
Short Description TURN relay transport for PHP WebRTC, ported to Amp v3 TCP, UDP, and fibers. MadelineProto's PHP 8.2+ fork supports the modular danog/php-rtc stack.
License BSD-3-Clause
Homepage https://github.com/danog/php-rtc-turn
Informations about the package php-rtc-turn
TURN Library for PHP
A PHP implementation of TURN (Traversal Using Relays around NAT) to facilitate NAT traversal for WebRTC by relaying media through a TURN server when peer-to-peer fails.
About this fork
This is the danog/php-rtc-turn fork used by MadelineProto. It targets PHP 8.2+ and replaces ReactPHP with Amp v3 TCP/UDP sockets, blocking fiber APIs, and per-peer channel-bind coordination. Receive handlers run independently so nested TURN/STUN transactions cannot block their own replies.
All internal Composer dependencies use their danog/php-rtc-* package names directly, so installing a component selects the maintained danog packages throughout the dependency graph.
Features
- Encode and decode TURN allocation and channel messages
- Relay address allocation
- Integrates with STUN and ICE workflows
- Message integrity and credential verification
Requirements
- PHP ≥ 8.2
Documentation
This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:
Credits
Authors
-
Amin Yazdanpanah
- Website: aminyazdanpanah.com
- Email: [email protected]
- Sana Moniri
- GtiHub: sanamoniri
Reporting Issues
Found a bug? Please report it on our issues.
License
BSD 3-Clause License. See LICENSE for details.
References
All versions of php-rtc-turn with dependencies
amphp/amp Version ^3.1.3
amphp/socket Version ^2.4.1
psr/log Version ^3.0.2
danog/php-rtc-exception Version ^1.1.5
danog/php-rtc-mixin Version ^2.0
danog/php-rtc-stun Version ^2.0