|
3 | 3 | [](https://php.net/)
|
4 | 4 | [](LICENSE)
|
5 | 5 |
|
6 |
| -A PHP library for parsing and generating RTP (Session Description Protocol). This package supports media negotiation, ICE parameters, RTP fingerprints, and codec configurations used in WebRTC. |
| 6 | +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. |
7 | 7 |
|
8 |
| -## Features |
| 8 | +## Features |
9 | 9 |
|
10 |
| -- Parse and build RTP offers and answers |
11 |
| -- Support for ICE, RTP, RTP, SCTP, and media attributes |
12 |
| -- Codec negotiation helpers |
| 10 | +- Encode and decode RTP packets |
| 11 | +- Extract RTP header fields |
| 12 | +- Support for common RTP payload types |
13 | 13 |
|
14 | 14 |
|
15 | 15 | ## Requirements
|
16 | 16 |
|
17 |
| -- PHP ≥ 8.4 |
| 17 | +- **PHP ≥ 8.4** with FFI extension enabled |
| 18 | +- Linux (Windows and macOS support planned for future releases) |
| 19 | +- FFmpeg/libav shared libraries (libavcodec, libavfilter, etc.) |
| 20 | + - Compatible with FFmpeg **version 7.1.1** |
| 21 | +- libopus development libraries |
| 22 | +- libvpx development libraries |
| 23 | + - Compatible with libvpx **version 1.15.0** |
18 | 24 |
|
19 | 25 | ## Documentation
|
20 | 26 |
|
@@ -43,5 +49,12 @@ BSD 3-Clause License. See [LICENSE](LICENSE) for details.
|
43 | 49 |
|
44 | 50 | ## References
|
45 | 51 |
|
46 |
| -- [RFC 4566 – RTP: Session Description Protocol](https://datatracker.ietf.org/doc/html/rfc4566) |
47 |
| -- [RFC 8829 – WebRTC RTP Usage](https://datatracker.ietf.org/doc/html/rfc8829) |
| 52 | +- [RFC 3550 - RTP: A Transport Protocol for Real-Time Applications](https://tools.ietf.org/html/rfc3550) |
| 53 | + |
| 54 | +- [RFC 3551 – RTP Profile for Audio and Video Conferences with Minimal Control](https://datatracker.ietf.org/doc/html/rfc3551) |
| 55 | + |
| 56 | +- [RFC 4585 – Extended RTP Profile for RTCP-Based Feedback (RTP/AVPF)](https://datatracker.ietf.org/doc/html/rfc4585) |
| 57 | + |
| 58 | +- [RFC 8285 – RTP Header Extension for Mid and RID (used in WebRTC)](https://datatracker.ietf.org/doc/html/rfc8285) |
| 59 | + |
| 60 | +- [RFC 5761 – Multiplexing RTP and RTCP on a Single Port](https://datatracker.ietf.org/doc/html/rfc5761) |
0 commit comments