public void StopVideoCapture() { if (m_VideoCapture == null) { return; } m_VideoCapture.StopRecordingAsync(OnStoppedRecordingVideo); }
public void StopVideoCapture() { if (m_VideoCapture == null) { return; } Debug.Log("Stop Video Capture!"); m_VideoCapture.StopRecordingAsync(OnStoppedRecordingVideo); Previewer.SetData(m_VideoCapture.PreviewTexture, false); }
private IEnumerator Stop() { if (_videoCapture == null) { Debug.LogError("The NRVideoCapture has not been created."); yield break; } _videoCapture.StopRecordingAsync(result => SetState(State.Idle)); }
void StopVideoCapture() { Debug.Log("Stop Video Capture!"); m_VideoCapture.StopRecordingAsync(OnStoppedRecordingVideo); }