Skip to content

Conversation

oliverlaz
Copy link
Member

@oliverlaz oliverlaz commented Apr 10, 2025

💡 Overview

It adds the ability to ring individual members on an existing call.

API:

const call = client.call("default", crypto.randomUUID());
await call.getOrCreate({
  data: {
    members: [{ user_id: "myself" }, { user_id: "my-friend" }],
  },
});

// note: my-friend needs to be a member of the call
await call.ring({ target_member_ids: ["my-friend"] });

// to invite a new member and ring them
await call.updateCallMembers({ update_members: [{ user_id: "my-other-friend" }] });
await call.ring({ target_member_ids: ["my-other-friend"] });

🎫 Ticket: https://linear.app/stream/issue/VID-508/
📄 Docs: https://github.com/GetStream/docs-content/pull/283
🔗 Refs: https://github.com/GetStream/chat/pull/8534 https://github.com/GetStream/chat/pull/8796

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