checkCloudRegion method

Future<CheckInfo> checkCloudRegion()

Checks connection quality to the closest LiveKit Cloud regions and determines the best one. Skipped for non-Cloud servers. The returned CheckInfo.data contains the best region's RegionStats.

Implementation

Future<CheckInfo> checkCloudRegion() => runCheck(CloudRegionCheck(url, token, options: options));