
XML configuration files 183
Example
<VirtualDirectory>
<Streams key="A">foo;c:\streams\on2</Streams>
<Streams key="B">foo;c:\streams\sorenson</Streams>
<Streams key="">foo;c:\streams</Streams>
</VirtualDirectory>
The Key attribute matches the key found in the Flash Player string FlashVer on the client,
which is automatically sent to Flash Media Server with the login.
The administrator sets the key. The
client object in the server-side script has the writable
client.virtualKey property. Flash Player 8 and Flash Player 9 are assigned Key A; earlier
versions of the player get
Key B. When the client plays a stream, it will use the appropriate
key. The replay of a recorded stream fails if the player does not find a key.
See also
VirtualDirectory
UpdateInterval
Located in LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.
This tag specifies how frequently thread statistics are collected for reused messages.
Description
The default count is 1024 messages.
VirtualDirectory
This tag contains the virtual directory mappings for resources such as recorded streams.
Description
Virtual directories let you share resources such as recorded streams across different
applications. Virtual directories let multiple applications share the resources located in an
application directory. When the beginning portion of a resource's URI matches a specific
virtual directory, Flash Media Server maps the storage location of the resource to the virtual
directory.
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.
Commenti su questo manuale