import React from 'react'; import Toggle from '/imports/ui/components/common/switch/component'; import { defineMessages, injectIntl } from 'react-intl'; import BaseMenu from '../base/component'; import Styled from './styles'; const intlMessages = defineMessages({ videoSectionTitle: { id: 'app.submenu.video.title', description: 'Heading for video submenu section', }, videoSourceLabel: { id: 'app.submenu.video.videoSourceLabel', description: 'Label for video source section', }, videoOptionLabel: { id: 'app.submenu.video.videoOptionLabel', description: 'default video source option label', }, videoQualityLabel: { id: 'app.submenu.video.videoQualityLabel', description: 'Label for video quality section', }, qualityOptionLabel: { id: 'app.submenu.video.qualityOptionLabel', description: 'default quality option label', }, participantsCamLabel: { id: 'app.submenu.video.participantsCamLabel', description: 'Label for participants cam section', }, }); class VideoMenu extends BaseMenu { constructor(props) { super(props); this.state = { settingsName: 'video', settings: props.settings, }; } render() { const { intl } = this.props; return (