ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getRecordingInfo

Function

getRecordingInfo

ClientDrawing (dx)Trilogy Hub only

Returns recording information: whether it runs (recording), the frame count, frames per second, the length in ms (duration), the image size, the data size in bytes (size) and the stop reason (stopReason).

Syntax

table getRecordingInfo(element recording)

Arguments

recordingelement
The recording.

Returns

An info table.

Example

local rec = loadRecording("powtorki/ostatnia.avi")
local info = rec and getRecordingInfo(rec)
if info then outputChatBox(("%d klatek, %.1f s"):format(info.frames, info.duration / 1000)) end

See also