Skip to main content
Sep 24, 2010 1:51 PM UTC
Question

Question about download progress from FMS

Hi, I've installed FMS 3.5 , download video files from it. But how can I determine video download progress, when properties bytesTotal and bytesLoaded of my netStream object  = 0 ? amountLoaded = ns.bytesLoaded / ns.bytesTotal;  - doesn't work

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Sep 25, 2010 9:59 PM UTC

    So, what method should I use to determine streaming download progress? Do I have to write any server-side script?

    Translate
    Sep 24, 2010 2:18 PM UTC

    BytesLoaded and bytestotal are only for progressive download. There is no concept of bytesloaded and bytestotal for RTMP streams.

    Translate
    Petro_O__Bochan
    Inspiring
    Sep 25, 2010 9:59 AM UTC

    Client side - AS2: ns.setBufferTime(5); AS3: ns.bufferTime = 5.

    Translate
    Sep 25, 2010 9:40 PM UTC

    What? Buffer time is not the same as load progress.

    Translate