Skip to main content
Inspiring
September 20, 2011
Question

Netstream record ok - But need help to play the record after

  • September 20, 2011
  • 1 reply
  • 1297 views

Hello,

I use amazon EC2 with fms.

I can publish and record microphone and webcam, but after i want to play the record.

I use the same link that i use for publish record but i cannot access to my record.

I see my record in the admin consol.

I think that i must activate the progessive download?

But i dont know how and where.

Can you help me please?

Thanks a lot

Oeann

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    September 20, 2011

    When you say "I use the same link that i use for publish record but i cannot access to my record." - what are you using - does that link have capabilty to playback the content.

    Say if you are publishing to say application called "myapp" with streamname as "mp4:mystream.f4v" (assuming you are publishing in F4V container) - you should be easily able to play it back using any simple playback client.

    If you dont have any client - you can use hosted Flash Media Playback client present here: http://www.osmf.org/configurator/fmp/

    You just need to make below changes

    Change Video Source to "rtmp://<amazonInstanceURI>/myapp/mp4:mystream.f4v" and in Advanced tab - just choose Recorded option as StreamType

    oeannAuthor
    Inspiring
    September 20, 2011

    thanks for you reply but not resolve my problem...

    i publish record with this code and is ok:

    nc = new NetConnection();

    nc.addEventListener(NetStatusEvent.NET_STATUS, nc_netStatusHandler);

    nc.client = this;

    nc.connect("rtmp://xxx-xx-xx-xx-xx.compute-1.amazonaws.com/music");

    ns = new NetStream(nc);

    ns.attachAudio(mic);

    if(webcam!=null)

    {

            if(webcamActivate==true)

            {

                ns.attachCamera(webcam);

            }

    }

    ns.publish("mp4:test.mp4", "record");

    and for replay my record i use flvplayback

    but cannot found my record...

    flvplayer.source = "rtmp://xxx-xx-xx-xx-xx.compute-1.amazonaws.com/music/mp4:test.mp4"

    flvplayer.play();

    in the past i was with influxis an i process with this step and work.

    then i am with fms with a server test and dont work for replay.

    i think that  i must activate progressive download but i dont know how in the config of server.

    and excuse me for my english i speak french....

    thanks to help me again

    Oeann

    Nikhil_Kalyan
    Participating Frequently
    September 20, 2011

    Hi,

    Thanks for using FMS on Amazon.

    Few quick checks :

    1. did you check that the recording is happening at /mnt/applications/music ? If not, make sure the dir has sufficient privileges to record.

    2. check the logs /mnt/logs to see if there are any errors