Streaming FLV files from a FMS

If you use a FMS to stream FLV files to the FLVPlayback component, you must add the main.asc file to your Flash Media Server FLV application. You can find the main.asc file in the samples available online at www.adobe.com/go/learn_fl_samples.

To set up your FMS for streaming FLV files:

  1. Create a folder in your FMS application folder, and give it a name such as my_application.
  2. Copy the main.asc file into the my_application folder.
  3. Create a folder named streams in the my_application folder.
  4. Create a folder named _definst_ inside the streams folder.
  5. Place your FLV files in the _definst_ folder.

To access your FLV files on the Flash Media Server, use a URL such as rtmp://my_servername/my_application/stream.flv.

For more information on administering the Flash Media Server, including how to set up a live stream, see the documentation at www.adobe.com/support/documentation/en/flashcom/. When playing a live stream with FMS, you need to set the FLVPlayback property isLive to true. For more information, see FLVPlayback.isLive.


Flash CS3