🐛 fix: EventEmitter

This commit is contained in:
2024-08-17 16:37:19 +07:00
parent 22db5232ba
commit 593d448124
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import { EventEmitter, Readable, Stream } from "stream";
import { Readable, Stream } from "stream";
import { AudioInformation, Provider } from "../providers/base";
import { SeekableStream } from "../utils/SeekableStream";
import EventEmitter from "events";
export class Player {
private providers: Provider[];

View File

@@ -1,8 +1,9 @@
import { EventEmitter, Readable } from "stream";
import { Readable } from "stream";
import { AudioInformation } from "../providers/base";
import { Timer } from "./Timer";
import { WebmSeeker, WebmSeekerState } from "./WebmSeeker";
import { getStream } from "./Request";
import EventEmitter from "events";
const DEBUG_SIMULATE_FAILURE = false;