2.2.4.5 LinkMacToViewerReportEndOfStream

The LinkMacToViewerReportEndOfStream message is sent by the server to notify the client that the end of the current playlist entry has been reached.


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

chunkLen

MID

hr

playIncarnation

chunkLen (4 bytes): Length in chunks of the message. A chunk is 8 bytes.

MID (4 bytes): Message ID. For this message, the value MUST be 0x0004001e.

hr (4 bytes): HRESULT. The following HRESULT codes have a special meaning (any other HRESULT code has the meaning specified in [MS-ERREF]):

Value

Meaning

0x00000000

The end of the current playlist entry is reached, or the server successfully processed the LinkViewerToMacStopPlaying (section 2.2.4.27) message.

0x00000001

The end of the current playlist entry is reached, and the server sends a LinkMacToViewerReportStreamChange (section 2.2.4.12) message.

playIncarnation (4 bytes): A 32-bit field. If this LinkMacToViewerReportEndOfStream message is sent in response to a LinkViewerToMacStopPlaying (section 2.2.4.27) message, the playIncarnation field MUST be set to the value of the playIncarnation field in the LinkViewerToMacStopPlaying (section 2.2.4.27) message. Otherwise, the playIncarnation field MUST be set to the value of the playIncarnation field in the most recently received message of the following message types: LinkViewerToMacStartPlaying and LinkViewerToMacStartStriding.