Граф коммитов

253 Коммитов

Автор SHA1 Сообщение Дата
Jia Zhao 1b4805d6aa Add submodules. 2019-06-12 11:52:19 -07:00
Jia Qi Zhao c7d0b13a23
Merge pull request #43 from whimboo/muted
Allow playback of video to be muted (#41)
2019-05-22 14:04:32 -07:00
Henrik Skupin 70261de8ee
Allow playback of video to be muted (#41)
For browsers / platforms where autoplay is blocked due to
audio output, allow the start of the playback by just
muting the audio channel.
2019-05-17 14:23:19 +02:00
jiaqzhao 1970b8fb28 Project import generated by Copybara.
GitOrigin-RevId: 3ef0faf7a37d1a34ab4990f794094b7654b87456
2018-11-07 14:15:54 -08:00
jiaqzhao c877d347d8 Project import generated by Copybara.
FolderOrigin-RevId: /usr/local/hdd/ytlr-cert/test
2018-10-04 13:42:20 -07:00
jiashengyang 46061e4e7a Add jsdoc for playbackperf test and webgl test in both 2019 and tip.
Change-Id: I72b766af97fe5256b4ecf50efaced020c0cf3930
2018-07-26 14:04:53 -07:00
jiashengyang 10fcadaad9 Add jsdoc for eme tests in tip and 2019
Change-Id: I2fb3aff3e83a909d1064115af4ac7a551354dd61
2018-07-25 18:47:33 -07:00
Jiasheng Yang c4c2ab9560 Merge "Add jsdoc to conformance test in tips and 2019" 2018-07-25 00:03:19 +00:00
jiashengyang 9baafa51f4 Add jsdoc to conformance test in tips and 2019
Change-Id: Iac5225c896cbb638f4d5ea90a37117c9cb7781ed
2018-07-24 10:08:18 -07:00
Jia Zhao 6080a91de7 Properly call teardown in eme test.
Bug: 111638826
Change-Id: I2f2274a10d78d00b6fb48b6b4ab2b5e4e75ea7ff
2018-07-20 15:31:45 -07:00
jiashengyang 7e0b921d3f Add jsdoc for progressiveTest
Change-Id: I6edb15a596d7c79b448b5314fa9e04c9a8eb87c2
2018-07-13 00:46:05 +00:00
Jia Zhao a9050b6326 Add gamepad buttons
Change-Id: Ief257ffd1bdd8206b08b104b76da414cf7abb3df
2018-07-02 14:55:54 -07:00
Jia Zhao 95ebaad4b0 Branch 2019 tests from tip.
Change-Id: Ie16677763857cc0705adf3e335398440fbdff4c8
2018-06-28 19:30:28 -07:00
Jia Qi Zhao fdc605fe18 Merge "Make currentTimePausedAccuracy test optional" 2018-06-26 22:06:28 +00:00
Jia Qi Zhao 11721afedc Merge "Update changelog" 2018-06-26 22:06:04 +00:00
Jia Zhao 16e5f55666 Update changelog
Change-Id: I662dc9859e09f1b168bb10e1dcd3eed947698d42
2018-06-26 13:57:56 -07:00
Jia Zhao 8906299ae1 Make currentTimePausedAccuracy test optional
Bug: 78182905
Change-Id: I9e460973efba2e359295e54c7c529e2d36bba813
2018-06-26 13:38:08 -07:00
Jia Qi Zhao d84ea84da6 Merge "Update currentTime PausedAccuracy test and add js doc" 2018-06-25 22:30:45 +00:00
Jiasheng Yang c1cca1a2a2 Merge "Remove vp9 check in Operator EME canPlayType" 2018-06-22 21:12:54 +00:00
Jia Zhao f43e63cccd Update currentTime PausedAccuracy test and add js doc
The currentTime has to be accurate at either when the video is paused or
when it's played after the pause.

Bug: 78182905
Change-Id: I05cbe1fbeee4b03e65d3066357ca9d8767c8262f
2018-06-22 14:09:04 -07:00
Jia Zhao 093868e634 Make a ElapsedTimeInS util method for tip tests
Change-Id: I739f9b49ee3055647c509502d36df8f923211f22
2018-06-11 17:27:38 -07:00
Jia Zhao 961c466798 Add TotalVideoFrames validation test to tip
Bug: 79262984
Change-Id: I06dc9a78d10ca3df932522775869fc9b581e3de7
2018-06-06 16:30:55 -07:00
jiashengyang d956d0c945 Remove vp9 check in Operator EME canPlayType
Bug: 80159043
Change-Id: I9a023983dcab8778e27c24948321690c8eb65329
2018-05-25 11:12:40 -07:00
jiashengyang d60d9f102e Fix the problem that current qual-e/view couldn't get the results reported from
js_mse_eme. This is because of the semicolon in user agent parameter in
request url. This would lead to duplicate key in datastore entry and
therefore do a update instead of insertion.
Fix it by replacing all ';' in url with ','.

Bug: 78533407
Change-Id: I9b02e08e1e05b67f2aa30d0ebae2e97cfe143b6c
2018-05-24 23:45:56 +00:00
Jia Qi Zhao fc99d79098 Merge "Update test names for createMediaElementSource." 2018-05-17 00:06:47 +00:00
Jia Zhao 079f3b937f Update test names for createMediaElementSource.
These tests should be optional for 2019.
Also close the audio context properly.

Bug: 79708635
Change-Id: I534c54db9f5e68e783a33f2a2bec51519f3f8776
2018-05-15 18:37:01 -07:00
Jiasheng Yang cf844098dd Merge "Change the result report function to new protocal." 2018-05-15 16:45:49 +00:00
jiashengyang 6c2f3639cf Change the result report function to new protocal.
This function currently dumps results to qual-e in simple string and no one actually uses it.
But it will be used in future and therefore we need to make a rule about how to report the results.
The test results should be wrapped into an Object in
format of
{
  "pass" : {
    testSuite : {
      testType : {
        category : [
	  test1, test2
	]
      }
    }
  }
  "fail" : {...}
}

For example,
{
  "pass" : {
    "2018" : {
      "conformance-test" : {
	"Media Element Core": [
	  "InitialMediaDuration", "InitialMediaVideoWidth"
	]
      }
    }
  }
}

This would be helpful in automatically using the test results during certification.

Bug: 78533407
Change-Id: I902134a71598ed57b71ed3338090c07a73961eb0
2018-05-11 14:29:07 -07:00
Jia Zhao 62bfaeb938 Only load certain bytes to buffer for the currentTime test.
Bug: 78182905
Change-Id: I1fbb204876ed6174b4710cc48543c765db7f9236
2018-05-01 17:15:55 -07:00
Jia Zhao fe81b07aa1 Add currentTime tests to MSE in tip.
Tests are added to a new section called MSE currentTime.

Changes include:
1. branch from timeupdate - accuracy test from progressive test
for dash format, and rename to currenttime accuracy
2. add currenttime accuracy test with HFR video
3. add currenttime accuracy when paused test with standard and HFR
medias

Bug: 78182905
Change-Id: I6188532c336f1418fe441131abfb8cd64b357c96
2018-04-23 17:22:46 -07:00
Jia Zhao b49e2586f5 Update tip test to validate 16 key session and 16 keys.
Bug: 78184165
Change-Id: Icc89caccd00c831277640cc118bf2861fb83e22c
2018-04-18 14:51:34 -07:00
Jia Zhao 629fa4ee24 Fix typo and some formatting in tip.
Change-Id: I8e6d1f3a0bacc6e0d9d703bb04ebb1a63fdbc545
2018-04-18 11:54:04 -07:00
Jia Zhao 1cdee6bdbe Update changelog.
Change-Id: I7fc915f4bbea1b46f89a18f36e312f06fac03cd2
2018-04-12 13:25:05 -07:00
Jia Zhao 261a602bda Update audio file to not trigger GC.
The affected tests append audio buffer twice, so the audio file has to
be less ~80s to not trigger the GC 170s threshold.

Bug: 74520734
Change-Id: I9159637526d227ba8afb3b3b6b646e97fcb96a4c
2018-04-10 10:42:04 -07:00
Jiasheng Yang d833de4f04 Merge "Use substr instead of startsWith to support older browsers." 2018-02-15 23:47:34 +00:00
Thom Dedecko b45f177867 Use substr instead of startsWith to support older browsers.
Change-Id: I90ff95494770f2ef024bd8e8c4f4f79abd7fadcc
2018-02-15 14:42:05 -08:00
jiashengyang 28193e810b Add progressive and playback performance testsuite for Operator devices.
Every VP9 related testcase is optional to Operator devices.

Change-Id: I3548a611a7370a3abc6422b1e5fac2d4dc8cd4fa
2018-02-07 15:29:08 -08:00
jiashengyang b8fd53ca56 Manual revert the wrongly added progressive testsuite
Change-Id: I5cfac708d42e5343bae3c74c95f12dec0dfe149c
2018-02-01 14:50:12 -08:00
jiashengyang 944cbd0d8e Add eme testsuite for operator devices. Tested on a PlayReady-only TV
in lab and it works.

Change-Id: I4d73df6dc988a5165d2dbd8388af4e5f878f2d22
2018-02-01 14:41:26 -08:00
Jiasheng Yang 1d6412f5a4 Merge "Adding playready license request signatures for H264 encrypted streams." 2018-01-29 22:21:49 +00:00
Thom Dedecko afb6038e5c Adding playready license request signatures for H264 encrypted streams.
Change-Id: Ic576d74d1fec9980a54a9153b305534f9f955ef2
2018-01-26 16:42:06 -08:00
Jiasheng Yang 500927d515 Merge "Adding Progressive test for 2018 Operator Device Testsuite" 2018-01-26 17:47:52 +00:00
jiashengyang a524a35c9a Adding Progressive test for 2018 Operator Device Testsuite
Change-Id: I4519a35effc83f6163e343807ee477f7e21f1080
2018-01-23 13:38:41 -08:00
Thom Dedecko d937cc20ef Added 2018 license delay test for no clear start H264 and VP9 streams.
Change-Id: Id5179dfce648c33f537fa7de5b31234e29566e12
2018-01-23 11:26:31 -08:00
jiashengyang 626099aba8 Adding MSE testsuite for 2018 Operator devices
Change-Id: I6302af23626d4a31c7ca570f06cf52feff35193c
2018-01-22 15:54:50 -08:00
Thom Dedecko 586255b326 Updating copyright to 2018.
Change-Id: Ib978f4dd1193b3b58925d9d3045a8679060129c6
2018-01-19 13:31:02 -08:00
Thom Dedecko f83f811451 Added tip license delay test for no clear start H264 and VP9 streams.
Change-Id: I3625ac6d8fc224ffad905ecdfd56086c0df3b0f6
2018-01-18 13:57:10 -08:00
Thom Dedecko 61ffdf23b8 Fix race condition bug in MediaSourceDuration test on 2018 and tip. A duration change could happen while audio source buffers are still appending.
Change-Id: I0a8e3d9bd93779e78f5c0dc69b3e330c991ed15f
2018-01-17 12:11:37 -08:00
Thom Dedecko 72519b1599 Small bug fix. 2018-01-11 14:23:56 -08:00
Thom Dedecko 9b18a57005 Fixed bug with parsing license response. It is possible that characters used for splitting could be contained in the binary response. 2018-01-11 14:19:27 -08:00