3.1.5.8 Receiving a $H (Header) Packet

The client MUST verify that the $H packet adheres to the syntax specified in section 2.2.3.5.

If the AFFlags field in the MMS data packet (section 2.2.3.1.2) specifies that the ASF header is being transmitted as multiple $H packets, and this is not the last $H packet, the client MUST set the value of the Expected-Packets variable to $H and then process the rules in section 3.1.5.2.

When the last $H packet has been received, the payloads in each $H packet MUST be reassembled before processing can continue.

The client SHOULD make the ASF header available to a higher layer.

If the value of the Client-State variable is INIT or IDLE, the client MUST wait until a higher-layer triggered event occurs.

If the value of the Client-State variable is STREAMING, the client MUST set the value of the Expected-Packets variable to $D and $E and then process the rules in section 3.1.5.2.