Skip to content
An example for using WebRTC to communicate between a JavaScript client and a C++ server.
C++ C Other
Branch: master
Clone or download

Latest commit

Latest commit 39f6890 May 6, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Fix blog post link. Mar 15, 2017
server Fix blog post link. Mar 15, 2017
.gitignore First draft of the example code. Mar 15, 2017
LICENSE Add license. Sep 19, 2017
README.md Update README.md May 6, 2019

README.md

Client-Server WebRTC Example

This implements a minimal example with a client written in JavaScript that communicates with a server written in C++ using WebRTC over unordered and unreliable SCTP. While more involved to set up than WebSockets, this has the same advantage of lower latency that UDP has in real-time applications.

This repo is meant to accompany my blog post on WebRTC web games, so head there for explanation and setup instructions.

The example depends on websocketpp and rapidjson.

You can contact me at brian@brkho.com.

You can’t perform that action at this time.