stopRecordingSegment

suspend fun stopRecordingSegment(segmentIndex: Int): String?

Stop recording segment and save to file.

Return

Path to saved segment file, or null on failure

Parameters

segmentIndex

The segment to stop