Share via


Proxy Plug-in Sample

banner art

Previous Next

Proxy Plug-in Sample

This C++ example illustrates how to use the cache proxy plug-in interfaces to write a proxy plug-in and demonstrates how you can use proxy plug-ins for your Windows Media server.

If this sample plug-in is enabled, clients can use your Windows Media server as their proxy server. When a client uses your server as a proxy between the client and the origin server, the sample plug-in will be used to perform a basic URL rollover function. If the client requests the URL mms://server/media_file.wma, the sample proxy plug-in will attempt to connect to that URL using different protocols, such as https:// and rtsp://, until it successfully connects to the origin server.

  • Note   If you are using this sample from the Platform SDK, you must register it before you can compile with Visual Studio. To do this, click Start, point to Programs, point to Microsoft Platform SDK for Windows Server or the equivalent on your computer, point to Visual Studio Registration, and then click Register PSDK Directories with Visual Studio.

The following sections discuss the WMS SDK Sample Proxy plug-in in more detail.

See Also

Previous Next