Git Product home page Git Product logo

ultraporing / virtual-online-couch Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 16 KB

Allows for multiple players to play hot seat / couch coop over the internet. The host is streaming audio and video of the chosen application to the clients, and they are able to use their mouse, keyboard or controller in the hosts application by sending the inputs back.

client-server-architecture couchcoop cpp game-tool hotseat relay-server remote-control remote-play-together streaming audio-video-server

virtual-online-couch's Introduction

virtual-online-couch

Allowes for multiple players to play hot seat / couch coop over the internet. The host is streaming audio and video of the chosen application to the clients, and they are able to use their mouse, keyboard or controller in the hosts application by sending the inputs back.

Quick note for architecture:

Whole connection and messages should optionally use encryption/validation/relay-server as chosen by the host. You would disable this within trusted networks to gain speed. More info in relay server.

Host

runs and selects the app to be streamed/interacted with

<-------RECIEVE-----------------
Receives Input (mouse, keyboard, controller) from selected source/s in control, (optionally) via relay server. forwarded exclusively to selected app (host can switch control between host/client/multiple)

---------SEND------------------->
sends A/V to relay server if used. otherwise directly to clients

(Optional) Relay web server

uses possibly a static ip/url as public connection point for clients to prevent direct connections to Host, and works as relay for network messages between host and clients. If not used, clients just directly connect to host via his ip.

NOTES:

  • should maybe use encryption/some keys to validate messages are sent via the relay instead of direct connection to prevent malicious messages between clients and host.
  • host and client have to do the validation of the relay messages too to prevent malicious constructed messages

<-------RECIEVE-----------------
receives input commands from clients if relay server is used and relays them to the host.

---------SEND------------------->
relays host A/V to clients if relay server is used.

Single/Multiple Clients

<-------RECIEVE-----------------
receives host A/V from relay server if used. otherwise from host.

---------SEND------------------->
sends input (mouse, keyboard, controller) to relay server if used. otherwise directly to host.

virtual-online-couch's People

Contributors

ultraporing avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.