Generate Room Token

Takes an access key and a room id and creates a room token that is used to join a room.
Name | Type | Description |
---|
Exec | exec | |
Target | Token Generator | Use the Construct a Token Generator node to generate a token generator. |
Room Id | string | The room id to generate a token for. Every user connected to the same room can talk to each other and exchange data. |
User Id | string | The 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#
Name | Type | Description |
---|
Exec | exec | |
Return Value | string | Returns a room token that can be used to join a room. |