mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
fix: streams with both audio and video should always emit 'end'
This commit is contained in:
@@ -299,7 +299,7 @@ class Innertube extends EventEmitter {
|
||||
}
|
||||
});
|
||||
|
||||
response.data.pipe(stream, true);
|
||||
response.data.pipe(stream, { end: true });
|
||||
} else {
|
||||
const chunk_size = 1048576 * 10; // 10MB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user