New issue
Advanced search Search tips

Issue 784742 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 900102
Owner:
Closed: Nov 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Test MSE in video_ChromeHWDecodeUsed without network access

Project Member Reported by hiroh@chromium.org, Nov 14 2017

Issue description

Video through MSE are tested in video_ChromeHWDecodeUsed.
The test accesses crosvideo.appspot.com and playback video there now.
However, if the site goes down, the test is failed.
Since video_ChromeHWDecodeUsed is in bvt-cq, CQ build is failed if the test is failed. See crbugc.com/782509.
We should not depend on the external site on the test, and test locally without network access.
 
We could perhaps use Shaka Player offline mode (https://shaka-player-demo.appspot.com/docs/api/tutorial-offline.html) ?

Comment 2 by hiroh@chromium.org, Nov 14 2017

Description: Show this description
I have a bunch of small mse demos in xorax.sea/mse.* and xorax.sea/shtemp/* (shaka) feel free to grab any of that code. Generating files is simple if you use webm, if you use mp4 you'll need to fragment them either with mp4 box or ffmpeg. There are plenty of tutorials on that though.

Comment 4 by hiroh@chromium.org, Nov 16 2017

I am thinking it over if we are able to use shaka-player.compiled.js and html source copied from shaka-player project.
Because autotest directory is GPL v2.0 and Apache License v2.0. There is no compatibility between them.

Comment 5 by hiroh@chromium.org, Nov 17 2017

The license problem would be solved by putting the shaka files in third_party/chromiumos-overlay/chromeos-base.
I will create a new directory there, like autotest-deps-shaka.

Comment 6 by hiroh@chromium.org, Dec 8 2017

A reviewer said it was preferred to build shaka-player and copy built js scripts to autotest file.
I implement ebuild file. CL is crosreview.com/781599.
The current problem is I couldn't use npm, which is required for building shaka-player.
I think npm can be used if setting net-libs/iojs to shaka-player's "DEPEND."
However, I failed building net-libs/iojs due to v8 codes error.
I asked developers in cros-dev group. https://groups.google.com/a/chromium.org/forum/?hl=en#!topic/chromium-os-dev/HXCkYi-TPM8
Mergedinto: 900102
Status: Duplicate (was: Assigned)

Sign in to add a comment