Skip to content

Conversation

@typester
Copy link
Contributor

No description provided.

@ilo-nanpa
Copy link
Contributor

ilo-nanpa bot commented Mar 11, 2025

it seems like you haven't added any nanpa changeset files to this PR.

if this pull request includes changes to code, make sure to add a changeset, by writing a file to .nanpa/<unique-name>.kdl:

minor type="added" "Introduce frobnication algorithm"

refer to the manpage for more information.

@typester typester requested review from bcherry and theomonnom March 11, 2025 19:29
Copy link
Contributor

@bcherry bcherry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm please add a changeset and add deprecated methods if not too much work

}
}

pub fn register_rpc_method(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we keep deprecated stubs of these around that just forward to the new room method? that way its not a breaking change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bcherry
Oh, I was thinking of covering this on the foreign language side.
I didn’t want to support the old interface from rust side, since that would mean we’d have to keep the old proto definitions around and start adding things like RegisterRpcMethodRequest2, which I’d rather avoid. What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think you need to expose the old interface over FFI (agree you can just handle it in python/node), but the underlying rust rtc sdk would ideally still offer it. i don't think there'd be extra proto definitions around in that case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see — you mean keeping the old interface on the livekit crate, not in livekit-ffi. That makes sense to me. Will do!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in cf40cb9

@typester typester merged commit db42022 into main Mar 18, 2025
14 of 19 checks passed
@typester typester deleted the typester/move-rpc branch March 18, 2025 03:37
typester added a commit that referenced this pull request Mar 20, 2025
typester added a commit that referenced this pull request Mar 21, 2025
* Revert "Move RPC handlers to room (#599)"

This reverts commit db42022.

* changeset

* leave a fix for test case

* oops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants