People per account

Like configuring devices limits, you can configure how many people can share a single account via the dashboard and override these limits in code.

Default people per account

The easiest way to set a default limit for all accounts is using the dashboard settings.

Adding a limit_config.people_limit parameter in the client-side SDKs will override the dashboard configuration.

If you provide a limit config in the SDKs, it will override the default limit set on the dashboard. So, if you want all accounts to share the same device limit, it's better to omit limit_config parameter in the SDK.

A bonus of relying on the dashboard for default limits is that it applies effects in real-time.

Dashboard settings

Custom people per account limits

You can also set the people per account limits via the SDKS. To do that, pass a limit config object in all the client-side SDKs. This could be useful if the number of people an account can have depends on their plan. Here's a code snippet overriding the default limit config.

await Rupt.attach({
  client_id: "client_id",
  account: "user_id",
  limit_config: { people_limit: 2 },
  redirect_urls: {
    logout_url: "",
    new_account_url: "",