Export (0) Print
Expand All

3.1.5.11 Receiving a Data Packet Containing a Packet-Pair Packet

The client MUST verify that the Data packet contains a packet-pair packet and that it adheres to the syntax specified in section 2.2.2. If the packet does not adhere to the syntax, the client SHOULD treat this as an error.

If the value of the Packet-Pair-Packets-Expected variable is 2, and if the value of the LocationId field is 0xF0F0F000, the client SHOULD set the value of the Packet-Pair-Arrival-Time variable in the Abstract Data Model to the current time.

If the value of the Packet-Pair-Packets-Expected variable is 1, and if the value of the LocationId field is 0xF0F0F001, the client can use the difference between the current time and the value of the Packet-Pair-Arrival-Time variable to compute the bit rate at which the second Data packet was transferred. The client SHOULD make this information available to a higher layer.

If the value of the Packet-Pair-Packets-Expected variable is greater than 0, the client MUST decrement the value of the Packet-Pair-Packets-Expected variable by 1. If the value of the variable Packet-Pair-Packets-Expected is still greater than 0, then the client MUST wait for another Data packet to be received, and then process the rules (as specified in this section) again.

If the value of the Packet-Pair-Packets-Expected variable is 0, then the client MUST wait for a Data packet that contains an ASF file header. This Data packet arrives over UDP. How to process the Data packet is specified in section 3.1.5.12.

 
Show:
© 2014 Microsoft