The following instructions briefly explain one way to use NetShow Presenter to set up and show the presentation from the CEO in one location to employees in another. Viewers watch the streaming video of the CEO talking and images of the PowerPoint slides on a Web page. The ASF stream and the PowerPoint presentation described in the example are not provided; however, the Web pages that viewers will use to stuff the browser's cache and to view the ASF stream and the slide presentation have been provided in the \Program Files\Microsoft NetShow\Samples directory. To make these Web pages work, you will need to edit the paths and IP addresses in the scripting to reflect the locations of your images and servers.
This example is an overview of how to set up and use NetShow Presenter to send PowerPoint slides as part of an ASF stream. To set up this example, you will need a Real-Time Encoder, a NetShow Server (for unicasting and multicasting), a PowerPoint station, an IIS server (for back-up unicasting of URLs), and a client. The example uses a separate computer for each component, although this doesn't have to be the case in all situations. It is possible to double up NetShow components on computers, although if you do this, be sure that the CPU on the computer that you use as the ASF Real-Time Encoder isn't overwhelmed. Encoding video and audio into an ASF stream is extremely CPU intensive and forcing that computer to encode audio and video, and do other tasks may cause the Real-Time Encoder to lock up.
Before the presentation begins, the presenter should announce the lobby Web page URL and when to go to that URL. When a viewer opens the Web page, a control within the page begins streaming images of the PowerPoint Slides to the viewer's browser. These images are placed into the browser's cache. By pre-loading the images into the browser's cache, you eliminate the time it would take the browser to download the images from the IIS server. When it is time for the presentation to begin, the lobby Web page automatically flips over to the main Web page that contains NetShow Player and begins rendering the video. Part of the ASF stream is script commands that send URL flips to the browser. These script commands are sent by the CEO, who triggers the URL flips by switching slides in PowerPoint. Because these URLs point to images that are already in the browser's cache, the browser can instantly display the image.
NetShow Presenter connects to the specified computer and exports the PowerPoint slides as images.
Examples of these Web pages are in the \Program Files\Microsoft NetShow\Samples\Presenter directory. To make these Web pages work, you will need to edit the paths and IP addresses in the scripting to reflect the locations of your images and servers. The lobby Web page contains a hidden file transfer control which is used to stuff the viewer's computer cache with the images of the presentation slides. Stuffing the viewer's cache means that the viewer won't have to wait while their computer downloads the image because the image will already be available. The main viewing page contains a frame for watching the video stream, a frame for viewing the presentation slides, and a hidden file transfer control that continues to stuff the computer's cache with images of the presentation slides. The main viewing page contains a file transfer control so that, if the viewer didn't get all the images at the lobby page, hopefully the remaining images will be transferred into the cache before the image is called by the script command in the ASF stream. If the main web page were to receive a script command that called for an image that wasn't in the computer's cache, the browser would download the image from an HTTP server that contained copies of the presentation images.
When viewers open the lobby Web page, the file transfer channel opens and begins transferring the presenation images to the computer's cache. At the time when you are going to start the presentation, the lobby Web page should automatically flip to the main Web page. The code to cause the lobby web page to flip to the main Web page is already in the lobby Web page. All you need to do is enter the correct time when the Web page should flip and the URL of the main Web page.
The Real-Time Encoder will start delivering the video to NetShow Server, but NetShow Server won't stream the video to viewers until the Programs have been started. This step comes later.
The Real-Time Encoder Settings dialog box appears.
The BaseURL is important because when you move from slide to slide in the presentation, Presenter appends the name of each image to the URL and then sends this URL as a script command to the client. On the Image Format menu, select JPEG. Check the Use Real-Time Encoder (RTE) during slide show check box. Select Connect to running Real-Time Encoder. In the ASD File box, type the path to the .asd file you created in step 3. Click OK.
When you start the programs, NetShow Server begins delivering information. Any viewer who goes to the lobby will begin receiving the file transfer of the presentation images.
The PowerPoint presentation starts and connects to the Real-Time Encoder. The Real-Time Encoder starts streaming the video and audio. When the CEO switches slides, PowerPoint sends a URL script command to the ASF Real-Time Encoder, which then includes the command as part of the ASF stream multicast. When NetShow Player receives the URL script command, it sends the URL to the browser, which checks its cache before it downloads the URL from the network. The URL should already be in the cache and the image that pertains to the URL should be displayed in the browser frame. However, if the URL isn't in the cache, then the browser downloads the URL from the IIS server.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.