Skip to content

Commit 36e8be6

Browse files
committed
fixes
1 parent 5c1a150 commit 36e8be6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
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,10 +83,11 @@ function initializePlayer(videoContainer: HTMLElement, playerConfig: MKPlayerCon
8183
};
8284

8385
const sourceConfig: SourceConfig = {
86+
enableLowLatency: true,
8487
hls: playBackUrl,
8588
drm: {
8689
clearkey: clearKeyConfig
87-
}
90+
},
8891
};
8992

9093
player.load(sourceConfig)

0 commit comments

Comments
 (0)