Skip to main content
Participant
April 7, 2010
Question

Serverside - Bandwidth check

  • April 7, 2010
  • 2 replies
  • 653 views

Hello,

i am currently playing around with a flash media server trial in combination with the flowplayer.

All in all i am testing the performance and general functionality for the company i work for.

Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.

Sure this could be done by the backend flash application, but its out intention to perform this check server sided.

I've searched for some time now without any resonable results. Most seem to check the bandwidth through their flash application ( Actionscript )

what i try to avoid.

Any help is appreciated,

Frank

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    April 10, 2010

    What specific advantage do you see of doing it on server-side for all clients then doing at client-end?

    April 7, 2010

    In order to test bandwidth per client, there needs to be some sort of client side interaction with the server application. The only way to test bandwdith is to send payloads back and forth between client and server to see how long it takes for the payload to be received, and acknowlegement sent.

    So, I don't see how you'd accomplish this completely on the server side, as the server has no idea of the line conditions between it and the client.

    ... or did I not understand the question?

    Participant
    April 7, 2010

    As soon as the client starts streaming there is an connection between the server & client. Wouldnt it be possible to act on the performance results provided by that connection?

    If a lower bandwidth is being detected the server could switch the stream if i am not mistaken..

    Thanks for your input!

    April 7, 2010

    Provided that the client is already sending or receiving data, I suppose you could repeatedly inspect the bytes_in and/or bytes_out properties returned by client.getStats() to come up with averages ( based on how many bytes were sent in the past N seconds) , but something tells me that will be less than accurate.