MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 184

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 183
184 Configuration Files
Syntax
<VirtualDirectory>
<Streams>key-value;virtual path;directory</Streams>
</VirtualDirectory>
You specify a virtual directory by mapping the client's virtual key to the resources 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
Vedere la pagina 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 239 240

Commenti su questo manuale

Nessun commento