mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
remove buffered todo, after research it should already be working as intended
This commit is contained in:
parent
7841fadcb6
commit
29d0b05845
1 changed files with 0 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
export function handleBuffered(time: number, buffered: TimeRanges): number {
|
||||
// TODO normalize the buffer sections into one section. they can be stitched together
|
||||
for (let i = 0; i < buffered.length; i += 1) {
|
||||
if (buffered.start(buffered.length - 1 - i) < time) {
|
||||
return buffered.end(buffered.length - 1 - i);
|
||||
|
|
Loading…
Reference in a new issue