Skip to main content
November 8, 2012
Question

checkBandwidth()'s result parameter confusion

  • November 8, 2012
  • 1 reply
  • 737 views

Hi everybody,

Please help me on a confusion, which is:

1) I am calling the checkBandwidth() method of FMS for a client.

2) It calls back the onBWDone method client side with four parameters, first parameter as bandwidth, second and third not used and fourth as latency

My request is that the Bandwidth value recieved is what kind of bandwidth:

Is it the total bandwidth available to the client and includes upBW as well as downBW

or

is it just the Down bandwidth available of the client

Regards,

Sahil.

    This topic has been closed for replies.

    1 reply

    November 8, 2012

    It is the total bandwidth. But the results may differ if you are doing a native bandwidth detection or script based bandwidth detection.

    The server sends chunks of data to the client and waits for a return value from the client.

    You may refer to :: http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7ffa.html#WS1C422989-E767-4950-9EBA-4BAE5D48EEE0

    to further study about them.

    November 8, 2012

    Hi TanujM,

    Thanks a lot for replying, that solves one of the problems i am facing!!!

    I studied the link you have given as well as other links.

    I wish to publish videos based on user/client bandwidth. So I am working on an assumption that there is an UP bandwidth and there is a DOWN bandwidth ie ClientToServer and ServerToClient bandwidth respectively.

    Now the bandwidth that i get using checkBandwidth() is total of both up and down.

    So my next request is that:

    Is this assumption correct, that there are different up and different down bandwidths between user and FMS.

    I see it as having a total BW-pipe that contains two smaller pipes UpBW-pipe and DownBW-pipe and both are independent of each other. I feel I am wrong on this assumption.

    Does consuming one pipe effects the other?

    Thanks and Regards,

    Sahil

    November 8, 2012

    If your network have capacity then increasing up should not affect down.