setLocalRenderParams method
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:
- params(TRTCRenderParams):
- Video image rendering 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());
}