Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.muteAudio = this.muteAudio.bind(this);
this.disableVideo = this.disableVideo.bind(this);
this.exitRoom = this.exitRoom.bind(this);
this.videoClient = new Video.Client(props.user.token);
this.state = {
activeRoom: null,
muted: false,
paused: false,
};
}