fix: sending audio flag

This commit is contained in:
Elysia
2024-10-21 09:03:36 +07:00
parent ce1da4dd14
commit 7d42ec7ecc
3 changed files with 5 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class VoiceConnection extends EventEmitter {
* The audio player for this voice connection
* @type {MediaPlayer}
*/
this.player = new MediaPlayer(this);
this.player = new MediaPlayer(this, this.constructor.name === 'StreamConnection');
this.player.on('debug', m => {
/**