Skip to content

Commit

Permalink
[MSS] set minBufferTime to one video segment duration (#3299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Berthelot committed Jun 17, 2020
1 parent e8da9a5 commit 76cd1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mss/parser/MssParser.js
Expand Up @@ -688,8 +688,8 @@ function MssParser(config) {
if (adaptations[i].contentType === 'video') {
// Get video segment duration
segmentDuration = adaptations[i].SegmentTemplate.SegmentTimeline.S_asArray[0].d / adaptations[i].SegmentTemplate.timescale;
// Set minBufferTime
manifest.minBufferTime = segmentDuration * 2;
// Set minBufferTime to one segment duration
manifest.minBufferTime = segmentDuration;

if (manifest.type === 'dynamic' ) {
// Set availabilityStartTime
Expand Down

0 comments on commit 76cd1ca

Please sign in to comment.