Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

packages/client/src/Call.ts Outdated Show resolved Hide resolved
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.