Skip to content

Peers

Peerix is designed with a modular and extensible architecture that abstracts away the complexities of peer-to-peer communication while providing a flexible and powerful API for developers. The core of Peerix is built around the Peer class, which manages peer connections, media streams, data channels, and signaling. The library also includes various built-in signaling drivers and supports custom implementations, allowing you to choose the best signaling method for your application. Peerix’s architecture is transport-agnostic, meaning it can work with any signaling method. This design allows developers to focus on building their applications without worrying about the underlying complexities of WebRTC communication. Additionally, Peerix provides an event-driven architecture that allows you to handle various events in the peer connection lifecycle, making it easier to manage peer interactions and build real-time applications. The library also supports add-ons, which allow you to extend its functionality and integrate with other services or features as needed. Overall, Peerix’s architecture is designed to be simple, extensible, and performant, enabling developers to build robust and scalable peer-to-peer applications with ease.

Explore the following sections to learn how to use Peerix’s core features: