diff options
author | Anton Schubert | 2017-12-22 22:57:10 +0100 |
---|---|---|
committer | MaZderMind | 2018-01-24 23:33:20 +0100 |
commit | 80f79007a7ddcfe51b441ff601bdc65e4fa2d40e (patch) | |
tree | d9639790754f063b610754296b24a3678617dd48 /template/assemblies | |
parent | 152082d3525c9627c5b1c435ffe3d05807148784 (diff) |
try to increase player robustness
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/player/dash.phtml | 36 |
1 files changed, 20 insertions, 16 deletions
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' }); |