JSON-RPC Use #2691
-
Hi folks, I'm starting this discussion for those, like myself, that want to play with the JSON-RPC interface in the nightly, and soon to be released, final builds. https://github.com/jamulussoftware/jamulus/blob/master/docs/JSON-RPC.md I recall playing with @dtinth branch a while back for a short while, and I thought I was using
Now using
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hi,
The Jamulus JSON-RPC interface is line-based. HTTP won't work (other implementations might use JSON-RPC over HTTP, but Jamulus doesn't). I could imagine that
No additional directory server support is required. Example:
|
Beta Was this translation helpful? Give feedback.
-
Interesting, some time after making the servername change around 4:25PM ET (I went to dinner at 5PM, returning about an hour later) and now I dont see my server listed in Any Genre2. Nothing in the server log to indicate unregistering/disconnection. I can connect directly to the server by hostname and IP. There's no firewalling on that port. |
Beta Was this translation helpful? Give feedback.
Hi,
The Jamulus JSON-RPC interface is line-based. HTTP won't work (other implementations might use JSON-RPC over HTTP, but Jamulus doesn't). I could imagine that
curl
worked on @dtinth's initial PR by accident, because invalid JSON (e.g.POST ...
) would just be ignored. The parsing has been made more strict by now though.No additional directory server support is required.
Example: