Download the PHP package danog/php-rtc-rtp without Composer
On this page you can find all versions of the php package danog/php-rtc-rtp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danog/php-rtc-rtp
More information about danog/php-rtc-rtp
Files in danog/php-rtc-rtp
Package php-rtc-rtp
Short Description RTP packet and media transport handling for PHP, ported to Amp v3. MadelineProto's PHP 8.2+ fork supports optional media FFI in the modular danog/php-rtc stack.
License BSD-3-Clause
Homepage https://github.com/danog/php-rtc-rtp
Informations about the package php-rtc-rtp
RTP Library for PHP
A PHP library for handling RTP (Real-time Transport Protocol) packets. This package provides tools for encoding, decoding, parsing, and analyzing RTP streams—useful for WebRTC, VoIP, and media streaming applications.
About this fork
This is the danog/php-rtc-rtp fork used by MadelineProto. It targets PHP 8.2+, ports media scheduling from ReactPHP promises to Amp v3 fibers and Revolt timers, avoids busy-loop polling, and reports voice activity through the negotiated RTP audio-level extension. Already-encoded media can be packetized without FFI.
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
- Encode and decode RTP packets
- Extract RTP header fields
- Support for common RTP payload types
Requirements
- PHP ≥ 8.2
- FFI and native codec libraries only when encoding, decoding, or transcoding media
- Linux (Windows and macOS support planned for future releases)
- FFmpeg/libav shared libraries (libavcodec, libavfilter, etc.)
- Compatible with FFmpeg version 7.1.1
- libopus development libraries
- libvpx development libraries
- Compatible with libvpx version 1.15.0
Documentation
This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:
Credits
Authors
-
Daniil Gentili
-
Amin Yazdanpanah
- Website: aminyazdanpanah.com
- Email: [email protected]
- Sana Moniri
- GtiHub: sanamoniri
Reporting Issues
Found a bug? Please report it on our issues.
License
BSD 3-Clause License. See LICENSE for details.
References
-
RFC 3550 - RTP: A Transport Protocol for Real-Time Applications
-
RFC 3551 – RTP Profile for Audio and Video Conferences with Minimal Control
-
RFC 4585 – Extended RTP Profile for RTCP-Based Feedback (RTP/AVPF)
-
RFC 8285 – RTP Header Extension for Mid and RID (used in WebRTC)
- RFC 5761 – Multiplexing RTP and RTCP on a Single Port
All versions of php-rtc-rtp with dependencies
amphp/amp Version ^3.1.3
danog/php-rtc-exception Version ^1.1.5
danog/php-rtc-codecs Version ^1.1.18
danog/php-rtc-rtp-parameter Version ^1.1.4
danog/php-rtc-rtcp Version ^1.1.4
danog/php-rtc-stats Version ^1.1.3
danog/php-rtc-ntp Version ^1.1.14
danog/php-rtc-sdp Version ^1.1.6
danog/php-rtc-mixin Version ^2.0
ramsey/uuid Version ^4.9.3
amphp/pipeline Version ^1.2.7
symfony/polyfill-php83 Version *