New SDK Preview
This section is a preview of the new SDK. The new SDK is still in development, and we are actively working on improving it. We value your feedback, so if you have any questions or suggestions, please reach out to us. If you are not using the new SDK, please refer to another documentation section.
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.