danog / php-rtc-stats
WebRTC statistics objects for RTP, DTLS, ICE, and media metrics. MadelineProto's PHP 8.2+ fork supports the modular danog/php-rtc stack.
Requires
- php: ^8.2
- danog/php-rtc-ice: ^v1.0
- danog/php-rtc-mixin: ^v1.0
README
A PHP implementation of the WebRTC Statistics API for tracking RTP, DTLS, and media performance metrics.
About this fork
This is the danog/php-rtc-stats PHP 8.2+ fork used by MadelineProto. It is published under the danog/php-rtc-stats Composer package name.
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
- Collect real-time stats from WebRTC components
- Export stats as structured PHP arrays
- Supports timing, packet counters, jitter, and loss metrics
- Designed to match W3C Stats specification
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: 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.