3.3.3 Initialization

When a video presentation is started on the server, the server MUST send a TSMM_PRESENTATION_REQUEST message with the Command field set to TSMM_VIDEO_PLAYBACK_COMMAND_START to the client and the PresentationId field set to a value that is unique to all video presentations in the current session. The server then MUST wait for the client to return a TSMM_PRESENTATION_RESPONSE message indicating whether or not to proceed with the presentation. After the server has received a TSMM_PRESENTATION_RESPONSE message indicating that it can proceed, it MAY start sending TSMM_VIDEO_DATA messages to the client. When the server is about to end the presentation, it MUST send a TSMM_PRESENTATION_REQUEST message with the Command field set to TSMM_VIDEO_PLAYBACK_COMAND_STOP.

If the client encounters an error in the TSMM_PRESENTATION_REQUEST message (for example, the VideoSubtypeId is not set to MFVideoFormat_H264), then it SHOULD ignore the message and not send a TSMM_PRESENTATION_RESPONSE message. The server MUST NOT send TSMM_VIDEO_DATA messages to the client in this case.