private void ResetCompositor()
        {
            Debug.Log("Stopping the video composition system.");
            UnityCompositorInterface.Reset();

            UnityCompositorInterface.StopFrameProvider();
            if (UnityCompositorInterface.IsRecording())
            {
                UnityCompositorInterface.StopRecording();
            }
        }
 public void StopRecording()
 {
     StopRecordingAudio();
     UnityCompositorInterface.StopRecording();
 }