Skip to main content
Inspiring
May 24, 2011
Question

play recorded video from another room

  • May 24, 2011
  • 1 reply
  • 670 views

Hi all!

is it possible to play recorded video file which is stored in another room(instance)?

for example, I have file "video.flv" on the server at "/streams/room1"
if user is connected to room2, can he ask flash media server to play "video.flv" from the room1;

something like this, client side:

var ns:NetStream = new NetStream(nc);   
ns.play("../room1/video", 0);
    This topic has been closed for replies.

    1 reply

    May 25, 2011

    Hi,

    No it is not possible to access and play media file from the instance room1 if the user is connected to room2 instance of the fms app.

    Instead you can create a common repository for the media files so any user connecting to either instance of the fms application can access the content.

    Please refer the section "Mapping virtual directories to physical directories" in  this fms help doc linked at http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2925e64-7fc7.html#WS5b3ccc516d4fbf351e63e3d119f2925e64-7fc4 . This details how to use virtual directories to map physical location which stores the media files and can act as a common share.

    You can keep a copy of Application.xml within the fms application folder and make the virtual directory settings there so that the changes apply to only that fms application. But if you make the settings in the Application.xml at \fms_install dir\conf\_defaultRoot_\_defaultVHost_\ then the settings apply to all apps under _defaultVHost_fms

    Regards

    Mamata

    Inspiring
    May 25, 2011

    thank you!