Skip to content
/ rtp Public

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

License

Notifications You must be signed in to change notification settings

PHP-WebRTC/rtp

RTP Library for PHP

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

About

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

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages