From 705cee366eb961abf4409f3871a65b1bc37b0ea4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 16 Feb 2025 15:39:40 +0100 Subject: fix misdetected transcoding for timestampOffset --- web/script/player/track/mse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/script/player/track/mse.ts b/web/script/player/track/mse.ts index ec036b4..d1a8c12 100644 --- a/web/script/player/track/mse.ts +++ b/web/script/player/track/mse.ts @@ -147,7 +147,7 @@ export class MSEPlayerTrack extends PlayerTrack { this.current_load = frag; // TODO why is appending so unreliable?! sometimes it does not add it this.source_buffer.changeType(track_to_content_type(this.track_from_profile())!); - this.source_buffer.timestampOffset = this.profile ? frag.start : 0 + this.source_buffer.timestampOffset = this.profile.value !== undefined ? frag.start : 0 console.log(`append track ${this.track_index}`); this.source_buffer.appendBuffer(frag.buf); } -- cgit v1.2.3-70-g09d2