182
Configuration Files
If you are mapping a virtual directory to a drive on another computer, make sure that the
computer running Flash Media Server has the right permissions to access the other computer.
Syntax
<VirtualDirectory>
<Streams>key-value;virtual path;directory</Streams>
</VirtualDirectory>
You specify a virtual directory by mapping the client's virtual key to the resource’s actual key.
Setting the key to point to the beginning of the value for the
Streams
tag forces the virtual
directory mapping in a
Streams
to use the original mapping in the original
Streams
tag.
Example
<VirtualDirectory>
<Streams>alphaKey;foo;c:\goodStreams</Streams>
<Streams>betaKey;foo;c:\evenBetterStreams</Streams>
</VirtualDirectory>
You create a stream switching scenario by including more than one copy of the same virtual
path with different keys. This example shows two pointers to the same virtual path using
different keys.
Additional information
Custom stream delivery is a new feature in Flash Media Server 2. This task that is enabled
using a combination of the
VirtualDirectory
and
VirtualKey
tags, and the
Client.virtualKey
and
Stream.setVirtualPath()
APIs.
Contained tag
Streams
See also
VirtualKeys
VirtualHost
Root tag of the Vhost.xml file.
Description
This tag contains all the configuration tags for Vhost.xml
Summary of Contents for FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA...
Page 1: ...Managing Flash Media Server...
Page 6: ...6 Contents...
Page 10: ...10 About This Manual...