Skip to main content
Participant
September 26, 2008
Question

Problems with live recordings and vod together

  • September 26, 2008
  • 1 reply
  • 674 views
Hopefully someone is able to help figure this out because it no longer makes sense to me..

Context
- Flash Media Server 3 / W2K3 / 2x Quad Xeon / 4G Ram.
- Content on Clustered W2K3 filers connected to SAN - Flash connects using AD service account - full control on fms dirs.
- Serving pre-recorded vod content - flash apps (whiteboard) - custom app (allows user to record/upload video)

LIVE_DIR = \\filer-media\media$\fms\applications\live
VOD_DIR = \\filer-media\media$\fms\applications\vod\media
VHOST.APPSDIR = \\filer-media\media$\fms\applications
APP.JS_SCRIPTLIBPATH = \\filer-media\media$\fms\scriptlib

Here's what's causing my confusion....

when i have the above config - neither the vod or the upload works.
If i comment out the vod, the upload works, files show up in the live dir - but obviously vod doesn't work.
If i comment out the appsdir (uncomment vod)- the uploads stop working, but the vod works again.

Anyone know why I would be getting this behaviour? when i run fmscheck --app vod or --app live -everything comes back fine.

Please, please, please help. Thanks to all for reading.... hopefully i'm an idiot and someone might see something simple that i've just not done correctly.

A.

    This topic has been closed for replies.

    1 reply

    September 29, 2008
    what I may guess is that you are probably using the live app to record a user video which eventually gets recorded in directory LIVE_DIR. And the app uses application/vod to view prerecorded content.



    Did you try making LIVE_DIR same as VOD_DIR:
    i.e. LIVE_DIR = \\filer-media\media$\fms\applications\vod\media


    PS: I hope you are using FMIS with custom Live app as default Live app with FMS 3 doen't support server side recording.

    Participant
    September 29, 2008
    Thanks Pankaj - i gave that a try and still no luck. It would seem that the live recording to the server works whether or not it is in the vod directory. This is what it so confusing. Right now the app that records user webcam videos and the apps that allow users to whiteboard together both work with the paths below. Can't get the vod to work at all though.

    i've changed the paths to the following - still can't get vod to work...

    LIVE_DIR = \\filer-media\media$\fms\applications\vod\media\live ( \media\live and just \media both work the same)
    VOD_DIR = \\filer-media\media$\fms\applications\vod\media
    VHOST.APPSDIR = \\filer-media\media$\fms\applications
    APP.JS_SCRIPTLIBPATH = \\filer-media\media$\fms\scriptlib


    We are in fact using a custom live app that was developed by one of our teams. The vod content consits of original shows produced by us for TV and encoded to flv.

    Do i need to set the <storagedir/> to something ? is there some other parameter I haven't config'd that i should?

    Still no luck getting the two to work together.

    Thanks again for the help!

    A.
    September 30, 2008
    "when i have the above config - neither the vod or the upload works. If i comment out the vod, the upload works, files show up in the live dir - but obviously vod doesn't work. "

    Please check <Streams> tag in in various Application.xmls (especially in the live app) to know how you 'custom live app' is using LIVE_DIR. Ideally,with default FMIS live app, VOD_DIR would not interfere with live app.

    The default FMIS VOD app should work fine if a video file is placed in VOD_DIR. If I were you, I would have tried testing default vod app with sample file and sample player (vodtest.html ) to check that it works in a fresh intallation and then do some incremental changes of modifying VOD_DIR to a network path like \\filer-media\media$\fms\applications\vod\media. This would have helped in isolating the problem.

    As you custom live app is working, I hope that there is nothing to suspect in that.

    As fmscheck tool says that everything is fine, you may also want to make sure that rtmp url and streamname that you use to play a vod file are correct. If there is some problem in finding video file due to faulty VOD_DIR path , FMS returns streamNotFound status on Netstream.onStatus.