Skip to content

An example for using WebRTC to communicate between a JavaScript client and a C++ server.

License

Notifications You must be signed in to change notification settings

brkho/client-server-webrtc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example for using WebRTC to communicate between a JavaScript client and a C++ server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages