Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start adding remove member feature in reference client #107

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

giavac
Copy link
Contributor

@giavac giavac commented Sep 10, 2024

We need to find where the SDK exposes the "remove member" functionality and what data structure it requires.

@giavac giavac marked this pull request as draft September 10, 2024 17:28
@@ -831,6 +831,10 @@ window.unmuteVideoMember = () => {
roomObj.videoUnmute({ memberId: id })
}

window.removeMember = (id) => {
roomObj.removeMember({ memberid: id})
Copy link
Contributor

Choose a reason for hiding this comment

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

If the idea is to test a feature that is not exposed in the SDK already, you could do

const result = await window.__client.__wsClient.wsClient.execute(params)

Where params is the JSON-RPC request.

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.

2 participants