Skip to main content
Participating Frequently
February 19, 2007
Question

Recording to server while using FME.

  • February 19, 2007
  • 1 reply
  • 217 views
I'm using Flash Media Encoder locally and FMS2 on my server. Everything works perfectly as far as audio/video/chat. I would now like to begin recording the cam shows on the server, so that clients can later view the shows.

I can find many many turorials on how to do this if you are using client side applications created in Flash, but nothing on how to do it if you are using the FME Beta.

So I guess what I am asking is, are there resources for recording my stream from the server only? Or how can I go about capturing the video on the server for later playback by other clients?

Basically I have a stream going to the server, I need to record it on the server, then later access that recorded file.

Thanks,
Bill
    This topic has been closed for replies.

    1 reply

    Known Participant
    February 20, 2007
    if you are using Flash media encoder then you will not be able to record via a client side code

    you have to do it Server side

    Example
    The following example opens a stream s and, when it is open, plays sample and records it.
    Because no value is passed to the record method, the default value, record, is passed.



    quote:


    // Start recording.
    s = Stream.get("foo");
    if (s){
    s.play("sample");
    s.record();
    }
    // Stop recording.
    s = Stream.get("foo");
    if (s){
    s.record(false);
    }


    go to you flash media server installation folder go to documentation folder open flashmediaserver_ss_asd.pdf