/stats

A PHP implementation of the WebRTC Statistics API for tracking RTP, DTLS, and media performance metrics.

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Stats Library for PHP WebRTC

PHP Version License

A PHP implementation of the WebRTC Statistics API for tracking RTP, DTLS, and media performance metrics.

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