startCloudProxy method

FutureOr<int> startCloudProxy(
  1. NSArray<ByteRTCCloudProxyInfo> cloudProxiesInfo
)

@detail api @author daining.nemo @brief Starts cloud proxy @param cloudProxiesInfo cloud proxy informarion list. See ByteRTCCloudProxyInfo{@link #ByteRTCCloudProxyInfo}. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note - Call this API before joining the room. - Start pre-call network detection after starting cloud proxy. - After starting cloud proxy and connects the cloud proxy server successfully, receives rtcEngine:onCloudProxyConnected:{@link #ByteRTCEngineDelegate#rtcEngine:onCloudProxyConnected}. - To stop cloud proxy, call stopCloudProxy{@link #ByteRTCEngine#stopCloudProxy}.

Implementation

FutureOr<int> startCloudProxy(
    NSArray<ByteRTCCloudProxyInfo> cloudProxiesInfo) async {
  return await nativeCall('startCloudProxy:', [cloudProxiesInfo]);
}