This commit is contained in:
NoLogicAlan committed 2026-05-24 17:31:20 +03:00
1 parent 27d7cc7c94
commit f86f0c5f8b
4 files changed
+32 -9

No files matched your search

+14 -1
View File
@@ -14,7 +14,20 @@
import Revoicejs from "revoice.js";
const { MediaPlayer } = Revoicejs;
import { ConnectionState, RoomEvent as LKRoomEvent } from "@livekit/rtc-node";
const ConnectionState = Object.freeze({
CONN_DISCONNECTED: 0,
CONN_CONNECTED: 1,
CONN_RECONNECTING: 2,
});
const LKRoomEvent = Object.freeze({
ConnectionStateChanged: "connectionStateChanged",
Disconnected: "disconnected",
ParticipantConnected: "participantConnected",
ParticipantDisconnected:"participantDisconnected",
});
import { getVoiceManager } from "@fluxerjs/voice";
import { Utils } from "./Utils.mjs";
import { EventEmitter } from "node:events";