danog / php-rtc-sdp
SDP parsing and generation for PHP WebRTC. MadelineProto's PHP 8.2+ fork is a Composer-compatible component of the modular danog/php-rtc stack.
Fund package maintenance!
Requires
- php: ^8.2
- danog/php-rtc-exception: ^1.0
- danog/php-rtc-ice: ^1.0
- danog/php-rtc-rtp-parameter: ^1.0
- symfony/polyfill-php84: ^1.32
Requires (Dev)
- phpunit/php-code-coverage: 11.0.x-dev
- phpunit/phpunit: ^11.3
README
A PHP library for parsing and generating SDP (Session Description Protocol). This package supports media negotiation, ICE parameters, DTLS fingerprints, and codec configurations used in WebRTC.
About this fork
This is the danog/php-rtc-sdp PHP 8.2+ fork used by MadelineProto. It is published under the danog/php-rtc-sdp Composer package name.
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
- Parse and build SDP offers and answers
- Support for ICE, DTLS, RTP, SCTP, and media attributes
- Codec negotiation helpers
Requirements
- PHP ≥ 8.2
Documentation
This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:
Credits
Authors
-
Amin Yazdanpanah
- Website: aminyazdanpanah.com
- Email: github@aminyazdanpanah.com
-
Sana Moniri
- GtiHub: sanamoniri
Reporting Issues
Found a bug? Please report it on our issues.
License
BSD 3-Clause License. See LICENSE for details.