diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-11 17:21:22 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-11 17:21:22 +0200 |
| commit | 39e39ee107b14e73ddf137c949bc56c1695691c8 (patch) | |
| tree | d37ea2a4e574ed7f6a94225b9a2b17a69a1c7d52 /packages/meshbay-node/src/meshbay_node | |
| parent | da1c16d5d2518581098a75cf28d31e404c07d66d (diff) | |
| download | meshbay-39e39ee107b14e73ddf137c949bc56c1695691c8.tar.gz | |
fix(ui): set MediaSource duration from ffprobe and clamp seeks to buffered range
Two fixes for the MSE video player:
1. Set mediaSource.duration from the ffprobe-reported duration on
sourceopen, so the seek bar shows the correct video length instead
of NaN/infinite.
2. Use SourceBuffer mode='sequence' for sequential append without
timestamp gaps. Add a seeking handler that clamps currentTime to
the buffered range — seeking beyond buffered data snaps back
instead of freezing the video.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node')
0 files changed, 0 insertions, 0 deletions