feat: refactor screen share controller to use Streamer for session management and simplify stream handling

This commit is contained in:
MythEclipse
2026-05-17 05:15:38 +07:00
parent 5a926dbd17
commit 6de5342703
4 changed files with 162 additions and 89 deletions

View File

@@ -211,8 +211,6 @@ export async function startWebserver(
const screenController = createScreenShareController({
getVoiceStatus: () => voiceController.getStatus(),
streamer,
joinVoice: (guildId: string, channelId: string) =>
streamer.joinVoice(guildId, channelId),
});
const mediaController = new MediaController({