From 7148badbc67e7cf19df91f117f8e10257991bd1b Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 4 Jul 2024 12:08:14 +0200 Subject: [PATCH] Rework side data again --- draft-avtransport-spec.bs | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/draft-avtransport-spec.bs b/draft-avtransport-spec.bs index f6b1b08..2807f34 100644 --- a/draft-avtransport-spec.bs +++ b/draft-avtransport-spec.bs @@ -1617,36 +1617,42 @@ It is laid out in the following way: The total size of all data needed to receive the payload correctly. Must be either 0 if unknown, or the total size of the payload across all segments. - u(32) - side_data_length + u(16) + side_data_desc_1 - Length of the side data, if any. + If not equal to ''0xFFFF'', it means this packet depends on another packet with the given descriptor for correct decoding or presentation. u(32) - side_data_offset + side_data_seq_1 - The offset within the packet where the side data is located at. + If [=side_data_desc_1=] is non-''0xFFFF'', a valid sequence ID for the side data packet. - u(8) - side_data_type + u(16) + side_data_desc_2 - The size of the data in this packet. + If not equal to ''0xFFFF'', it means this packet depends on another packet with the given descriptor for correct decoding or presentation. - b(48) + u(32) + side_data_seq_2 + + If [=side_data_desc_2=] is non-''0xFFFF'', a valid sequence ID for the side data packet. + + + b(32) [=padding=] Padding, reserved for future use. MUST be ''0x0''. - + b(64) [=ldpc_288_224=] [=LDPC(288, 224)=] 64-bits of LDPC parity data to correct the previous 224 bits of the packet. - + [=data_length=]*b(8) [=packet_data=] payload @@ -1658,8 +1664,6 @@ It is laid out in the following way: Extended stream data packets should only be used if there's a need to use them. Regular stream data packets have a much lower overhead. -[=side_data_type=] must be ignored if [=side_data_length=] is 0. - ## FEC grouping ## {#fec-grouping-packets}