aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/track
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-16 14:39:27 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-16 14:39:27 +0200
commita9c897c7d7df5509a195055e95dfa821fe7aa274 (patch)
treef7508de286fc3b5d830a2e540a514c30fa7a24c8 /web/script/player/track
parent39dee6820db4581fa41cfac8bcfdd399a96f5319 (diff)
downloadjellything-a9c897c7d7df5509a195055e95dfa821fe7aa274.tar
jellything-a9c897c7d7df5509a195055e95dfa821fe7aa274.tar.bz2
jellything-a9c897c7d7df5509a195055e95dfa821fe7aa274.tar.zst
the typical mse problems again...
Diffstat (limited to 'web/script/player/track')
-rw-r--r--web/script/player/track/mse.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/script/player/track/mse.ts b/web/script/player/track/mse.ts
index 199aa14..6bb77e0 100644
--- a/web/script/player/track/mse.ts
+++ b/web/script/player/track/mse.ts
@@ -154,7 +154,8 @@ 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.active_format.value!.format, this.active_format.value!.container));
- this.source_buffer.timestampOffset = this.active_format.value?.format.remux ? 0 : frag.start
+ // this.source_buffer.timestampOffset = this.active_format.value?.format.remux ? 0 : frag.start
+ this.source_buffer.timestampOffset = 0
console.log(`append track at ${this.source_buffer.timestampOffset} ${this.trackinfo.kind} ${this.track_index}`);
this.source_buffer.appendBuffer(frag.buf);
}