libjuice
nbnet
Our great sponsors
libjuice | nbnet | |
---|---|---|
2 | 3 | |
361 | 382 | |
- | - | |
7.2 | 7.5 | |
5 days ago | 27 days ago | |
C | C | |
Mozilla Public License 2.0 | zlib License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libjuice
-
P2P connectivity using ICE (STUN/TURN)
For the client side, I've looked at https://github.com/paullouisageneau/libjuice, which looks promising. We want to to keep our server for the matchmaking, but then make additional use of a new server for the connectivity stage once players have agreed a game.
-
A simple C implementation to stream H.264 to browser using WebRTC
Nice, this looks like a simple and clear proof of concept!
In practice, the dependency on glib, which depends in glib, can become a practical problem for embedded devices.
That's actually why I developped libjuice [0] as the default ICE backend of libdatachannel [1].
nbnet
-
Networking and multiplayer
There's examples and on YT theres some videos showing off the lib.
- Nbnet: Single header C99 library implements client-server network code for games
-
nbnet - A C(99) network library for game development
https://github.com/nathhB/nbnet (we have a tiny Discord community were people discuss nbnet but also C game development and networking in general).
What are some alternatives?
libdatachannel - C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets
clove-unit - Single-Header Unit Testing framework for C (interoperable with C++) with test autodiscovery feature
violet - Lightweight STUN/TURN server
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
miniupnp - UPnP IGD implementation
minicoro - Single header stackful cross-platform coroutine library in pure C.
openmiko - Open source firmware for Ingenic T20 based devices such as WyzeCam V2, Xiaomi Xiaofang 1S, iSmartAlarm's Spot+ and others.
cgltf - :diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99
n2n - Peer-to-peer VPN
IncludeDB - Tiny key/value-store in a single, embeddable C file. For games, small servers, sbc, etc...
libpeer - WebRTC Library for IoT/Embedded Device using C
variation-lite-ui - Single-header terminal user interface library. Written in ansi-c