Skip to content

Commit

Permalink
perf(VoiceConnection): skip redundant volume transformer on join (#3916)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC authored Mar 8, 2020
1 parent 3e169cb commit 69d4153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/voice/VoiceConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ class VoiceConnection extends EventEmitter {
ready();
} else {
// This serves to provide support for voice receive, sending audio is required to receive it.
const dispatcher = this.play(new SingleSilence(), { type: 'opus' });
const dispatcher = this.play(new SingleSilence(), { type: 'opus', volume: false });
dispatcher.once('finish', ready);
}
}
Expand Down

0 comments on commit 69d4153

Please sign in to comment.