Home Reference Source

src/Context.js

class Context1{
  constructor(){
    this.token;
    this.channel = {
      name:undefined, peers:[], serviceId:undefined, startTime:undefined, status:undefined, type:undefined, id:undefined
    };
    this.peers= [];
    this.localVideo;
    this.localStream;
    this.videoCodec;
    this.audioCodec;
    this.remoteVideo;
    this.remoteStream;
    this.devices;
    this.isCaller;
    this.startTime;
    this.endTime;
    this.serviceId;
    this.peerConnection;
    this.signalingConnection;
    this.state;
    this.hasAddTrack;
    this.eventManager;
    this.health;
    this.useVideo = true;
    this.useAudio = true;
    this.currentVideoDeviceId;
    this.useRecord = false;
    this.remoteRecorder;
    this.localRecorder;
    this.mediaManager;
  }


}
export default Context1