2.2.4.1 Playback Acknowledgment Message (PLAYBACK_ACK)

The PLAYBACK_ACK message is sent from the client to the server to acknowledge the media data that has already been played.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header (variable)

...

StreamId

DataDuration

...

cbData

...

Header (variable): The common message header (as specified in section 2.2.1). The InterfaceId field MUST be set to 0x00000001. The Mask field MUST be set to STREAM_ID_PROXY. The FunctionId field MUST be set to PLAYBACK_ACK (0x00000100).

StreamId (4 bytes): A 32-bit unsigned integer that indicates the stream ID of the sample that is being acknowledged.

DataDuration (8 bytes): A 64-bit unsigned integer that indicates the calculated data duration of the sample that is being acknowledged. This field MUST be set to the ThrottleDuration field of the TS_MM_DATA_SAMPLE structure of the sample that is being acknowledged.

cbData (8 bytes): A 64-bit unsigned integer that indicates the data size of the sample that is being acknowledged. This field MUST be set to the cbData field of the TS_MM_DATA_SAMPLE structure of the sample that is being acknowledged.