3.1.4.8 Request to Finish Streaming Session

This event occurs if the higher layer wants to finish the streaming session. Possible causes include the end user requesting different content start streaming or attempting to exit the client software application.

The client MUST fill in the fields of a LinkViewerToMacCloseFile (section 2.2.4.16) message.

The value of the openFileId field in the LinkViewerToMacCloseFile (section 2.2.4.16) message MUST be set to the value of the File-ID variable in the abstract data model.

If the value of the State variable is STREAMING, the client MUST first request that the server stop streaming, as specified in section 3.1.4.5. Once this is complete, the value of the State variable is READY.

Once the value of the State variable is READY, the LinkViewerToMacCloseFile (section 2.2.4.16) message MUST be sent by following the rules specified in section 3.1.5.1.<36>

The client MUST close the TCP connection to the server.