Giter Site home page Giter Site logo

Comments (2)

timonson avatar timonson commented on May 26, 2024

The handlers you registered directly are - under working conditions - unnecessary but I am sure you already knew this. You are using the right syntax and it should actually work. Did you try the ws example already? I only tested gentle_rpc on Linux yet but it should work on Windows, too. Please let me know if the examples don't work on your machine neither (with the exception of the BadResource error which will be fixed in the next deno version).

Otherwise, is there another way to replicate this behavior without the microphone?

Thanks!

EDIT:

Does the server respond with a valid RPC response object with an id? You should be able to check this with your message handler. It is important that the response has an id in this case, please check this.

from gentle_rpc.

berwyn avatar berwyn commented on May 26, 2024

Oh, good call on the response, I just checked the payload that returns and it seems to have id: 0 instead of the one that went on the request! The payload looks otherwise well-formed, so it seems like Elgato isn't correctly matching the id of the request with the response. Well, guess that's something to file with them. Thanks for the help!

That said, I did attempt to run the examples and they do not seem to work on Windows (at least on my machine) but that's something I can look into and PR separately :)

from gentle_rpc.

Related Issues (8)

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.