SplitCallback
Electron APIs / recorder / SplitCallback
type SplitCallback = (videoInfo: SplitRecordArgs) => void;
Callback invoked when a recording is split into a new video file.
Parameters
Parameter | Type | Description |
---|---|---|
videoInfo | SplitRecordArgs | Information about the newly created split video file. |
Returns
void
See
Example
const onSplit: SplitCallback = (videoInfo) => {
console.log("Split video created at:", videoInfo.filePath);
};