Skip to content
Snippets Groups Projects
Commit d2f42e46 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Adapt packet structures

parent 5c301da9
No related branches found
No related tags found
1 merge request!127Implements #196 stream capturing
Pipeline #15291 passed
...@@ -183,7 +183,7 @@ static void run(ftl::Configurable *root) { ...@@ -183,7 +183,7 @@ static void run(ftl::Configurable *root) {
writer.begin(); writer.begin();
// TODO: Write pose+calibration packets // TODO: Write pose+calibration+config packets
group.addRawCallback(std::function(recorder)); group.addRawCallback(std::function(recorder));
} else { } else {
......
...@@ -17,6 +17,7 @@ enum struct codec_t : uint8_t { ...@@ -17,6 +17,7 @@ enum struct codec_t : uint8_t {
HEVC, // H265 HEVC, // H265
// TODO: Add audio codecs // TODO: Add audio codecs
WAV,
JSON = 100, // A JSON string JSON = 100, // A JSON string
CALIBRATION, // Camera parameters object CALIBRATION, // Camera parameters object
......
...@@ -15,7 +15,7 @@ namespace codecs { ...@@ -15,7 +15,7 @@ namespace codecs {
*/ */
struct Header { struct Header {
const char magic[4] = {'F','T','L','F'}; const char magic[4] = {'F','T','L','F'};
uint8_t version; uint8_t version = 1;
}; };
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment