-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add YouTube video streaming test #17
Comments
Using headless Chromium to fetch a YouTube video and measure how well it performs. Things to note: * Conflicts between libssl and libboringssl mean youtube.so needs to be loaded into it's own link-map namespace. This appears to make all memory allocated in the run callback off limits to us outside of the callback, so have resorted to using shared memory to get the results out. * Chromium forks the original process multiple times as part of its normal operation, which (when running through the amplet2 scheduler) would attempt to rerun amplet2 so we replace ourselves with the standalone binary while running.
Basic test is now available in version 0.8.2 but is disabled by default due to dependencies on extra Chromium libraries, and result reporting format still being a bit changeable. |
Manually built Debian/Ubuntu packages (amd64: stretch, xenial, bionic) containing Chromium libraries required to run the YouTube test and have made them available via the AMP package repository. Still need to streamline the build process to keep them up to date with amplet2-client changes. |
As of 0.10.1 packages for the test are automatically built for stretch:amd64, xenial:amd64 and bionic:amd64. The libraries used to build the packages are still built manually from the Chromium source. |
Using headless Chromium, write a test that will fetch a video from YouTube and report statistics about how well the streaming performed - initial buffering time, number/duration of stalls during playback etc.
Possibly useful:
The text was updated successfully, but these errors were encountered: