diff --git a/bigbluebutton-html5/imports/ui/components/captions/pad/component.jsx b/bigbluebutton-html5/imports/ui/components/captions/pad/component.jsx index 48576e7efd9f9692513d5c4523551285d578996b..36adc136896ff68f3344bc5167432abc83646cd1 100644 --- a/bigbluebutton-html5/imports/ui/components/captions/pad/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/captions/pad/component.jsx @@ -104,8 +104,13 @@ class Pad extends PureComponent { } = this.props; if (this.recognition) { + if (ownerId !== currentUserId) { + this.recognition.stop(); + } else if (this.state.listening && this.recognition.lang !== locale) { + this.recognition.stop(); + this.stopListen(); + } this.recognition.lang = locale; - if (ownerId !== currentUserId) this.recognition.stop(); } }