Raw Data
Table of contents
Origin:
Game/Engine
Target:
Frame by Frame
Description
Frame by Frame supports loading data from a file, and not just via Web Sockets. This file is called Raw Data, since it contains uncompressed frame data.
Raw Data should be stored in a file with the .fbf extensions. This means it shares the extension with compressed recordings. But don“t worry, Frame by Frame will detect automatically if the file is Raw Data or a compressed recording.
Format
Raw Data is a JSON with the following layout:
{
"type": 1,
"version": number,
"rawFrames": FrameData[]
}
type
needs to be1
. Frame by Frame will use this to determine that the .fbf file is Raw Data, and not a compressed recording.version
should be the most up-to-date version of raw data in frame by frame. Currently3
.rawFrames
should be an array ofFrameData
. This is the same as the one described in the Frame Data page.