#################################################################
# 		ReadMe: vod service				#
#								#
#################################################################

The vod (video on demand) service is an Adobe-built application that lets you stream
recorded media to users without writing any code. Flash Media Streaming Server only 
runs Adobe-built applications, also called "signed" applications.
Flash Media Interactive Server and Flash Media Development Server support unsigned (user-created)
applications. If you're using one of these server editions, you can modify the vod service 
source code to create your own applications. 

================================================================
Deploying an unsigned vod service
================================================================
	
1. Create a new folder in the {FMS-Install-Dir}/applications folder. 

2. If you are replacing the default Adobe signed live service, back up 
   the following files: 
   * main.far
   * Application.xml
   * allowedHTMLDomains.txt
   * allowedSWFDomains.txt 

3. Copy files from {FMS-Install-Dir}/samples/applications/vod to the directory you created in step 1.

4. To configure the vod service, open the Application.xml and locate the following element:
   <Streams>/;${VOD_DIR}</Streams>.
   The ${VOD_DIR} variable holds the location of the directory that the vod application
   searches for media files when a stream play request is received. 
   The ${VOD_DIR} value is set in the {FMS-Install-Dir}/conf/fms.ini file. 
   
   Alternatively, the path for media files can be changed in following 
   ways:

	A. Edit the <Streams> element to map to a directory, for example:
	   <Streams>/;C\my_stream_dir</Streams>.

	B. Create a new variable in file conf/fms.ini file, for example:
	   MY_VOD_DIR= C\my_stream_dir. Then edit the <Streams> element in the Application.xml file:
	   <Streams>/;${MY_VOD_DIR}<Streams>.

-------------------------------------------------------------------------

For information about using and configuring the vod service, see
the Developer Guide (flashmediaserver_dev_guide.pdf) in the 
{FMS-Install-Dir}/documentation folder. 

For information about troubleshooting the vod service, see
the Installation Guide (flashmediaserver_install.pdf) in the same location.
