Git Product home page Git Product logo

collaborate-swagger-editor's Introduction

setup

# pull submodules
git submodule init
git submodule update

TODO:

  • heartbeat for checking connection availability and keep-alive

  • broadcast buffering

    • if a message fails to be sent to a peer we need to remember so that if the peer reconnects we can re-send the message.
  • reconnecting...

    • when a peer drops, it can buffer it's operations and then broadcast them when it reconnects.
    • the peer must connect to an up-to-date peerlist before rebroadcasting so that peers that connected while it was offline also see it's buffered operations.
    • there's a window of 5 seconds before the me.connections.get('2').raw.peerConnection.iceConnectionState becomes disconnected

groups:

  • leader creates a "room id" and a share link for it
    • the share link encodes the room id and the leader's peer id
  • when a peer joins the leader it remembers the room id and it's current peer list
  • if a peer is in a room then it can create a share link that encodes the room id and it's own peer id
  • if a leader leaves the room (closes the browser) it can re-join by receiving a share link from a peer currently active in the room
    • this sucks though, they should be able to just ctrl+r or click the old share link they gave someone

collaborate-swagger-editor's People

Contributors

place1 avatar

Watchers

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