
242
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
<VirtualKeys>
<Key from="WIN 8,0,0,0" to="WIN 9,0,45,0">A</Key>
<Key from="WIN 6,0,0,0" to="WIN 7,9,9,9">B</Key>
<Key from="MAC 8,0,0,0" to="MAC 9,0,45,0">A</Key>
<Key from="MAC 6,0,0,0" to="MAC 7,9,9,9">B</Key>
</VirtualKeys>
In the
VirtualDirectory
element, you map virtual directories used in URLs to physical directories containing
streams. In the following example, if a client with key
A
requests a stream with the URL
NetStream.play("vod/someMovie")
, it is served the stream c:\on2\someMovie.flv. If a client with key
B
requests a
stream with the URL
NetStream.play("vod/someMovie")
, it is served the stream c:\sorenson\someMovie.flv.
<VirtualDirectory>
<Streams key="A">vod;c:\on2</Streams>
<Streams key="B">vod;c:\sorenson</Streams>
</VirtualDirectory>
Note:
You can also set these values in a server-side script. For more information, see the
Client.virtualKey
and
Stream.setVirtualPath()
entries in the Server-Side ActionScript Language Reference.
For more information, see the “Configuring content storage” section of the
Configuration and Administration Guide
at
www.adobe.com/go/learn_fms_content_en
.
See also
VirtualKeys
LocalAddress
This element binds an outgoing edge connection to a specific local IP address.
The
LocalAddress
element lets you allocate incoming and outgoing connections to different network interfaces. This
strategy is useful when configuring an edge to either transparently pass on or intercept requests and responses.
If the
LocalAddress
element is not specified, then outgoing connections bind to the value of the
INADDR_ANY
Windows system variable
.
See also
Proxy
Logging
Container element.
Contains elements that control logging.
Contained elements
LogInterval
Specifies how often to log a checkpoint, in seconds. This value should be larger than the value for
CheckInterval
. If
the value is smaller, the server logs a checkpoint every check interval. The default value is 3600 seconds (60 minutes).