Giter Club home page Giter Club logo

webrtc-poc's Introduction

webrtc-poc

POC of WebRTC for bidirectional message passing.

Two web clients

    1. Start up the Peer Server.
    1. Start up the Web Client server.

The URL for the web client can be opened up in two tabs - these two tabs will constitute two peers communicating with each other.

Provided that you are running the peer server that is part of this project you should be fine with connecting to that server with the default values. However, if you want to try to connect to the cloud-hosted peer server the creators of PeerJs run, empty the input values and then try to connect.

Once you have a UUIDv4 peer identification string in one view, copy+paste it over to the other view and input it into the correct field before pressing connect. Repeat this process vice-versa with the other tab.

If everything went well you will be able to send the counterpart in the other tab a message, and see the messages sent from the counterpart in the receive field.

Bonus: Try killing the peer server and see if you can continue to send messages? :-)

webrtc-poc's People

Contributors

hashmapsdata2value 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.