/*!
 * Copyright 2021 Plivo Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * This software includes JsSIP under the following License.
 * 
 *     Name: JsSIP
 *     Author: José Luis Millán <jmillan@aliax.net>
 *     Core Developer: Iñaki Baz Castillo <ibc@aliax.net>
 *     Copyright (c) 2012-2015 José Luis Millán - Versatica <https://github.com/versatica/>
 * 
 * 
 *     License: The MIT License
 * 
 *     Permission is hereby granted, free of charge, to any person obtaining
 *     a copy of this software and associated documentation files (the
 *     "Software"), to deal in the Software without restriction, including
 *     without limitation the rights to use, copy, modify, merge, publish,
 *     distribute, sublicense, and/or sell copies of the Software, and to
 *     permit persons to whom the Software is furnished to do so, subject to
 *     the following conditions:
 * 
 *     The above copyright notice and this permission notice shall be
 *     included in all copies or substantial portions of the Software.
 * 
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 *     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 *     LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 *     OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 *     WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *     
 * This software includes callstats.io under the following License.
 * 
 *     Copyright (c) 2013-2018, callstats.io
 *     All rights reserved.
 * 
 *     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 *     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 *     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 *     ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 *     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 *     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 *     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 *     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 *     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 *     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 *     POSSIBILITY OF SUCH DAMAGE.
 * 
 */

/*! ../../package.json */

/*! ../constants */

/*! ../logger */

/*! ../media/audioDevice */

/*! ../media/audioLevel */

/*! ../media/document */

/*! ../rnnoise/NoiseSuppression */

/*! ../stats/httpRequest */

/*! ../stats/mediaMetrics */

/*! ../stats/nonRTPStats */

/*! ../stats/rtpStats */

/*! ../stats/setup */

/*! ../stats/ws */

/*! ../utils */

/*! ../utils.js */

/*! ../utils/browserDetection */

/*! ../utils/codecPreference */

/*! ../utils/device */

/*! ../utils/headers */

/*! ../utils/networkManager */

/*! ../utils/oneWayAudio */

/*! ./../../node_modules/process/browser.js */

/*! ./../../node_modules/webpack/buildin/global.js */

/*! ./NoiseSuppressionEffect */

/*! ./adapter_factory.js */

/*! ./audioDevice */

/*! ./audioLevel */

/*! ./audioVisualize */

/*! ./browserDetection */

/*! ./callSession */

/*! ./callstatsio.js */

/*! ./chrome/chrome_shim */

/*! ./client */

/*! ./common */

/*! ./common_shim */

/*! ./constants */

/*! ./edge/edge_shim */

/*! ./filtericeservers */

/*! ./firefox/firefox_shim */

/*! ./getdisplaymedia */

/*! ./getusermedia */

/*! ./incomingCall */

/*! ./lib/index.ts */

/*! ./logger */

/*! ./managers/account */

/*! ./managers/incomingCall */

/*! ./managers/outgoingCall */

/*! ./managers/util */

/*! ./media/audioDevice */

/*! ./media/document */

/*! ./mediaMetrics */

/*! ./modules/semver */

/*! ./outgoingCall */

/*! ./safari/safari_shim */

/*! ./stats/httpRequest */

/*! ./stats/nonRTPStats */

/*! ./stats/ws */

/*! ./storage */

/*! ./util */

/*! ./utils */

/*! ./utils/browserDetection */

/*! ./utils/device */

/*! ./utils/feedback */

/*! ./utils/frameworkDetection */

/*! ./utils/loggerUtil */

/*! ./utils/networkManager */

/*! ./utils/options */

/*! ./utils/token */

/*! ./ws */

/*! callstats  version = 3.53.1 2018-08-07 11-35-59 */

/*! events */

/*! exports provided: adapterFactory */

/*! exports provided: default */

/*! exports provided: extractVersion, wrapPeerConnectionEvent, disableLog, disableWarnings, log, deprecated, detectBrowser, compactObject, walkStats, filterStats */

/*! exports provided: filterIceServers */

/*! exports provided: name, title, version, description, main, types, scripts, jest, author, license, bugs, homepage, pre-commit, dependencies, devDependencies, default */

/*! exports provided: shimGetDisplayMedia */

/*! exports provided: shimGetUserMedia */

/*! exports provided: shimGetUserMedia, shimGetDisplayMedia, shimMediaStream, shimOnTrack, shimGetSendersWithDtmf, shimGetStats, shimSenderReceiverGetStats, shimAddTrackRemoveTrackWithNative, shimAddTrackRemoveTrack, shimPeerConnection, fixNegotiationNeeded */

/*! exports provided: shimGetUserMedia, shimGetDisplayMedia, shimOnTrack, shimPeerConnection, shimSenderGetStats, shimReceiverGetStats, shimRemoveStream, shimRTCDataChannel, shimAddTransceiver, shimGetParameters, shimCreateOffer, shimCreateAnswer */

/*! exports provided: shimGetUserMedia, shimGetDisplayMedia, shimPeerConnection, shimReplaceTrack */

/*! exports provided: shimLocalStreamsAPI, shimRemoteStreamsAPI, shimCallbacksAPI, shimGetUserMedia, shimConstraints, shimRTCIceServerUrls, shimTrackEventTransceiver, shimCreateOfferLegacy, shimAudioContext */

/*! exports provided: shimRTCIceCandidate, shimMaxMessageSize, shimSendThrowTypeError, shimConnectionState, removeAllowExtmapMixed */

/*! no static exports found */

/*! plivo-jssip */

/*! rtcpeerconnection-shim */

/*! sdp */

/*! semver-parser */

/*! webrtc-adapter */

/*!**********************!*\
  !*** ./lib/index.ts ***!
  \**********************/

