Some playlist and seek fixes

This commit is contained in:
killer069
2021-12-27 12:09:08 +05:30
parent 8f805bbbdd
commit 6ff34c2baa
3 changed files with 25 additions and 19 deletions

View File

@@ -85,7 +85,7 @@ export class WebmSeeker extends Duplex {
break;
} else continue;
}
if (position === 0) return Error('Failed to find Cluster Position');
if (position === 0) return new Error('Failed to find Cluster Position');
else return position;
}