diff --git a/src/streaming/text/TextSourceBuffer.js b/src/streaming/text/TextSourceBuffer.js index 8aff34fe02..fbcad8fc3c 100644 --- a/src/streaming/text/TextSourceBuffer.js +++ b/src/streaming/text/TextSourceBuffer.js @@ -332,7 +332,7 @@ function TextSourceBuffer() { subOffset += sample.subSizes[j]; } try { - // check if we must apply an offset to ttml time + // Only used for Miscrosoft Smooth Streaming support - caption time is relative to sample time. In this case, we apply an offset. let manifest = manifestModel.getValue(); let offsetTime = manifest.ttmlTimeIsRelative ? sampleStart / timescale : 0; result = parser.parse(ccContent, sampleStart / timescale, (sampleStart + sample.duration) / timescale, images, offsetTime);