Balancy Configuration¶
Follow the guideline if you want to use your custom CDN for Balancy SDK.
Step 1: Setup CDN in Balancy Dashboard¶
Open Project Settings and enable using custom s3 bucket.
Fill in all the fields with data required to connect to the bucket. Press Save.
Step 2: Configure Balancy SDK¶
- Find
BalancyConfiguration.asset
file in your project. By default, it is located inAssets/Balancy/Configs/Resources/BalancyConfiguration.asset
. - If you can't find the file, you can create it by right-clicking in the
Assets
folder, selectingCreate -> Balancy -> Configuration
. Make sure to place it in theResources
folder and has the nameBalancyConfiguration
. - Open the file and set the
Url
value. You can also customize theTimeout
andRetries
parameters.
Important note: If the configuration file exists, the Timeout
and Retries
parameters will be applied in any case. However, the Url
parameter will only be used if the UseCustomCDN
checkbox is enabled.