Skip to content

Commit

Permalink
grrr
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Jan 14, 2025
1 parent d3a5f5c commit 7ab8eb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/main_thread/api/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,10 @@ class Player extends EventEmitter<IPublicAPIEvent> {
};
}

public grrr() {
return 4;
}

/**
* From given options, initialize content playback.
* @param {Object} options
Expand Down
2 changes: 1 addition & 1 deletion tests/performance/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ function displayTemporaryResults() {
// eslint-disable-next-line no-console
console.log(
`\ntest name: ${testName}\n` +
`mean: ${results.mean}\n` +
`2mean: ${results.mean}\n` +
`first sample: ${scenarioSample[0]}\n` +
`last sample: ${scenarioSample[scenarioSample.length - 1]}\n` +
`variance: ${results.variance}\n` +
Expand Down
3 changes: 2 additions & 1 deletion tests/performance/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import sleep from "../../utils/sleep";
import waitForPlayerState, {
waitForLoadedStateAfterLoadVideo,
} from "../../utils/waitForPlayerState";
import { declareTestGroup, testEnd, testStart } from "./lib";
import { declareTestGroup, log, testEnd, testStart } from "./lib";

declareTestGroup(
"content loading monothread",
Expand All @@ -19,6 +19,7 @@ declareTestGroup(
initialAudioBitrate: Infinity,
videoElement: document.getElementsByTagName("video")[0],
});
log("GRRR", player.grrr());
player.loadVideo({
url: multiAdaptationSetsInfos.url,
transport: multiAdaptationSetsInfos.transport,
Expand Down

0 comments on commit 7ab8eb2

Please sign in to comment.