diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js index d51f8fc2e0..0550b6667e 100644 --- a/lib/media/media_source_engine.js +++ b/lib/media/media_source_engine.js @@ -882,7 +882,7 @@ shaka.media.MediaSourceEngine = class { return frame.description === 'com.apple.streaming.transportStreamTimestamp'; }); - if (metadataTimestamp && metadataTimestamp.data) { + if (metadataTimestamp) { timestamp = Math.round(metadataTimestamp.data) / 1000; } /** @private {shaka.extern.ID3Metadata} */