/*!**********************!*\
  !*** ./package.json ***!
  \**********************/

/*!***********************!*\
  !*** ./lib/client.ts ***!
  \***********************/

/*!***********************!*\
  !*** ./lib/logger.ts ***!
  \***********************/

/*!************************!*\
  !*** ./lib/storage.ts ***!
  \************************/

/*!*************************!*\
  !*** ./lib/stats/ws.ts ***!
  \*************************/

/*!**************************!*\
  !*** ./lib/constants.ts ***!
  \**************************/

/*!****************************!*\
  !*** ./lib/stats/setup.ts ***!
  \****************************/

/*!****************************!*\
  !*** ./lib/utils/token.js ***!
  \****************************/

/*!****************************!*\
  !*** multi ./lib/index.ts ***!
  \****************************/

/*!*****************************!*\
  !*** ./lib/utils/device.ts ***!
  \*****************************/

/*!******************************!*\
  !*** ./lib/managers/util.ts ***!
  \******************************/

/*!******************************!*\
  !*** ./lib/utils/headers.ts ***!
  \******************************/

/*!******************************!*\
  !*** ./lib/utils/options.ts ***!
  \******************************/

/*!*******************************!*\
  !*** ./lib/media/document.ts ***!
  \*******************************/

/*!*******************************!*\
  !*** ./lib/stats/rtpStats.ts ***!
  \*******************************/

/*!*******************************!*\
  !*** ./lib/utils/feedback.ts ***!
  \*******************************/

/*!*********************************!*\
  !*** ./lib/managers/account.ts ***!
  \*********************************/

/*!*********************************!*\
  !*** ./lib/media/audioLevel.ts ***!
  \*********************************/

/*!*********************************!*\
  !*** ./lib/utils/loggerUtil.ts ***!
  \*********************************/

/*!*********************************!*\
  !*** ./node_modules/sdp/sdp.js ***!
  \*********************************/

/*!**********************************!*\
  !*** ./lib/media/audioDevice.ts ***!
  \**********************************/

/*!**********************************!*\
  !*** ./lib/stats/callstatsio.js ***!
  \**********************************/

/*!**********************************!*\
  !*** ./lib/stats/httpRequest.ts ***!
  \**********************************/

/*!**********************************!*\
  !*** ./lib/stats/nonRTPStats.ts ***!
  \**********************************/

/*!**********************************!*\
  !*** ./lib/utils/oneWayAudio.ts ***!
  \**********************************/

/*!***********************************!*\
  !*** (webpack)/buildin/global.js ***!
  \***********************************/

/*!***********************************!*\
  !*** ./lib/stats/mediaMetrics.ts ***!
  \***********************************/

/*!*************************************!*\
  !*** ./lib/managers/callSession.ts ***!
  \*************************************/

/*!*************************************!*\
  !*** ./lib/media/audioVisualize.ts ***!
  \*************************************/

/*!*************************************!*\
  !*** ./lib/utils/networkManager.ts ***!
  \*************************************/

/*!**************************************!*\
  !*** ./lib/managers/incomingCall.ts ***!
  \**************************************/

/*!**************************************!*\
  !*** ./lib/managers/outgoingCall.ts ***!
  \**************************************/

/*!**************************************!*\
  !*** ./lib/utils/codecPreference.ts ***!
  \**************************************/

/*!***************************************!*\
  !*** ./lib/utils/browserDetection.ts ***!
  \***************************************/

/*!***************************************!*\
  !*** ./node_modules/events/events.js ***!
  \***************************************/

/*!*****************************************!*\
  !*** ./lib/rnnoise/NoiseSuppression.ts ***!
  \*****************************************/

/*!*****************************************!*\
  !*** ./lib/utils/frameworkDetection.ts ***!
  \*****************************************/

/*!*****************************************!*\
  !*** ./node_modules/process/browser.js ***!
  \*****************************************/

/*!*********************************************!*\
  !*** ./node_modules/semver-parser/index.js ***!
  \*********************************************/

/*!***********************************************!*\
  !*** ./lib/rnnoise/NoiseSuppressionEffect.ts ***!
  \***********************************************/

/*!*****************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/utils.js ***!
  \*****************************************************/

/*!******************************************************!*\
  !*** ./node_modules/semver-parser/modules/common.js ***!
  \******************************************************/

/*!******************************************************!*\
  !*** ./node_modules/semver-parser/modules/semver.js ***!
  \******************************************************/

/*!**********************************************************!*\
  !*** ./node_modules/plivo-jssip/dist/plivo-jssip.min.js ***!
  \**********************************************************/

/*!***********************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/common_shim.js ***!
  \***********************************************************/

/*!************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/adapter_core.js ***!
  \************************************************************/

/*!**************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/edge/edge_shim.js ***!
  \**************************************************************/

/*!***************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/adapter_factory.js ***!
  \***************************************************************/

/*!*****************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/edge/getusermedia.js ***!
  \*****************************************************************/

/*!******************************************************************!*\
  !*** ./node_modules/rtcpeerconnection-shim/rtcpeerconnection.js ***!
  \******************************************************************/

/*!******************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js ***!
  \******************************************************************/

/*!******************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/safari/safari_shim.js ***!
  \******************************************************************/

/*!*******************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/chrome/getusermedia.js ***!
  \*******************************************************************/

/*!********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/edge/getdisplaymedia.js ***!
  \********************************************************************/

/*!********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/firefox/firefox_shim.js ***!
  \********************************************************************/

/*!********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/firefox/getusermedia.js ***!
  \********************************************************************/

/*!*********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/edge/filtericeservers.js ***!
  \*********************************************************************/

/*!**********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js ***!
  \**********************************************************************/

/*!***********************************************************************!*\
  !*** ./node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js ***!
  \***********************************************************************/
