danog / php-rtc-rtcp
Pure-PHP RTCP packet parsing and generation. MadelineProto's PHP 8.2+ fork fixes unsigned NTP handling and integrates with the modular danog/php-rtc stack.
Fund package maintenance!
Requires
- php: ^8.2
- danog/php-rtc-exception: ^1.0
Requires (Dev)
- phpunit/phpunit: ^11.3
README
A pure PHP implementation of RTP Control Protocol (RTCP) packet parsing and generation, compliant with RFC 3550 and related specifications.
About this fork
This is the danog/php-rtc-rtcp fork used by MadelineProto. It targets PHP 8.2+ and fixes sender-report comparisons for unsigned 64-bit NTP timestamps.
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
- Complete RTCP packet support:
- Sender Reports (SR)
- Receiver Reports (RR)
- Source Description (SDES)
- Goodbye (BYE)
- Application-Defined (APP)
- Transport Layer Feedback (RTPFB)
- Payload-Specific Feedback (PSFB)
- Zero dependencies
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.