A PHP implementation of TURN (Traversal Using Relays around NAT)

Fund package maintenance!
php-webrtc

v1.0.0 2025-05-13 18:50 UTC

This package is auto-updated.

Last update: 2025-05-13 18:53:24 UTC


README

PHP Version License

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.

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.4

Documentation

This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:

PHP WebRTC Documentation

Credits

Authors

Reporting Issues

Found a bug? Please report it on our issues.

License

BSD 3-Clause License. See LICENSE for details.

References