Generate Room Token

Generate Room Token

Takes an access key and a room id and creates a room token that is used to join a room.

Inputs

NameTypeDescription
Execexec
TargetToken GeneratorUse the Construct a Token Generator node to generate a token generator.
Room IdstringThe room id to generate a token for. Every user connected to the same room can talk to each other and exchange data.
User IdstringThe user id to generate a token for. You can use any string that makes sense for you to connect Odin peers to your users.

Outputs

NameTypeDescription
Execexec
Return ValuestringReturns a room token that can be used to join a room.