Skip to main content

Type Alias: OdinTokenRestrictions

type OdinTokenRestrictions: components["schemas"]["OdinTokenRestrictions"];

Properties​

PropertyTypeRequiredDescription
tagsstring[]YesTags 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"])
lifetimeSecondsnumberYesRequested token lifetime in seconds. (example: 300)
appliedbooleanYesWhether 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"YesThe project's token provider. (example: "access_key")

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/resources/participants.ts:27