Export (0) Print
Expand All

4.3 General Sequence

The following list shows the sequence of TCP packets that pass over the wire when the client attempts to stream a media file from the server using the MMS Protocol. The sequence assumes that the media stream does not require authentication and that the client does not request packet-pair bandwidth estimation.

Sequence of TCP packets

Figure 3: Sequence of TCP packets

  1. The client requests a connection from the server by sending a LinkViewerToMacConnect message.

  2. The server responds with a LinkMacToViewerReportConnectedEX message.

  3. The client requests information from the server with a LinkViewerToMacFunnelInfo message.

  4. The server responds with a LinkMacToViewerReportFunnelInfo message.

  5. The client chooses a specific port and requests that the server use it to send streaming media content by sending a LinkViewerToMacConnectFunnel message.

  6. The server responds by sending a LinkMacToViewerReportConnectedFunnel message to notify the client that it will use the requested port.

  7. The client requests, by name, the specific media file it needs to have streamed to it from the server by sending a LinkViewerToMacOpenFile message.

  8. The server responds that it was able to open the requested file with a LinkMacToViewerReportOpenFile message.

  9. The client requests the file header from the server by sending a LinkViewerToMacReadBlock message.

  10. The server responds with a LinkMacToViewerReportReadBlock message, also sending the file header information as a Data packet.

  11. The client requests the streams it needs from the server by sending a LinkViewerToMacStreamSwitch message.

  12. The server responds with a LinkMacToViewerReportStreamSwitch message.

  13. The client requests that the server begin streaming the media file by sending a LinkViewerToMacStartPlaying message.

  14. The server responds with a LinkMacToViewerReportStartedPlaying message and also sends a stream of Data packets.

  15. During file playback, the client can send a LinkViewerToMacStopPlaying message.

  16. The server sends a LinkMacToViewerReportEndOfStream message to the client either in response to the client's request or because the end of the stream has been reached.

  17. The client sends a LinkViewerToMacLogging message that contains the log information.

  18. The client sends a LinkViewerToMacCloseFile message. The client closes the network socket connection.

Show:
© 2016 Microsoft