team1504 — 2012-01-16T12:43:38-05:00 — #1
I was wondering if it is possible to detect the user's or the computer communicating with the server's internet speed or bandwidth?
And then in an if statement serve a smaller-version of a file if not much, or the normal file if normal values, or a high-quality version when above-average values.
Is this possible in PHP and how could one do this or approach doing this?
And if not, is it possible to do in Perl or Python and how would one approach and do it in either of those languages?
Thanks in Advance & Best Regards,
logic_earth — 2012-01-18T06:33:50-05:00 — #2
Don't brother. You'll just waste the users bandwidth trying to figure that out. Make one site, no "high quality" stunts, if you are planning for mobile devices then take the steps to add a mobile-optimized version of the site. But if you do things right, you won't need multiple version for user with different bandwidth limits.
team1504 — 2012-01-18T08:20:31-05:00 — #3
True, its just some of my HD videos are big and I wanted to select the SD version if the bandwidth could not handle or the high quality version wasn't loading soon enough. Maybe just host it on and embed Youtube?
csu_bill — 2012-01-18T08:44:06-05:00 — #4
Have you thought about offering a selector for the user? You could have different buttons for different quality videos. If I am on a dial-up connection, I would know to select the LOW quality video, on my cell phone I might select a mid quality video, but from any broadband connection, I would select the HQ video.
logic_earth — 2012-01-18T11:59:21-05:00 — #5
You are probably looking for "Adaptive Bitrate Streaming" which is supported by both Flash and Silverlight. Tons of videos of Microsoft demonstrating adaptive bitrate streaming if you are not sure what it is about.
team1504 — 2012-01-18T20:10:29-05:00 — #6
Thank you. I didn't know there was a name for it. Ill look into that, but for nowni think ill do youtube or just give links to each version while attempting to load the HD version.