How to use the twilio-video.Client function in twilio-video

To help you get started, we’ve selected a few twilio-video examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TwilioDevEd / hangouts-clone-react / client / src / components / video-chat.js View on Github external
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,
    };
  }