setNetworkQosParam method

Future<void> setNetworkQosParam(
  1. TRTCNetworkQosParam param

Set network quality control parameters

These settings determine the bandwidth limit practices of the SDK in various network conditions (e.g., whether to "ensure definition" or "ensure smoothness" on a weak network)


param: QoS parameters. For more information, please see the definition of TRTCNetworkQosParam in trtc_cloud_def.dart

Platform not supported´╝Ü

  • web


Future<void> setNetworkQosParam(TRTCNetworkQosParam param) {
  return _cloudChannel!
      .invokeMethod('setNetworkQosParam', {"param": jsonEncode(param)});