bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/captions/button/container.jsx
Pedro Beschorner Marin 944edf2ccf feat(captions): web speech prototype
Hardcoded pt-BR prototype for closed captions generated by the browser's
WebSpeech API.
2022-07-20 17:20:48 +00:00

12 lines
369 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Service from '/imports/ui/components/audio/captions/service';
import Button from './component';
const Container = (props) => <Button {...props} />;
export default withTracker(() => ({
enabled: Service.hasAudioCaptions(),
active: Service.getAudioCaptions(),
}))(Container);