quasarstream / ice
A PHP implementation of WebRTC's RTC ICE interface for bidirectional peer-to-peer data communication.
Fund package maintenance!
php-webrtc
Requires
- php: ^8.4
- psr/log: ^3.0
- quasarstream/exception: ^1.0
- quasarstream/mdns: ^1.0
- quasarstream/stun: ^1.0
- quasarstream/turn: ^1.0
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/php-code-coverage: 11.0.x-dev
- phpunit/phpunit: ^11.3
This package is auto-updated.
Last update: 2025-05-13 19:47:56 UTC
README
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:
Credits
Authors
-
Amin Yazdanpanah
- Website: aminyazdanpanah.com
- Email: github@aminyazdanpanah.com
-
Sana Moniri
- GtiHub: sanamoniri
Reporting Issues
Found a bug? Please report it on our issues.
License
BSD 3-Clause License. See LICENSE for details.