2022-03-25 03:05:20 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
|
|
import Service from '/imports/ui/components/audio/captions/service';
|
|
|
|
import LiveCaptions from './component';
|
|
|
|
|
|
|
|
const Container = (props) => <LiveCaptions {...props} />;
|
|
|
|
|
2022-04-13 23:00:45 +08:00
|
|
|
export default withTracker(() => {
|
|
|
|
const {
|
|
|
|
transcriptId,
|
|
|
|
transcript,
|
|
|
|
} = Service.getAudioCaptionsData();
|
|
|
|
|
|
|
|
return {
|
|
|
|
transcript,
|
|
|
|
transcriptId,
|
|
|
|
};
|
|
|
|
})(Container);
|