setLocalRenderParams method

Future<void> setLocalRenderParams(
  1. TRTCRenderParams renderParams
)

Set the rendering mode of local image

Parameters:

renderParams: rendering parameters (fill mode, rotation angle, mirror mode, etc.). For more information, please see the definition of the TRTCRenderParams parameter in trtc_cloud_def.dart

Platform not supported´╝Ü

  • web

Implementation

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