import React, { Component } from 'react'; import { styles } from './styles'; import { defineMessages, injectIntl } from 'react-intl'; import VideoService from './service'; import { log } from '/imports/ui/services/api'; import { notify } from '/imports/ui/services/notification'; import { toast } from 'react-toastify'; import Toast from '/imports/ui/components/toast/component'; const intlMessages = defineMessages({ iceCandidateError: { id: 'app.video.iceCandidateError', description: 'Error message for ice candidate fail', }, permissionError: { id: 'app.video.permissionError', description: 'Error message for webcam permission', }, sharingError: { id: 'app.video.sharingError', description: 'Error on sharing webcam', }, chromeExtensionError: { id: 'app.video.chromeExtensionError', description: 'Error message for Chrome Extension not installed', }, chromeExtensionErrorLink: { id: 'app.video.chromeExtensionErrorLink', description: 'Error message for Chrome Extension not installed', }, }); class VideoElement extends Component { constructor(props) { super(props); } render() { return (