You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Poki Networking Library is a powerful peer-to-peer networking solution for web games, leveraging WebRTC datachannels to enable direct UDP connections between players. Think of it as the Steam Networking Library for the web, designed to make WebRTC as simple to use as WebSockets for game development.
4
+
The Poki Networking Library is a peer-to-peer networking library for web games, leveraging WebRTC datachannels to enable direct UDP connections between players. Think of it as the Steam Networking Library for the web, designed to make WebRTC as simple to use as WebSockets for game development.
5
5
6
6
<p></p>
7
7
8
-
> ⚠️ **Warning**: This library is still under development and considered a beta. The library API can change. Make sure to get in touch if you want to go live with this so we can keep you up-to-date about changes.
8
+
> [!WARNING]
9
+
> This library is still under development and considered a beta. While it's being actively used in production by some games, the API can change. Make sure to get in touch if you want to go live with this so we can keep you up-to-date about changes.
9
10
10
11
## Features
11
12
@@ -24,7 +25,6 @@ The Poki Networking Library is a powerful peer-to-peer networking solution for w
24
25
- Optimized for real-time gaming with minimal latency
25
26
- Perfect for fast-paced multiplayer games
26
27
- Unlike WebSockets or HTTP (which use TCP), UDP doesn't pause new packets when one packet is slow or dropped
27
-
- This is ideal for real-time updates like position data
28
28
- Includes reliable data channels for critical events like chat messages or NPC spawns
This library is currently in alpha stage. While it's being actively used in production by some games, the API may change without warning and without bumping the major version. Please contact us if you're planning to use this library in production.
88
-
89
-
### Roadmap
90
87
-[x] Basic P2P connectivity
91
88
-[x] Lobby system
92
89
-[x] Lobby discovery and filtering
@@ -118,9 +115,8 @@ UDP Transport
118
115
- Facilitates WebRTC connection establishment
119
116
120
117
#### 2. STUN/TURN Servers
121
-
- STUN: Helps peers discover their public IP
122
-
- TURN: Provides fallback relay when direct P2P fails
123
-
- Hosted by Poki (or self-hostable)
118
+
- STUN: Helps peers discover their public IP (by default Google STUN servers)
119
+
- TURN: Provides fallback relay when direct P2P fails (when using the Poki hosted version, Cloudflare TURN servers are used)
0 commit comments