From 1e3e65fc129393de0269844a48c1214cbd1da4e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Thu, 21 Nov 2024 12:07:21 +0100 Subject: [PATCH] fix(HLS): Fix playback of raw AAC (#7641) Test stream: https://playertest.longtailvideo.com/adaptive/elephants_dream_v4/index.m3u8 --- lib/media/media_source_engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js index 23fa50e2b1..d57dbf8bc1 100644 --- a/lib/media/media_source_engine.js +++ b/lib/media/media_source_engine.js @@ -802,7 +802,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} */