quasarstream/datachannel

A PHP implementation of WebRTC's RTCDataChannel interface for bidirectional peer-to-peer data communication.

v1.0.0 2025-05-13 21:29 UTC

This package is auto-updated.

Last update: 2025-05-14 17:04:19 UTC


README

PHP Version License

A PHP implementation of WebRTC's RTCDataChannel interface for bidirectional peer-to-peer data communication.

Features

  • Bidirectional communication: Send and receive arbitrary data between peers
  • Configurable reliability: Ordered/unordered delivery with retransmission policies
  • Flow control: Monitor buffered data with threshold notifications
  • Event-driven API: React to state changes and data arrival
  • Flexible negotiation: Support for both in-band and out-of-band channel establishment

Requirements

  • PHP ≥ 8.4

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.