/// <summary> /// 停止录像 /// </summary> public void StopRecorder() { if (videoRecorder.StopRecording()) { uiText.text = "Recording stop " + videoRecorder.FilePath; } else { uiText.text = "Recording failed"; } if (cameraRecorder) { cameraRecorder.Destroy(); } }
/// <summary> /// Stop recording a replay /// </summary> public static void StopRecording() { CameraRecorder.Destroy(camera); NatCorder.StopRecording(); }