Type Alias: OdinTokenRestrictions
Properties
| Property | Type | Required | Description |
|---|---|---|---|
tags | string[] | Yes | Tags requested for the peer. cortex:muted marks a player with an active mute, listen_only or text_only sanction — every client in the room sees it on PeerJoined and can mask the peer at once. (example: ["cortex:muted"]) |
lifetimeSeconds | number | Yes | Requested token lifetime in seconds. (example: 300) |
applied | boolean | Yes | Whether the tags and lifetime are actually in the token. Only the access_key provider can sign them; with rooms (Payment) or webservice the token is issued without them and this is false — rely on the cortex.mutes room frame instead. (example: true) |
provider | "access_key" | "webservice" | "rooms" | Yes | The project's token provider. (example: "access_key") |
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/resources/participants.ts:27