You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 123456789101112 |
- import { IReduxState } from '../app/types';
- import { canAddTranscriber, isTranscribing } from '../transcribing/functions';
-
- /**
- * Checks whether the participant can start the subtitles.
- *
- * @param {IReduxState} state - The redux state.
- * @returns {boolean} - True if the participant can start the subtitles.
- */
- export function canStartSubtitles(state: IReduxState) {
- return canAddTranscriber(state) || isTranscribing(state);
- }
|