import React from 'react'; import Button from '/imports/ui/components/button/component'; import { clearModal } from '/imports/ui/components/app/service'; import { joinMicrophone } from '/imports/api/phone'; import styles from '../styles.scss'; export default class AudioSettings extends React.Component { constructor(props) { super(props); this.chooseAudio = this.chooseAudio.bind(this); this.joinAudio = this.joinAudio.bind(this); } handleClick() { } playAudioSample() { const snd = new Audio('resources/sounds/audioSample.mp3'); snd.play(); } chooseAudio() { this.props.changeMenu(this.props.JOIN_AUDIO); } joinAudio() { clearModal(); joinMicrophone(); } render() { return (




Please note, a dialog will appear in your browser, requiring you to accept your microphone.
allow microphone image
); } };