MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Bedienungsanleitung Seite 112

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 155
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 111
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
109
<Key from="WIN 8,0,0,0" to="WIN 9,0,59,0">A</Key>
<Key from="WIN 6,0,0,0" to="WIN 7,0,55,0">B</Key>
</VirtualKeys>
Next, in the VirtualDirectory section of the Vhost.xml file, map the virtual keys to a virtual path and a physical
directory, which are separated by a semicolon (for example,
foo;c:\streams). To set up several virtual directories
for different Flash Player versions, use the same virtual path with different physical directories for each
Streams tag,
as shown in this example:
<VirtualDirectory>
<Streams key="A">foo;c:\streams\on2</Streams>
<Streams key="B">foo;c:\streams\sorenson</Streams>
</VirtualDirectory>
Flash Media Interactive Server serves the client a stream from whichever virtual directory the virtual key is mapped
to. For example, if the client is Flash Player 8 and the call is
myNetStream.play("foo/familyVideo"), the
Streams element with key A would be used and the client would be served the higher-quality stream
c:\streams\on2\familyVideo.flv. If the client is Flash Player 7, the same URL maps to the sorenson stream directory
and the c:\streams\sorenson\familyVideo.flv file plays.
It is most common to change the values of the
VirtualKeys and VirtualDirectory elements in the Vhost.xml file.
However, you can call
Stream.setVirtualPath() to create Streams elements and you can use
Client.virtualKey to set a clients Key value.
For more information about the Vhost.xml file, see Adobe Flash Media Server Configuration and Administration
Guide.
Availability
Flash Media Server 2
Parameters
virtualPath A string indicating the virtual directory path of a stream. If the stream is not located in the virtual
path, the default virtual directory path is searched.
directory A string indicating the physical directory in which to store streams.
virtualKey A string that sets or removes the key value for each Streams entry.
Note: To indicate a slash in the
virtualPath and directory parameters, you must use a forward slash (/) or a double
backslash (
\\). In strings, single backslashes are used to escape characters. A double backslash is the escape sequence for
a backslash character.
Example
The following code sets the virtual key to
B, the virtual path to foo, and the physical directory to c:\streams\on2:
Stream.setVirtualPath("foo", "c:/streams/on2", "B");
Stream.size()
Stream.size(name[, virtualKey])
Static; returns the size of a recorded stream in bytes.
Availability
Flash Media Server 2
Seitenansicht 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 154 155

Kommentare zu diesen Handbüchern

Keine Kommentare

MD Building Products 87684 manuály

Uživatelské manuály a uživatelské příručky pro ne MD Building Products 87684.
Poskytujeme 1 manuály pdf MD Building Products 87684 ke stažení zdarma podle typů dokumentů: Instalační příručka


Tabulka s obsahem





Další produkty a příručky pro ne MD Building Products

Modely Typ Dokumentu
03822 Instalační příručka   MD Building Products 03822 Installation Guide, 1 stránky
71480 Instalační příručka   MD Building Products 71480 Installation Guide, 1 stránky
70409 Instalační příručka   MD Building Products 70409 Installation Guide, 1 stránky
73098 Instalační příručka   MD Building Products 73098 Installation Guide, 1 stránky
06635 Manuál s instrukcemi   MD Building Products 06635 Instructions / Assembly, 1 stránky
03772 Instalační příručka   MD Building Products 03772 Installation Guide, 1 stránky
70144 Instalační příručka   MD Building Products 70144 Installation Guide, 1 stránky
69962 Instalační příručka   MD Building Products 69962 Installation Guide, 1 stránky
69609 Instalační příručka   MD Building Products 69609 Installation Guide, 1 stránky
02071 Instalační příručka   MD Building Products 02071 Installation Guide, 1 stránky
50005 Instalační příručka   MD Building Products 50005 Installation Guide, 1 stránky
50144 Instalační příručka   MD Building Products 50144 Installation Guide, 1 stránky
43251 Instalační příručka   MD Building Products 43251 Installation Guide, 1 stránky
69138 Instalační příručka   MD Building Products 69138 Installation Guide, 1 stránky
43250 Instalační příručka   MD Building Products 43250 Installation Guide, 1 stránky
70441 Instalační příručka   MD Building Products 70441 Installation Guide, 1 stránky
02352 Instalační příručka   MD Building Products 02352 Installation Guide, 1 stránky
69791 Instalační příručka   MD Building Products 69791 Installation Guide, 1 stránky
25756 Instalační příručka   MD Building Products 25756 Installation Guide, 1 stránky
03426 Instalační příručka   MD Building Products 03426 Installation Guide, 1 stránky