You are not logged in.

1

Monday, April 25th 2011, 9:45am

detecting the network speed of the target device

Hi,

does KRPano have the capability of detecting the network speed of the target device (for example cellular 3G, wireless B, wireless G, wireless N, etc., or perhaps a numeric figure)?

thanks

--
Pratiks

Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Monday, April 25th 2011, 11:22am

No not really, you can let the customer choose through buttons (similar to websites highspeed or low bandwidth versions) or maybe let them download a small file of 50-100kb and calculate how long it took them. But thats not ideal. There is no real solution for it. In webdesign you either choose to ignore a part of the target audience, or you choose to incldue the whole group. but then you have to follow the weakest link (lowest speed, screen resolution)
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

3

Monday, April 25th 2011, 11:25am

Hi Zephyr,

thanks for your quick reply and suggestion for putting buttons and let user to choose which version he wants to play.

thanks

4

Monday, April 25th 2011, 2:35pm

any other idea !!!

Hi All,

is there any suggestion or idea for detecting network speed for particular device?

thanks

--
Pratiks

5

Tuesday, April 26th 2011, 11:22am

detecting the network speed of the target device

Hi All,

is there any answers?
thanks

--
Pratiks

6

Wednesday, April 27th 2011, 9:34am

Hi,
does KRPano have the capability of detecting the network speed of the target device (for example cellular 3G, wireless B, wireless G, wireless N, etc., or perhaps a numeric figure)?
no, krpano has no build-in capability for detecting the network speed,
krpano is based on Javascript and in Javascript there are no informations about the network connection speed available,

you could maybe try loading an image and count the time what was needed to load it,
e.g.

Source code

1
2
3
4
5
addplugin(netspeedtest);
set(plugin[netspeedtext].visible,false);
copy(starttime, timertick);
set(plugin[netspeedtext].onloaded, sub(neededtime, timertick, starttime); removeplugin(netspeedtest); trace('time to load the image:', neededtime, ' ms');
txtadd(plugin[netspeedtext].url, 'yourtestimage.jpg?nocache=',random);


best regards,
Klaus

7

Wednesday, April 27th 2011, 10:03am

Hi,

i will try that.

thanks

--
Pratiks

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

8

Wednesday, April 27th 2011, 6:54pm

I do not think there is any reliable way of detecting the viewers connection.

I just checked my analytics and they seems to have dropped the option 2 months ago.

Before that the amount of not detected had increased to 50% probably due to the large amount of wireless connections which there is no way to detect.

The only way to make a detection is to serve a large image and measure the download but that is just ridiculous today as it will take the same time as most will use for actually downloading your pano.

Hans