Skip to main content
Participant
November 10, 2006
Question

Audio / Video Recorder Web Application

  • November 10, 2006
  • 1 reply
  • 329 views
I want to know, if your professional opinion, Can this be done?
I have A webserver (e-learning LMS), that allows users to create a e-Learning course. they have options to (upload file, add links, etc) we want to add a new option (Podcast) where if they select this then:-

- The next screen they see if a flash Apps (with option to select 'audio' or 'audio/video')
- Assuming their (mic and video cam setup ok) they just click on record button and they can start to create a podcast (maybe a lesson review), when done they can review the video/audio recorded, if ok they press [OK] button.

Up to this point (im sure all this can be done), so in the end the result is. the recorded podcast would be in the (2nd server) which i would have Flash Media Server installed.(INSIDE THE c:\program files\adobe\flash media server\applications\my_podcast_aps\streams)

Question1: can i change the location of where the flv files are created?
Question2: can i return the URL to the flv file created?
Question3: if i cant change the location of the created flv, then how can i play the flv (on a different server)?

Thanks.. Appreciate Any replies.. even span...

ALso.. i was at MAX2006 SIngapore (good job adobe!)....didint manage to find the answer there.... :(

    This topic has been closed for replies.

    1 reply

    November 10, 2006
    quote:


    Question1: can i change the location of where the flv files are created?



    Sure... you just need to add an application.xml file with the desired location. See the docs:

    Managing Flash Media Server > Configuration Files > XML configuration files > Application.xml file

    Just be sure the server's FMS user has adequate permissions to write to the location you specify.

    quote:


    Question2: can i return the URL to the flv file created?



    Assuming your FMS app is aware of the URL, you can. FMS won't do any sort of redirection, but you can have your FMS app pass the url back to the client, and let your client side AS decide what to do with it. FMS doesn't do this by itself... you'll need to write some server side AS to get the job done. There are a lot of different approches you can take here... maybe something like:

    On the server

    Client.prototype.returnStreamURL = function(){
    return " http://mysite.com/myFLVDir/"+nameOfStream+".flv";
    }

    on the client:

    myNetConnection.call("returnStreamURL", new onReturnStreamURL());
    function onReturnStreamURL(){
    this.onResult = function(url){
    trace("FLV URL is "+url);
    }
    }