3.1.4.5 Request to Stop Streaming

This event occurs if the higher layer wants to stop streaming. The end user can request that streaming stop or request to seek to some position in the content while the client is currently streaming multimedia content from a different position.

The State variable in the abstract data model MUST have the value STREAMING for this higher-layer triggered event to be possible. If the value of the State variable is not STREAMING when this event occurs, the client MUST treat this as an error.

The client MUST fill in the fields of a LinkViewerToMacStopPlaying (section 2.2.4.27) message.

The value of the openFileId field in the LinkViewerToMacStopPlaying message MUST be set to the value of the File-ID variable in the abstract data model.

The value of the playIncarnation field in the LinkViewerToMacStopPlaying message MUST be set to the value of the PlayIncarnation-For-Stop variable.

The LinkViewerToMacStopPlaying message MUST be sent by following the rules specified in section 3.1.5.1.

The client MUST set the value of the Stop-Sent variable to 1.

The client MUST fill in the fields of a LinkViewerToMacLogging (section 2.2.4.20) message.

The value of the dwSourceId field in the log structure of the LinkViewerToMacLogging message MUST be set to the value of the File-ID variable.

After sending the LinkViewerToMacStopPlaying message, the LinkViewerToMacLogging message MUST be sent by following the rules specified in section 3.1.5.1.<35>

After sending the LinkViewerToMacLogging message, the client MUST wait for the LinkMacToViewerReportEndOfStream (section 2.2.4.5) message to be received. How to process this message is specified in section 3.1.5.18.