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.

Maintainers

Package info

github.com/danog/php-rtc-rtcp

pkg:composer/danog/php-rtc-rtcp

Transparency log

Fund package maintenance!

php-webrtc

Statistics

Installs: 47

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-08-25 18:48 UTC

This package is auto-updated.

Last update: 2026-08-27 18:04:00 UTC


README

PHP Version License

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:

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