backend and frontend: support out of order chunks + now it's performant on chrome
This commit is contained in:
+12
-3
@@ -13,18 +13,27 @@ enum FrameType: byte {
|
||||
IDR,
|
||||
}
|
||||
|
||||
table DecodeUnit {
|
||||
frame_number: uint16;
|
||||
table DecodeUnitStart {
|
||||
frame_number: uint64;
|
||||
frame_type: FrameType;
|
||||
num_buffers: uint64;
|
||||
|
||||
receive_time_ms: uint16;
|
||||
full_length: uint64;
|
||||
|
||||
}
|
||||
|
||||
table DecodeUnitBuffer {
|
||||
frame_number: uint64;
|
||||
buffer_index: uint64;
|
||||
buffer_offset: uint64;
|
||||
data: [ubyte];
|
||||
}
|
||||
|
||||
union Update {
|
||||
Setup:Setup,
|
||||
DecodeUnit:DecodeUnit,
|
||||
DecodeUnitStart:DecodeUnitStart,
|
||||
DecodeUnitBuffer:DecodeUnitBuffer,
|
||||
}
|
||||
|
||||
table VideoUpdate {
|
||||
|
||||
Reference in New Issue
Block a user