Temporarily disable remote control

This commit is contained in:
Saúl Ibarra Corretgé 2020-07-02 08:47:27 +02:00
parent 203f1387e9
commit 0b88a783f3
1 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@ import { conferenceEnded, conferenceJoined } from '../actions';
import JitsiMeetExternalAPI from '../external_api';
import { LoadingIndicator, Wrapper } from '../styled';
const ENABLE_REMOTE_CONTROL = false;
type Props = {
/**
@ -248,7 +250,10 @@ class Conference extends Component<Props, State> {
const iframe = this._api.getIFrame();
setupScreenSharingRender(this._api);
new RemoteControl(iframe); // eslint-disable-line no-new
if (ENABLE_REMOTE_CONTROL) {
new RemoteControl(iframe); // eslint-disable-line no-new
}
// Allow window to be on top if enabled in settings
if (this.props._alwaysOnTopWindowEnabled) {