Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 47

Thread: Dynamic Bandwidth Detection (BWCheck)

  1. #11
    Join Date
    Sep 2009
    Posts
    115

    Default

    Thanks Richard, but I was aiming at something else.
    Suppose I have a myFIle that I send to the user,
    and i want to calculate how long it will take for the user to recieve it.
    I know my file size, but i dont know what`s the user download speed.
    How can I tell the user`s download speed by this data, please ?

  2. #12
    Join Date
    Dec 2007
    Posts
    25,673

    Default

    "latency" is how long will it take to start playing

    The speed at which it will play once it starts is indicated by kbitDown

    Richard

  3. #13
    Join Date
    Sep 2009
    Posts
    115

    Default

    Thanks Richard so if
    kbitDown:1000
    it means it loads 1000kbit per second ?
    and if , then i want to send a file of 1000kbit to the user
    it will be transferred in:
    1 second + latency ?

  4. #14
    Join Date
    Dec 2007
    Posts
    25,673

    Default

    There is a kbitDown number and latency number. One is not the other. Obviously this is about re-inventing a way to do Dynamic Streaming, because you said yesterday that you don't think the QoS metrics built-in to Flash using the NetStream.info object are adequate. I really don't agree with that premise. I suggest you backup and take a better look at NetStream.info object. Here is another Adobe article:

    http://www.adobe.com/devnet/flashmed...ionscript.html

    Richard

  5. #15
    Join Date
    Sep 2009
    Posts
    115

    Default

    You must have had someone else in mind when sending this message, Richard.
    Which makes a lot of sense to me, Considering you must be answering such a multitude of questions by so many users.
    Please believe me I have no issue with the QoS metrics built-in to Flash, nor the NetStream.info.
    I`m simply trying to use this BWcheck module as a means of claculating how long will it take the user to recieve a specific big file (the file`s not being sent with NetStream at all).
    Neither did I assume that latency and kBitDown are the same.
    I just attempted to determine if the formula for calculating how long a file will take to be transferred (assuming bandwidth is not constant) would be:
    Code:
    Latency + kbitDown*fileSize in kbits
    Is my formula correct ?
    If not, what would be the right formula, please ?
    Also, you said:
    "latency" is how long will it take to start playing

    The speed at which it will play once it starts is indicated by kbitDown
    In what units is measured latency ? seconds ?
    and in what units is measured kbitDown? kbits per second ?
    Many thanks

  6. #16
    Join Date
    Dec 2007
    Posts
    25,673

    Default

    Code:
    You must have had someone else in mind when sending this message, Richard.
    Oh, whoops, sorry about that. Please excuse me.

    Yes, it is in seconds: kbs = kilobits per second. I think the forumula would be:

    Latency + fileSize in kilobits / kbitdown

    Richard

  7. #17
    Join Date
    Sep 2009
    Posts
    115

    Default

    Please excuse me.
    Surely there`s no need for any excuse at all...
    Quite the opposite - Thank you for your swift responses and assistance !
    Thank you for asserting my assumption about the units AND for correcting my formula. Of course it`s divided and not multiplied.

    Again , many thanks - you`ve helped me a great deal.

  8. #18
    Join Date
    Sep 2009
    Posts
    115

    Default

    Please just another question:
    Is KILO calculated in the wowza server in standard notation as in 1 Kilobit= 1024 bits or in IEEE notation as in 1 Kilobit=1000bits, please ?

  9. #19
    Join Date
    Dec 2007
    Posts
    25,673

    Default

    I think it is 1024.

    Richard

  10. #20
    Join Date
    Dec 2007
    Posts
    25,673

    Default

    But seems like video duration is all you really need. That could be different than your calculations, because Wowza throttles delivery to bitrate.

    You can get duration in the metadata in the NetStream NetStatusEvent handler, or more directly by doing:

    netconnection.call("getStreamLength, responderName,"example.flv");

    Richard

Page 2 of 5 FirstFirst 1234 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •