Skip to main content

overwolf.media.replays.stopCapture

Overwolf APIs / overwolf / overwolf / media / replays / stopCapture

Call Signature

function stopCapture(
replayId: string,
callback: CallbackFunction<ReplayResult>,
): void;

Finishes capturing a replay and returns a url to the created video file. You can only call this method if replay mode is on and using a valid id of a replay being captured to a file.

Parameters

ParameterTypeDescription
replayIdstringThe id of the replay you want to finish capturing.
callbackCallbackFunction<ReplayResult>A callback function which will be called with the status of the request.

Returns

void

Call Signature

function stopCapture(
replayType: Video,
replayId: string,
callback: CallbackFunction<FileResult>,
): void;

Finishes capturing a replay and returns a url to the created video file. You can only call this method if replay mode is on and using a valid id of a replay being captured to a file.

Parameters

ParameterTypeDescription
replayTypeVideoThe type of replay to stop capture.
replayIdstringThe id of the replay you want to finish capturing.
callbackCallbackFunction<FileResult>A callback function which will be called with the status of the request.

Returns

void

Deprecated

Since version 0.155.