Git Product home page Git Product logo

twitch-plays's Introduction

twitch-plays

Allows twitch chats to control a VJOY instance remotely over a Twitch chat. Used to support restream prior to upload, but has been switched back to minimize latency as much as humanly possible.

twitch-plays's People

Contributors

kelly-cs avatar

Watchers

 avatar

twitch-plays's Issues

fix threading issue with movement

If two people send a www command, for example, they will run together until the first one ends. In which case, the second www will end earlier than it is supposed to, because the reset of the first www will resest the controller input of the next one.

fix disconnect bug

when a disconnect happens (presumably), the controller will still run in a bugged state where it does not receive any further input from Twitch despite sending PONG responses. When this happens, we need to find a way to restart the connection.

Some possible fixes:

  • reconnect to twitch after some delay all the time to guarantee reconnection eventually
  • reconnect on socket disconnect (sometimes this happens and the program closes)
  • reconnect on twitch disconnect somehow (this appears as sending a PONG to Twitch and not getting any responses for an extended period)

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.