Odin Editor Config
component class allows you to setup various aspects of ODIN within your game.
If you follow our guide on settings up ODIN within your game, you should see
this in your Unity inspector if the Odin Manager Game Object is selected. Odin Editor Config is one of three parts
of the Odin Manager Game Object.
Use the first section Client Authentication to set up your access key and user data. This is for development purposes only as you should not expose your access key in the production version of your game. You should rather request the access key from a secure server backend. We have compiled a document explaining access keys and how to generate and use/store them: Access Keys in ODIN.
|Access Key||The access key that shall be used to generate access tokens for individual users. Read here on how to generate it.|
|Gateway URL||The base URL of the gateway. If you are using our hosted solution, leave it as is, otherwise if you are hosting yourself you need to adjust the URL|
|Manage Access||You can generate an access token for testing purposes right in the Unity editor for up to 25 users by pressing this button. See below for more details.|
|Client ID||The client id of your application. Use the Player Settings of Unity to set this value|
|User Data||This is the default user data that will be used for each player (if nothing is provided by you when joining the room)|
More info on the user data can be found in the user data guide. A sample of what you can do with user data can be found in one of our integration guides.
Create access token
You don’t need to talk to anyone at 4Players or subscribe to our tiers to test ODIN. After clicking on the
button, this window will popup. Click on the “Generate Access Key” button to create an access key that allows you to test
ODIN for up to 25 players.
You don’t need a (paid) tier for testing and development purposes. But you may not go into production with access keys generated this way. There is no guarantee that they will work for a longer period of time and there is also not any support.
Capture & Playback
Use this section to setup your audio settings.
|Capture Sample Rate||The sample rate that will be captured from the players |
|Capture Channels||Choose if |
|Playback Sample Rate||The sample rate that the server will use. If it does not match to the players sample rate the server will downgrade accordingly|
|Playback Channels||Choose if the server handles |
ODIN provides latest audio technology based on machine learning and other advanced techniques to make sure, that audio quality is excellent for your players. It’s important, that the game experience and immersion is not destroyed by noise like cars, airplanes, kids screaming or just the noise produced by cheap microphones.
Our mission is to provide the best audio experience for each of your players. Some of these features can be enabled or disabled or adjusted directly in the Unity editor. You’ll find these settings in this section.
Let’s have a look at the settings exposed by the next component of a typical ODIN Manager Game Object: Odin Handler .