node-sdks icon indicating copy to clipboard operation
node-sdks copied to clipboard

Native RPC prototype

Open bcherry opened this issue 1 year ago • 2 comments

This is a prototype implementation of the native RPC spec . I've made a few tweaks to the original proposal - notes contained herein.

This is just a prototype - it isn't suitable to release. I built it with user packets and specific topics, but it let me set up an example use case and iterate the user-facing interface until it felt right. I feel good about this version.

Once I've collected some feedback I'll finish the protocol, update the SFU to route them, implement the core pieces in rust, then finish this PR out. Then we've got to do it in all the other SDKs, too....

Feedback appreciated on the API - see the example for a sense of how it works. I feel good about this but there's always room for improvement.

bcherry avatar Sep 20 '24 23:09 bcherry

🦋 Changeset detected

Latest commit: f6d6dfa8488edd5209c7c58c689ce6ed0775effb

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Sep 20 '24 23:09 changeset-bot[bot]

Updated with more robust error handling and unit tests. Still need to go native after merging protocol PR but I think this is now done, otherwise. @lukasIO mind taking a look over the error handling to see how you like it?

bcherry avatar Sep 24 '24 07:09 bcherry