2018-05-16 14:00:16 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import { connect } from 'react-redux';
|
2018-03-21 18:26:52 +00:00
|
|
|
|
|
|
|
import { translate } from '../../../base/i18n';
|
2018-05-16 14:00:16 +00:00
|
|
|
|
2018-07-05 11:17:45 +00:00
|
|
|
import AbstractStopLiveStreamDialog, {
|
|
|
|
_mapStateToProps
|
|
|
|
} from './AbstractStopLiveStreamDialog';
|
2018-03-21 18:26:52 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* A React Component for confirming the participant wishes to stop the currently
|
|
|
|
* active live stream of the conference.
|
|
|
|
*
|
|
|
|
* @extends Component
|
|
|
|
*/
|
2018-07-05 11:17:45 +00:00
|
|
|
class StopLiveStreamDialog extends AbstractStopLiveStreamDialog {
|
2018-03-21 18:26:52 +00:00
|
|
|
|
|
|
|
/**
|
2018-07-05 11:17:45 +00:00
|
|
|
* Renders the platform specific {@code Dialog} content.
|
2018-03-21 18:26:52 +00:00
|
|
|
*
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
2018-07-05 11:17:45 +00:00
|
|
|
_renderDialogContent() {
|
|
|
|
return this.props.t('dialog.stopStreamingWarning');
|
2018-03-21 18:26:52 +00:00
|
|
|
}
|
2018-05-16 14:00:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default translate(connect(_mapStateToProps)(StopLiveStreamDialog));
|