setLocalRenderParams method

  1. @override
void setLocalRenderParams(
  1. TRTCRenderParams params
)
override

Set the rendering parameters of local video image

The parameters that can be set include video image rotation angle, fill mode, and mirror mode.

Parameters:

Implementation

@override
void setLocalRenderParams(TRTCRenderParams params) {
  TRTCLog(_tag, "setLocalRenderParams rotation: ${params.rotation} fillMode: ${params.fillMode} mirrorType: ${params.mirrorType}");
  TRTCCloudNative.instance.setLocalRenderParams(params.rotation.value(), params.fillMode.value(), params.mirrorType.value());
}