Closed usernamenumber closed 9 years ago
@devalih: Any chance you could confirm that this works for you (just add vidtest__enabled: true
to your localconfig.yml) and then see how many people you can get viewing the page at once? (assuming you have a cubietruck by now)
Tested in an Ubuntu 14.04 VM (same as cubie). Working as expected. Checked with Firebug. The cubie is at my place, and it's busy with the port, so we can't test this right now.
I've tested it on my cubie. Had five clients playing the video at once with no playback problems. If it looks OK to you, I'll go ahead and merge this branch when I wake up for our meeting. :) On Mar 8, 2015 4:12 AM, "Ahmad Draidi" notifications@github.com wrote:
Tested in an Ubuntu 14.04 VM (same as cubie). Working as expected. Checked with Firebug. The cubie is at my place, and it's busy with the port, so we can't test this right now.
— Reply to this email directly or view it on GitHub https://github.com/tunapanda/provision/pull/46#issuecomment-77738366.
Everything looks OK to me. Please go ahead and merge it.
This creates a role that sets up a
/vidtest
location on the main web server. At this location a short video is played on a loop. Each time the page is loaded, a random number is incorporated into the filename (stripped out by nginx when the request is processed) so that browsers should (though I haven't looked at the network traffic to confirm it) always get it from the server, never a local cache since the filenames never (well, rarely) match between page loads.This can be used to load-test the server's video streaming capabilities.