setMeta

View as MarkdownOpen in Claude
1setMeta(_meta): Promise<void>

Replaces the call’s custom metadata bag with the provided object. Existing keys not present in _meta are discarded. To merge instead, use updateMeta.

Metadata is observed via call.meta$ on all connected peers; use it to share UI state (e.g. a current presenter name, agenda items) across the call.

Not yet implemented in v4. This method is on the API surface and will throw when called.

Parameters

_meta
Record<string, unknown>Required

New metadata object. Replaces all existing keys.

Returns

Promise<void> — once implemented, resolves after the server has propagated the new metadata.

Throws

Throws unconditionally — implementation pending.

See

  • updateMeta — partial-merge alternative.
  • meta$ — observable of the current metadata.