export class WebRTCAdaptor
{
constructor(initialValues){
this.peerconnection_config = null;
this.sdp_constraints = null;
this.remotePeerConnection = new Array();
this.remotePeerConnectionStats = new Array();
this.remoteDescriptionSet = new Array();
this.iceCandidateList = new Array();
this.roomName = null;
this.videoTrackSender = null;
this.audioTrackSender = null;
this.playStreamId = new Array();
this.currentVolume = null;
this.originalAudioTrackGainNode = null;
this.videoTrack = null;
this.audioTrack = null;
this.smallVideoTrack = null;
this.audioContext = null;
this.soundOriginGainNode = null;
this.secondStreamGainNode = null;
this.localStream = null;
this.bandwidth = 900; //default bandwidth kbps
this.isMultiPeer = false; //used for multiple peer client
this.multiPeerStreamId = null; //used for multiple peer client
this.webSocketAdaptor = null;
this.isPlayMode = false;
this.debug = false;
this.viewerInfo = "";
this.publishStreamId = null;
this.blackFrameTimer = null;