get isConnected() {
    return this.pc
      && !!~[ // eslint-disable-line no-bitwise
        ICE_CONNECTION_STATE_CONNECTED,
        ICE_CONNECTION_STATE_COMPLETED,
        ICE_CONNECTION_STATE_OTHER
      ].indexOf(this.pc.iceConnectionState);
  }
/**
   * Indicates if the PeerConnection is established based on ICE connection state
   * @returns {boolean}
   */
Indicates if the PeerConnection is established based on ICE connection state
@returns {boolean}
Indicates if the PeerConnection is established based on ICE connection state @returns { boolean }
get isConnected() {
    return this.pc
      && !!~[ 
        ICE_CONNECTION_STATE_CONNECTED,
        ICE_CONNECTION_STATE_COMPLETED,
        ICE_CONNECTION_STATE_OTHER
      ].indexOf(this.pc.iceConnectionState);
  }
get isConnected ( ) { return this . pc && ! ! ~ [ ICE_CONNECTION_STATE_CONNECTED , ICE_CONNECTION_STATE_COMPLETED , ICE_CONNECTION_STATE_OTHER ] . indexOf ( this . pc . iceConnectionState ) ; }
Indicates if the PeerConnection is established based on ICE connection state
 @returns {boolean}
Indicates if the PeerConnection is established based on ICE connection state @returns { boolean }
// eslint-disable-line no-bitwise