Skip to content

Commit 905f001

Browse files
authored
Merge pull request #1060 from TechnologyEnhancedLearning/fix-forBuildError-Test
Fix for build error -Admin UI
2 parents 5c1a150 + ed0ee50 commit 905f001

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

AdminUI/LearningHub.Nhs.AdminUI/Scripts/vuesrc/mkiomediaplayer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ interface PlayerConfig {
2222
}
2323

2424
interface SourceConfig {
25+
enableLowLatency: boolean;
2526
hls: string;
2627
drm: {
2728
clearkey: ClearKeyConfig;
@@ -57,6 +58,7 @@ function getSourceConfig(
5758
authenticationToken: string
5859
): SourceConfig {
5960
return {
61+
enableLowLatency: true,
6062
hls: locatorUri,
6163
drm: {
6264
clearkey: {
@@ -81,6 +83,7 @@ function initializePlayer(videoContainer: HTMLElement, playerConfig: MKPlayerCon
8183
};
8284

8385
const sourceConfig: SourceConfig = {
86+
enableLowLatency: true,
8487
hls: playBackUrl,
8588
drm: {
8689
clearkey: clearKeyConfig

LearningHub.Nhs.WebUI/Scripts/vuesrc/mkiomediaplayer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface PlayerConfig {
2424
}
2525

2626
interface SourceConfig {
27+
enableLowLatency: boolean;
2728
hls: string;
2829
drm: {
2930
clearkey: ClearKeyConfig;
@@ -64,6 +65,7 @@ function getPlayerConfig(mkioKey: string, onPlayerReady: () => void, onSubtitleA
6465
function initializePlayer(videoContainer: HTMLElement, playerConfig: MKPlayerConfig, playBackUrl: string): any {
6566
const player = new MKPlayer(videoContainer, playerConfig);
6667
const sourceConfig: SourceConfig = {
68+
enableLowLatency: true,
6769
hls: playBackUrl,
6870
drm: {
6971
clearkey: getClearKeyConfig()

0 commit comments

Comments
 (0)