switchCameraPreview method
Implementation
Future<void> switchCameraPreview() async {
var status = await Permission.camera.status;
if (status.isDenied) {
await Permission.camera.request();
}
EnxSetting.instance.setCameraPosition(!EnxSetting.instance.isFontCamera);
await EnxRtc.switchCameraPreview();
print("camera15 ${EnxSetting.instance.isFontCamera}");
}