A PHP library for handling RTP (Real-time Transport Protocol) packets.

Package info

github.com/PHP-WebRTC/rtp

Homepage

pkg:composer/quasarstream/rtp

Fund package maintenance!

php-webrtc

Statistics

Installs: 1 203

Dependents: 2

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.0 2025-05-14 15:41 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 4fbaab459dc8658b918260ef466eb42ab244a887

  • Amin Yazdanpanah <github.woop@aminyazdanpanah.com>
  • Sana Moniri <s.mo.woop@quasarstream.com>
  • Quasar Stream Community

WebRTCrtpreal-time-transport-protocol

This package is auto-updated.

Last update: 2026-06-14 18:55:48 UTC


README

πŸ‘ PHP Version
πŸ‘ License

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.

Features

  • Encode and decode RTP packets
  • Extract RTP header fields
  • Support for common RTP payload types

Requirements

  • PHP β‰₯ 8.4 with FFI extension enabled
  • 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:

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