Connecting to the server
19
FLV and IDX
files
Recorded streams and their associated index files. When the server
generates streams, it also generates a streams directory in the registered application directory
and stores FLV and IDX files in a subdirectory specific to the application instance (for
example, /applications/chat_app/streams/instance2).
SOL, SOR, and FSO files
Shared object files. An SOL file is persistent on the client; an
FSO file is persistent only on the server; an SOR files is persistent on the client and has a
matching FSO file that is persistent on the server. The location of shared object files varies
depending on what kind of shared object it is.
For more information on where Flash Media Server stores stream and shared object files, see
“Coding conventions” on page 101
.
For more information about shared objects, see
“About shared object files” on page 82
.
Connecting to the server
To connect to an instance of Flash Media Server, you first start the service and then issue
new NetConnection
and
NetConnection.connect()
commands in your client-side script.
These tasks are discussed in this section.
Starting the service
If the server is not already started, you can start it manually. From the Windows Start menu,
select Programs > Macromedia > Macromedia Flash Media Server 2> Start Flash Media
Admin Server and Flash Media Server. On Windows, to confirm that the service is running,
open the Task Manager and make sure that both FMSAdmin.exe and FMSMaster.exe are
listed in the Processes tab.
On Linux, open a shell window, change to the directory where you installed Flash Media
Server, and, as a root user, type
fmsmgr fms server start
.
NO
TE
Applications can connect to Flash Media Server by using RTMP (Routing Table
Maintenance Protocol) or RTMPS (Routing Table Maintenance Protocol over SSL
(Secure Socket Layer)).
TIP
Although you can use components to connect to the server, first learn how to connect by
using ActionScript, as described in this section.
Summary of Contents for FLASH MEDIA SERVER 2-DEVELOPING MEDIA
Page 1: ...Developing Media Applications ...
Page 6: ...6 ...
Page 10: ...10 About This Manual ...
Page 36: ...36 Flash Media Server Architecture ...
Page 80: ...80 Debugging and Monitoring Applications ...
Page 106: ...106 Application Development Tips and Tricks ...
Page 114: ...114 ...