3.1.5.1.5 ACK and FEC Packets Data

The following steps specify the creation of an ACK and FEC Packet datagram.

  1. An ACK datagram is generated, as specified in section 3.1.5.1.2.

    • The RDPUDP_FLAG_DATA flag MUST be set.

    • The RDPUDP_FLAG_FEC flag MUST be set.

  2. An RDPUDP_FEC_PAYLOAD_HEADER structure (section 2.2.2.2) MUST be appended.

    • The snCoded variable's value MUST be set to the previously transmitted datagram's snCoded value plus 1. If this is the first datagram, this value is the advertised Initial Sequence Number ADM element.

    • The snSourceStart variable MUST be set to the Source sequence number of the first datagram included in this FEC operation.

    • The uRange variable MUST be set to the Source sequence number of the last datagram included in the FEC range minus snSourceStart.

    • The uPadding variable MUST be set to zero and ignored by the receiver.

  3. The FEC payload data MUST be appended.