bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/captions/speech/container.jsx
Pedro Beschorner Marin 0bc730b3e3 refactor(captions): improve recovery
Use the user's talking state to trigger a speech API recovery after long
periods of silence.
2022-07-20 17:20:48 +00:00

21 lines
431 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Service from '/imports/ui/components/audio/captions/speech/service';
import Speech from './component';
const Container = (props) => <Speech {...props} />;
export default withTracker(() => {
const {
locale,
connected,
talking,
} = Service.getStatus();
return {
locale,
connected,
talking,
};
})(Container);