Method StopRecording
StopRecording()
Stops recording and flushes unwritten data to disk. The MP4 dataset file is ready to read after this call.
Declaration
public ArStatus StopRecording()
Returns
Type | Description |
---|---|
ArStatus | Returns Success if successful. Returns ErrorRecordingFailed otherwise. |
Remarks
Recording can be stopped automatically when the session is paused, if auto stop is enabled via SetAutoStopOnPause(ArSession, bool). Recording errors that would be thrown in StopRecording() are silently ignored on session pause.