Skip to content

kevglass/simple-webrtc-p2p-game-relay

Repository files navigation

simple-webrtc-p2p-game-relay

A web socket based relay server for the simple webrtc p2p example.

Introduction

This repository holds a simple relay server used to pass text messages between browsers (or other) connected with a websocket. It's intended to be the simplest naive implementation possible and to be hosted on AWS Beanstalk.

Each user connects and presents a name. That name is then used to address that user and send/receive messages from it. The relay server is simply passing text messages between the clients.

This server was created to support the sample at: https://github.com/kevglass/simple-webrtc-p2p-game

There is a default implementation running at time of writing at:

Secure: node4.cokeandcode.com

The default implementation is running on AWS Elastic Beanstalk. Getting HTTPS configured there wasn't easy, but this guide helped alot:

https://medium.com/edataconsulting/how-to-get-a-ssl-certificate-running-in-aws-elastic-beanstalk-using-certbot-6daa9baa3997

About

A web socket based relay server for the simple webrtc p2p example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published