backend and frontend: port frame sending to flatbuffers

This commit is contained in:
2025-08-10 21:02:03 -06:00
parent 209c1cffc4
commit 7afd8db8d8
17 changed files with 1230 additions and 79 deletions
+34
View File
@@ -0,0 +1,34 @@
namespace VideoUpdate;
table Setup {
video_format: string;
width: uint16;
height: uint16;
redraw_rate: uint16;
}
enum FrameType: byte {
PFRAME,
IDR,
}
table DecodeUnit {
frame_number: uint16;
frame_type: FrameType;
receive_time_ms: uint16;
data: [ubyte];
}
union Update {
Setup:Setup,
DecodeUnit:DecodeUnit,
}
table VideoUpdate {
update: Update;
}
root_type VideoUpdate;