From 80f79007a7ddcfe51b441ff601bdc65e4fa2d40e Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Fri, 22 Dec 2017 22:57:10 +0100 Subject: try to increase player robustness --- template/assemblies/player/dash.phtml | 36 +++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'template') diff --git a/template/assemblies/player/dash.phtml b/template/assemblies/player/dash.phtml index 57f2ddc..9ca654b 100644 --- a/template/assemblies/player/dash.phtml +++ b/template/assemblies/player/dash.phtml @@ -17,23 +17,27 @@ width: "100%", plugins: [DashShakaPlayback, LevelSelector, AudioSelector], shakaConfiguration: { - abr: { - defaultBandwidthEstimate: 600000 - } + abr: { + defaultBandwidthEstimate: 600000 + }, + streaming: { + rebufferingGoal: 12, + jumpLargeGaps: true + } + }, + levelSelectorConfig: { + labels: { + 7: 'HD', + 8: 'SD', + 9: 'Slides', + 10: 'HD', + 11: 'SD', + 12: 'Slides', + 13: 'HD', + 14: 'SD', + 15: 'Slides', + } }, - levelSelectorConfig: { - labels: { - 7: 'HD', - 8: 'SD', - 9: 'Slides', - 10: 'HD', - 11: 'SD', - 12: 'Slides', - 13: 'HD', - 14: 'SD', - 15: 'Slides', - } - }, autoPlay: true, parentId: '#player' }); -- cgit v1.2.3