A PHP implementation of WebRTC's RTC ICE interface for bidirectional peer-to-peer data communication.

v1.0.0 2025-05-13 19:44 UTC

This package is auto-updated.

Last update: 2025-05-13 19:47:56 UTC


README

PHP Version License

A PHP implementation of the Interactive Connectivity Establishment (ICE) protocol for WebRTC. This library helps establish peer-to-peer connectivity by handling candidate gathering, prioritization, connectivity checks, and consent freshness.

Features

  • STUN and TURN support (RFC 5389 / RFC 5766)
  • Host, server-reflexive, relayed, and peer-reflexive candidates
  • Candidate prioritization and pair selection
  • ICE connectivity checks using STUN Binding Requests
  • Consent freshness mechanism
  • ICE Lite mode (optional)
  • IPv4 and IPv6 support

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.