Skip to content

Commit

Permalink
Set some MULTIPERIOD tests back as stable and mandatory (#42)
Browse files Browse the repository at this point in the history
* Set some MULTIPERIOD tests back as stable and mandatory
  • Loading branch information
pawel-bartkowiak-epam authored Jul 20, 2023
1 parent 8dccf9c commit 74ab181
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/mediaStreams.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ var MS = {
audio: {
codec: "aac",
},
unstable: new Unstable("ONEM-26036"),
},
CMAF_AVC_AC3: {
variant: "dash",
Expand Down
14 changes: 12 additions & 2 deletions src/suites.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,16 @@ window.testSuiteVersions[testVersion]["config"]["defaultTestSuite"] = "codec-sup
let engine = new DashjsEngine();
// in 'skipTests' specify test name as key and reason as value, e.g.: "DASH_FMP4_MP3 Seek": "ONEM-12345"
let skipTests = {};
StreamSets.DASH.dashjs = StreamSets.DASH.CommonAndDRM.filter((stream) => {
return (
stream != MS.DASH.MULTIPERIOD // ONEM-31620
);
});

let tests = makeMvtMediaTests(testPlayback, engine, StreamSets.DASH.CommonAndDRM);
tests = tests.concat(makeMvtMediaTests(testPause, engine, StreamSets.DASH.CommonAndDRM));
tests = tests.concat(makeMvtMediaTests(testSetPosition, engine, StreamSets.DASH.CommonAndDRM));
tests = tests.concat(makeMvtMediaTests(testSetPosition, engine, StreamSets.DASH.dashjs));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-31620")));
// tests = tests.concat(makeMvtMediaTests(testPlayRate, engine, StreamSets.DASH.Video, new Unstable("ONEM-26268")));
tests.push(new MvtMediaTest(testChangeAudioTracks, MS.DASH.MULTIAUDIO, engine, null, 40000));
tests = tests.concat(makeMvtMediaTests(testSubtitles, engine, StreamSets.DASH.Subtitles));
Expand All @@ -129,7 +135,8 @@ window.testSuiteVersions[testVersion]["config"]["defaultTestSuite"] = "codec-sup
stream != MS.DASH.WEBM_VP9_OPUS &&
stream != MS.DASH.DYNAMIC &&
stream != MS.DASH.FMP4_HEVC_EAC3 &&
stream != MS.DASH.CMAF_HEVC_AAC
stream != MS.DASH.CMAF_HEVC_AAC &&
stream != MS.DASH.MULTIPERIOD
); // ONEM-27782
});

Expand All @@ -138,18 +145,21 @@ window.testSuiteVersions[testVersion]["config"]["defaultTestSuite"] = "codec-sup
tests.push(new MvtMediaTest(testPlayback, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.FMP4_HEVC_EAC3, engine));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testPlayback, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

tests = tests.concat(makeMvtMediaTests(testPause, engine, StreamSets.DASH.html5));
tests.push(new MvtMediaTest(testPause, MS.DASH.WEBM_VP9_OPUS, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.FMP4_HEVC_EAC3, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testPause, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testPause, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

tests = tests.concat(makeMvtMediaTests(testSetPosition, engine, StreamSets.DASH.html5));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.WEBM_VP9_OPUS, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.DYNAMIC, engine, new Unstable("ONEM-27782")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.FMP4_HEVC_EAC3, engine));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.CMAF_HEVC_AAC, engine, new Unstable("ONEM-29170")));
tests.push(new MvtMediaTest(testSetPosition, MS.DASH.MULTIPERIOD, engine, new Unstable("ONEM-27782")));

// tests = tests.concat(makeMvtMediaTests(testPlayRate, engine, StreamSets.DASH.html5, new Unstable("ONEM-26268")));
tests = tests.concat(makeMvtMediaTests(testSubtitles, engine, StreamSets.DASH.Subtitles, new Unstable("ONEM-27782")));
Expand Down

0 comments on commit 74ab181

Please sign in to comment.