enableVirtualBackground function
void
enableVirtualBackground()
Implementation
void enableVirtualBackground(
NEPreviewRoomRtcController? previewRoomRtcController,
bool enable,
String path) async {
await previewRoomRtcController?.enableVirtualBackground(
enable,
NERoomVirtualBackgroundSource(
backgroundSourceType: NERoomVirtualBackgroundType.kBackgroundImg,
source: path,
color: 0,
blurDegree: NERoomVirtualBackgroundType.kBlurDegreeHigh));
}