[twsocket] Internet connection speed

2015-10-07 Thread mohammed bobo
In my audio + video streaming i must know the client internet connection
speed so that the application will react based on this connection speed ,
so please how it's possible to calculate the user's connection speed as
it's being used on SKYPE  ' Call Quality Indicator '
or used here : http://www.pingtest.net/


thank you .
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> In my audio + video streaming i must know the client internet 
> connection speed so that the application will react based on this 
> connection speed , so please how it's possible to calculate the 
> user's connection speed asit's being used on SKYPE  ' Call Quality 
> Indicator ' or used here : http://www.pingtest.net/

Not sure if you are talking about a client or server application here.
  
A server has no knowledge of client performance, even a client has difficulty in
knowing, it might have a fast wireless connection to a router and then a 
terribly
slow internet connection, or vice versa.

Using ping you can find the round trip time in milliseconds to a host that 
responds
to pings, but many hosts don't respond and firewalls often block pings.  If ping
works, it can be used to check the quality of a connection by looking for packet
loss, which can be devastating for streaming which is often not error corrected.
ICS has a ping component and trace route demo. 

Internet speeds are best measured from the client to a speedtest site, but this 
can
be time consuming and you don't want to do it very often, also many such sites 
are
unable to cope with the 150Mb and higher speeds common today on cable modems and
FTTP.  

Angus
   

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Internet connection speed

2015-10-07 Thread mohammed bobo
Angus Robertson : yes i'm talking about the Client app , i must calculate
the user's internet connection speed because based on this information
*some separate  procedures will be invoked , for example the video or audio
streaming quality for commercial use and on purpose .  *

On Wed, Oct 7, 2015 at 3:16 PM, Angus Robertson - Magenta Systems Ltd <
an...@magsys.co.uk> wrote:

> > In my audio + video streaming i must know the client internet
> > connection speed so that the application will react based on this
> > connection speed , so please how it's possible to calculate the
> > user's connection speed asit's being used on SKYPE  ' Call Quality
> > Indicator ' or used here : http://www.pingtest.net/
>
> Not sure if you are talking about a client or server application here.
>
> A server has no knowledge of client performance, even a client has
> difficulty in
> knowing, it might have a fast wireless connection to a router and then a
> terribly
> slow internet connection, or vice versa.
>
> Using ping you can find the round trip time in milliseconds to a host that
> responds
> to pings, but many hosts don't respond and firewalls often block pings.
> If ping
> works, it can be used to check the quality of a connection by looking for
> packet
> loss, which can be devastating for streaming which is often not error
> corrected.
> ICS has a ping component and trace route demo.
>
> Internet speeds are best measured from the client to a speedtest site, but
> this can
> be time consuming and you don't want to do it very often, also many such
> sites are
> unable to cope with the 150Mb and higher speeds common today on cable
> modems and
> FTTP.
>
> Angus
>
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>



-- 
Yours ,
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> yes i'm talking about the Client app , i must calculate
> the user's internet connection speed because based on this 
> information some separate  procedures will be invoked 

Try my previous suggestions and let us know how you get on.

Beware testing performance is not fast, you won't want to do it often, and 
ideally
you should test against the servers providing the streams. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Internet connection speed

2015-10-07 Thread mohammed bobo
>
> you should test against the servers providing the streams.


Angus is there any known server(s) providing the streams .

+ how it's possible to get the client's connection speed from the ping
result that means how can  we tell the user :

your internet speed is  : xxx   after getting the ping result

and many thanks for your replies

On Wed, Oct 7, 2015 at 7:02 PM, Angus Robertson - Magenta Systems Ltd <
an...@magsys.co.uk> wrote:

> > yes i'm talking about the Client app , i must calculate
> > the user's internet connection speed because based on this
> > information some separate  procedures will be invoked
>
> Try my previous suggestions and let us know how you get on.
>
> Beware testing performance is not fast, you won't want to do it often, and
> ideally
> you should test against the servers providing the streams.
>
> Angus
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>



-- 
Yours ,
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Internet connection speed

2015-10-07 Thread Angus Robertson - Magenta Systems Ltd
> + how it's possible to get the client's connection speed from the 
> ping result that means how can  we tell the user :
> your internet speed is  : xxx   after getting the ping result

Pings do not tell you the speed, they give milliseconds round time to the host. 
 I
get less than 10ms to servers in London, 100ms to 200ms to the USA, so from that
would be assume performance is better locally. If you send 100 pings and 10 
fails,
you've got packet loss and a lousy connection, so speed will be low. 

A real speed test means downloading a file using HTTP or FTP, for a minimum of 
20
seconds, ideally longer, and timing it.  So ideally you download a small known 
size
media file. 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be