From 2bebd1c48557d42ca1f1850e792443089e34368e Mon Sep 17 00:00:00 2001 From: Lukasz Rutkowski <101095871+lukasz-rutkowski-red@users.noreply.github.com> Date: Thu, 22 Jun 2023 13:05:54 +0200 Subject: [PATCH] Add PlayReady 4.0 test, upgrade default versions for HLS.js and Dash.js players (#37) * DASH PlayReady 4.0 CBCS test added [ONEM-25815], * HLS.js player upgrade from 1.3.0 to 1.4.5 [ONEM-31111], * Dash.js player upgrade from 4.4.0 to 4.7.0, * Set HLS.MP2TS_AVC_AAC as mandatory [ONEM-28092], * libraries import moved from script in 'body' to the 'head' section in index.html --- README.md | 9 ++- index.html | 94 ++++++++++++------------------- mediaStreams.js | 25 ++++++++ patches/0001_js_mse_eme_mvt.patch | 5 +- src/engineChange.js | 13 ++--- src/engines.js | 9 +-- src/mediaTests.js | 3 + src/profiles.js | 31 +++++++--- src/suites.js | 18 ++---- 9 files changed, 111 insertions(+), 96 deletions(-) diff --git a/README.md b/README.md index 2328047..a6fb088 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ A list of of all external media assets used by a deployed instance of MVT: | HLS-CMAF-AVC1-AAC | [DASH IF](https://testassets.dashif.org/) | https://media.axprod.net/TestVectors/v9-MultiFormat/Clear/Manifest_1080p.m3u8 | Not distributed by MVT, used for playback during test execution | | HLS-CMAF-HEVC-AAC | [DASH IF](https://testassets.dashif.org/) | https://dash.akamaized.net/dash264/TestCasesIOP41/CMAF/UnifiedStreaming/ToS_HEVC_MultiRate_MultiRes_IFrame_AAC_WebVTT.m3u8 | Not distributed by MVT, used for playback during test execution | | DASH-PLAYREADY-2.0 | [Microsoft PlayReady](https://testweb.playready.microsoft.com/Content/Content2X) | http://profficialsite.origin.mediaservices.windows.net/c51358ea-9a5e-4322-8951-897d640fdfd7/tearsofsteel_4k.ism/manifest(format=mpd-time-csf) | Not distributed by MVT, used for playback during test execution | +| DASH-PLAYREADY-4.0 | [DASH IF](https://testassets.dashif.org/) | https://media.axprod.net/TestVectors/Cmaf/protected_1080p_h264_cbcs/manifest.mpd | Not distributed by MVT, used for playback during test execution | | HSS-AVC1-AAC | [Microsoft PlayReady](https://testweb.playready.microsoft.com/Content/Content2X) | http://amssamples.streaming.mediaservices.windows.net/683f7e47-bd83-4427-b0a3-26a6c4547782/BigBuckBunny.ism/manifest(format=mpd-time-csf) | Not distributed by MVT, used for playback during test execution | | HSS-AVC1-AAC | [Microsoft PlayReady](https://testweb.playready.microsoft.com/Content/Content2X) | http://profficialsite.origin.mediaservices.windows.net/c51358ea-9a5e-4322-8951-897d640fdfd7/tearsofsteel_4k.ism/manifest | Not distributed by MVT, used for playback during test execution | @@ -152,9 +153,11 @@ Most of the URL parameters can be combined. Here's a full list of supported quer - `loop=false|true` - enable testing selected tests continuosly in a loop. - `stoponfailure=false|true` - tests execution will stop on the first failed test. - `disable_log=false|true` - enable/disable logging. -- `engine_shaka=2.5.20|3.0.1|3.2.1` - select Shaka Player version. Please note it will only affect Shaka test suites. -- `engine_dashjs=2.9.3|3.1.1|4.4.0|latest` - select dash.js version. Please note it will only affect dash.js test suites. -- `engine_hlsjs=1.0.0|1.1.5|1.2.1|1.2.9|1.3.0` - select hls.js version. Please note it will only affect hls.js test suites. +- `engine_shaka=3.0.1|3.2.1|4.3.6` - select Shaka Player version. Please note it will only affect Shaka test suites. +- `engine_dashjs=3.1.1|4.4.0|4.7.0|latest` - select dash.js version. Please note it will only affect dash.js test suites. +- `engine_hlsjs=1.0.0|1.2.1|1.3.0|1.4.5` - select hls.js version. Please note it will only affect hls.js test suites. +- `profile=all|default|desktop|VIP7002W` - depends of tested unit. +- `debug=true|false` - adding additional timestamps to the output log. ### JavaScript API diff --git a/index.html b/index.html index cde73a0..af26989 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -20,67 +20,38 @@