Manage Types

Read call types

client.video.listCallTypes();

//or
client.video.getCallType({ name: "livestream" });

Create call type

client.video.createCallType({
  name: "allhands",
  settings: {
    audio: {
      mic_default_on: true,
      default_device: "speaker",
    },
  },
  grants: {
    admin: [
      VideoOwnCapability.SEND_AUDIO,
      VideoOwnCapability.SEND_VIDEO,
      VideoOwnCapability.MUTE_USERS,
    ],
    user: [VideoOwnCapability.SEND_AUDIO, VideoOwnCapability.SEND_VIDEO],
  },
});

Update call type

client.video.updateCallType({
  name: "allhands",
  settings: {
    audio: {
      mic_default_on: false,
      default_device: "earpiece",
    },
  },
});

Delete call type

client.video.deleteCallType({ name: "allhands" });
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video Server-side: <Your Question>