A PHP library for Secure RTP (SRTP) packet encryption and decryption using OpenSSL FFI. It enables secure media transport for WebRTC applications with support for AES encryption and HMAC authentication.
- AES-GCM and AES-CM encryption for RTP/RTCP packets
- HMAC-SHA1 authentication
- Replay protection
- Interoperable with standard WebRTC implementations
- PHP ≥ 8.4 with FFI extension enabled
- Srtp development libraries
- Linux environment (Windows/macOS support planned)
This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:
-
Amin Yazdanpanah
aminyazdanpanah.com [email protected] -
Sana Moniri
GitHub
Found a bug? Please report it on our issues.
BSD 3-Clause License. See LICENSE for details.