126.96.36.199 Request to Start Streaming Content
This higher-layer triggered event can occur when the client is not currently streaming from the server. The event causes the client to send a LinkViewerToMacStartPlaying (section 188.8.131.52) message or a LinkViewerToMacStartStriding (section 184.108.40.206) message to the server. An application asks the client to request the server to start streaming content most often under the following common scenarios:
A cache that has determined that the currently cached copy of the content, if any, is either stale or incomplete.
A server or intermediate device, such as a noncaching proxy, that asks for content to be streamed on behalf of another client.
The State variable in the abstract data model MUST have the value READY for this higher-layer triggered event to be possible. If the value of the State variable is not READY when this event occurs, the client MUST treat this as an error.
Since the ASF file header typically lists multiple streams (2), the higher layer SHOULD specify which of the streams is streamed from the server. The list of selected streams SHOULD be sent to the server using a LinkViewerToMacStreamSwitch (section 220.127.116.11) message.<28>
If the client chooses to send a LinkViewerToMacStreamSwitch (section 18.104.22.168) message, it MUST fill in the fields of the message.
The aStreamEntries field of the LinkViewerToMacStreamSwitch (section 22.214.171.124) message MUST specify the complete selection state of all streams. That is, the aStreamEntries field MUST specify all available streams, and each stream MUST either be marked as on (by specifying the wThinningLevel field as 0x0000) or marked as off (by specifying the wDstStreamNumber field as 0xFFFF), depending on the selection made by the higher layer.
When sending the LinkViewerToMacStreamSwitch (section 126.96.36.199) message, it MUST be sent by the rules specified in section 188.8.131.52.
The client MUST set the value of the Stream-Switch-Sent variable to 1.
Next, if the value of the Trick-Mode-Rate variable is 0, the client MUST send a LinkViewerToMacStartPlaying (section 184.108.40.206) message (as specified in section 220.127.116.11.1) to the server. If the value of the Trick-Mode-Rate variable is 1, the client MUST send a LinkViewerToMacStartStriding (section 18.104.22.168) message (as specified in section 22.214.171.124.2). <29>