Seek issues fixed

This commit is contained in:
killer069
2022-01-05 14:21:31 +05:30
parent 41ca5e7067
commit 8e6fb06a0d
3 changed files with 18 additions and 19 deletions

View File

@@ -64,7 +64,7 @@ export class SeekStream {
constructor(url: string, duration: number, contentLength: number, video_url: string, options: StreamOptions) {
this.stream = new WebmSeeker({
highWaterMark: 5 * 1000 * 1000,
readableObjectMode: true,
readableObjectMode: true
});
this.url = url;
this.quality = options.quality as number;