RtcEngine rtcEngine = rtcEngine(); // Switches between front and rear cameras. rtcEngine.switchCamera();