Skip to content

Error sending rpc method invocation response: No caller found #396

@endrik-exe

Description

@endrik-exe

Version: 0.13.3

I have registered this RPC method in node sdk. and then trigger it from livekit-client-js

room.localParticipant.registerRpcMethod('mousemove', async (data: RpcInvocationData) => {
    const { x, y } = JSON.parse(data.payload);

    const width = this.page.viewportSize()?.width ?? 1
    const height = this.page.viewportSize()?.height ?? 1

    this.page.mouse.move(x * width, y * height);

    return '';
});

It did get called several times, but then i get this error in console: error sending rpc method invocation response: No caller found

console.warn(`error sending rpc method invocation response: ${res.error}`);

After this error message appeared, it seems the node-sdk cannot receive rpc call again.

Do you have any idea?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions