diff --git a/applications/reconstruct/src/main.cpp b/applications/reconstruct/src/main.cpp index 34150aeb78895881f825b101dd8d4b24d4d40aaf..929582d1844f211ef37bdfe8361605dc66e169c1 100644 --- a/applications/reconstruct/src/main.cpp +++ b/applications/reconstruct/src/main.cpp @@ -183,7 +183,7 @@ static void run(ftl::Configurable *root) { writer.begin(); - // TODO: Write pose+calibration packets + // TODO: Write pose+calibration+config packets group.addRawCallback(std::function(recorder)); } else { diff --git a/components/codecs/include/ftl/codecs/bitrates.hpp b/components/codecs/include/ftl/codecs/bitrates.hpp index 6c66aeec692291f00c05a785d4842554c16b6be3..8e41b13f7e4d9b77ad38cf23fdb2622d2107a537 100644 --- a/components/codecs/include/ftl/codecs/bitrates.hpp +++ b/components/codecs/include/ftl/codecs/bitrates.hpp @@ -17,6 +17,7 @@ enum struct codec_t : uint8_t { HEVC, // H265 // TODO: Add audio codecs + WAV, JSON = 100, // A JSON string CALIBRATION, // Camera parameters object diff --git a/components/codecs/include/ftl/codecs/packet.hpp b/components/codecs/include/ftl/codecs/packet.hpp index 3c04008143945b094bfb3b7c558ea9e6b275a37f..3b8d17151fb492a89c61686b5f9bcb72193dc08d 100644 --- a/components/codecs/include/ftl/codecs/packet.hpp +++ b/components/codecs/include/ftl/codecs/packet.hpp @@ -15,7 +15,7 @@ namespace codecs { */ struct Header { const char magic[4] = {'F','T','L','F'}; - uint8_t version; + uint8_t version = 1; }; /**