From 8f7640d09c4edb1ec806637c57696a8420186d6c Mon Sep 17 00:00:00 2001 From: yairansbacher Date: Sun, 30 Jan 2022 18:38:55 +0200 Subject: [PATCH] feat(FEC-10548): Low-Latency DASH Support --- src/dash-adapter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dash-adapter.js b/src/dash-adapter.js index 8b4c7a7b..13504ff0 100644 --- a/src/dash-adapter.js +++ b/src/dash-adapter.js @@ -241,8 +241,9 @@ export default class DashAdapter extends BaseMediaSourceAdapter { if (Utils.Object.hasPropertyPath(config, 'text.useShakaTextTrackDisplay')) { adapterConfig.useShakaTextTrackDisplay = Utils.Object.getPropertyPath(config, 'text.useShakaTextTrackDisplay'); } - if (Utils.Object.hasPropertyPath(config, 'streaming.forceBreakStall')) { + if (Utils.Object.hasPropertyPath(config, 'streaming')) { adapterConfig.forceBreakStall = Utils.Object.getPropertyPath(config, 'streaming.forceBreakStall'); + adapterConfig.shakaConfig.streaming.lowLatencyMode = Utils.Object.getPropertyPath(config, 'streaming.lowLatencyMode'); } if (Utils.Object.hasPropertyPath(config, 'sources.options')) { const options = config.sources.options;