Skip to main content
Participant
February 24, 2010
Question

Streaming videos from virtual location on Flash Streaming Server

  • February 24, 2010
  • 1 reply
  • 1994 views

I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it....Thanks

    This topic has been closed for replies.

    1 reply

    February 24, 2010

    Have you checked out the "Configuring content storage" section of the FMS docs?

    http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2925e64-7fc7.html

    HTH,

    Jody

    AgrawallAuthor
    Participant
    February 26, 2010

    Thanks for your response. The existing stream tag is <streams>/;${VOD_DIR}</streams>. I added another <streams> tag in the Application.xml. <streams>/;c:\sandrive\streaming\vod3</streams>. I am trying to access the stream rtmp://mydomain/vod/test.flv ..it is still not working.

    February 26, 2010

    First see if you can access a stream in a virtual directory location that isn't using a mapped drive.

    Try these steps:

    1. Copy the "sample.flv" file from C:\Program Files\Adobe\Flash Media Server 4\applications\vod to a new folder C:\vodtest.
    2. In the conf\fms.ini file, enter a "#" before the the VOD_DIR line. Add a new line: VOD_DIR = C:\vodtest    
    3. Add a field to the Logger.xml file to show you the physical location of the recorded file.
      1. Open the conf\Logger.xml file.
      2. In the <Access><Fields> tag, add x-file-name.
    4. Restart Flash Media Server
    5. Open the sample video player: C:\Program Files\Adobe\Flash Media Server 4\samples\videoPlayer\videoplayer.html
    6. In the sample video player STREAM URL field, enter rtmp://localhost/vod/sample. Make sure VOD is checked and click PLAY STREAM.
    7. Open the logs\access.00.log file to see the physical location of the stream. In this example, it should be C:\vodtest\sample.flv.

    If you can play a file from this location, but you can't play a file from a mapped drive, check the permissions on the drive.

    Here is the text from "Mapping Directories to Networked Drives":

    By default, the server runs as System Account with no access to network drives. You can change the service user to a user with network access privileges with a UNC path.

    A Windows network-mapped drive is not valid when a user is logged out. If the server is running as a service and the user is logged out, the mapped drive is removed as well. To run with the mapped drive, lock the server instead of logging out. Using the UNC path is preferred when the server is running as a service.