Skip to content
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

Open
brendonj opened this issue Mar 16, 2018 · 3 comments
Open

Add YouTube video streaming test #17

brendonj opened this issue Mar 16, 2018 · 3 comments
Assignees

Comments

@brendonj
Copy link
Contributor

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:

@brendonj brendonj self-assigned this Mar 16, 2018
brendonj added a commit that referenced this issue Jul 5, 2018
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.
@brendonj
Copy link
Contributor Author

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.

@brendonj
Copy link
Contributor Author

brendonj commented Nov 2, 2018

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.

@brendonj
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant