2.2.4.7 LinkMacToViewerReportOpenFile

The LinkMacToViewerReportOpenFile message is sent by the server in response to a LinkViewerToMacOpenFile (section 2.2.4.21) message by the client.


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

openFileId

padding

fileName

fileAttributes

fileDuration

...

fileBlocks

unused1 (16 bytes)

...

...

filePacketSize

filePacketCount

...

fileBitRate

fileHeaderSize

unused2 (36 bytes)

...

...

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

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

hr (4 bytes): HRESULT. Result of processing the client LinkViewerToMacOpenFile (section 2.2.4.21) request. For HRESULT codes, see [MS-ERREF].

playIncarnation (4 bytes): A 32-bit field. It MUST be set to the value of the playIncarnation field in the message received from the client that triggered the transmission of this LinkMacToViewerReportOpenFile message. The message is either a LinkViewerToMacOpenFile (section 2.2.4.21) message or a LinkViewerToMacSecurityResponse (section 2.2.4.24) message.

openFileId (4 bytes): A 32-bit field. It SHOULD be set by the server in such a way that when the client echoes the value of this field in the RequestPacketListResend (section 2.2.5) packet (or in other messages that contain an openFileId field), the server can identify the file referred to in the message.

padding (4 bytes): A 32-bit field. It SHOULD be set to 0x00000000 and MUST be ignored by the receiver.

fileName (4 bytes): A 32-bit field. It MUST be set to 0x00000000.

fileAttributes (4 bytes): A 32-bit field. It MUST specify the attributes of the content by using a bitwise OR combination of the flags in the following table.

Value

Meaning

FILE_ATTRIBUTE_MMS_CANSTRIDE

0x00800000

 Specifies that the server supports fast forward and rewinding of content.

FILE_ATTRIBUTE_MMS_CANSEEK

0x01000000

 Specifies that the server supports seeking in content.

FILE_ATTRIBUTE_MMS_BROADCAST

0x02000000

Specifies that the content is a broadcast stream (2) (the same stream can be shared by multiple clients).

FILE_ATTRIBUTE_MMS_LIVE

0x04000000

Specifies that the content is a live stream.

FILE_ATTRIBUTE_MMS_PLAYLIST

0x40000000

Specifies that the content is part of a multiple item server-side playlist.

fileDuration (8 bytes): A DOUBLE data type field. It MUST be set to the duration, in seconds, of the current playlist entry, specified as a double precision floating point number. If the duration is unknown (for example, for live content, the fileDuration field MUST be set to 0).

fileBlocks (4 bytes): An unsigned 32-bit integer. It MUST be set to the duration, in seconds, of the current playlist entry. If the duration is not an integer number of seconds, it MUST be rounded to the nearest higher integer value.

unused1 (16 bytes): An array of 16 bytes. Each byte in this field MUST be set to 0x00.

filePacketSize (4 bytes): An unsigned 32-bit integer. It MUST be set to the maximum size, in bytes, of the ASF data packets to be transmitted by the server for this playlist entry.

filePacketCount (8 bytes): An unsigned 64-bit integer. It MUST be set to the number of ASF data packets in the content. If this information is unavailable, the field MUST be set to 0x0000000000000000.

fileBitRate (4 bytes): An unsigned 32-bit integer. It MUST be the sum of the maximum bit rates (in bits per second) of all streams in the current playlist entry.

fileHeaderSize (4 bytes): An unsigned 32-bit integer. It MUST be set to the size, in bytes, of the ASF file header for the current playlist entry.

unused2 (36 bytes): An array of 36 bytes. Each byte in this field MUST be set to 0x00.<10>