Skip to content

Commit

Permalink
Lower after silence duration - fix multiple speech events firing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Sep 2, 2022
1 parent 2f7b556 commit 059a001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/events/speech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const handleSpeakingEvent = ({
const opusStream = receiver.subscribe(userId, {
end: {
behavior: EndBehaviorType.AfterSilence,
duration: 1000,
duration: 300,
},
});

Expand Down

0 comments on commit 059a001

Please sign in to comment.