Comments (2)
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.
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)
- websocket support HOT 2
- Implement validation/schema
- generateId() should not rely on window to get crypto object because there is no window in worker HOT 2
- Error: The received data is no valid JSON-RPC 2.0 Response object. HOT 2
- Feature request HOT 9
- "private fields are not currently supported" error in browser HOT 7
- new std/[email protected] API support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gentle_rpc.