Home > @magiclane/maps-sdk > RecorderBookmarks > getLogDurationInSeconds

RecorderBookmarks.getLogDurationInSeconds() method

Returns the duration of an MP4 log file, in seconds.

Signature:

getLogDurationInSeconds(logPath: string): number;

Parameters

Parameter

Type

Description

logPath

string

The path to the MP4 file.

Returns:

number

The duration of the log in seconds.