diff --git a/play-dl/YouTube/classes/SeekStream.ts b/play-dl/YouTube/classes/SeekStream.ts index 7091381..23b469d 100644 --- a/play-dl/YouTube/classes/SeekStream.ts +++ b/play-dl/YouTube/classes/SeekStream.ts @@ -202,7 +202,7 @@ import { WebmSeeker, WebmSeekerState } from "./WebmSeeker"; stream.on('end', () => { if (end >= this.content_length) { this.timer.destroy(); - this.stream.push(null); + this.stream.write(null); this.cleanup(); } });