twilio-video 2.24.0 → 2.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +9 -1
- package/dist/twilio-video.js +166 -148
- package/dist/twilio-video.min.js +21 -21
- package/es5/media/track/localvideotrack.js +1 -1
- package/es5/media/track/localvideotrack.js.map +1 -1
- package/es5/noisecancellationadapter.js +1 -2
- package/es5/noisecancellationadapter.js.map +1 -1
- package/es5/signaling/v2/peerconnection.js +8 -1
- package/es5/signaling/v2/peerconnection.js.map +1 -1
- package/es5/util/dynamicimport.js +22 -0
- package/es5/util/dynamicimport.js.map +1 -0
- package/lib/media/track/localvideotrack.js +1 -1
- package/lib/noisecancellationadapter.ts +4 -3
- package/lib/signaling/v2/peerconnection.js +8 -3
- package/lib/util/dynamicimport.js +22 -0
- package/package.json +2 -2
- package/tsconfig.json +0 -3
- package/tsdef/LocalTrackOptions.d.ts +1 -1
- package/es5/dynamicImport.js +0 -9
- package/lib/dynamicImport.js +0 -9
package/dist/twilio-video.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! twilio-video.js 2.24.
|
|
1
|
+
/*! twilio-video.js 2.24.2
|
|
2
2
|
|
|
3
3
|
The following license applies to all parts of this software except as
|
|
4
4
|
documented below.
|
|
@@ -83,7 +83,7 @@ function createCancelableRoomPromise(getLocalTracks, createLocalParticipant, cre
|
|
|
83
83
|
}
|
|
84
84
|
module.exports = createCancelableRoomPromise;
|
|
85
85
|
|
|
86
|
-
},{"./util/cancelablepromise":
|
|
86
|
+
},{"./util/cancelablepromise":123}],2:[function(require,module,exports){
|
|
87
87
|
'use strict';
|
|
88
88
|
var MediaStreamTrack = require('./webrtc').MediaStreamTrack;
|
|
89
89
|
var _a = require('./webrtc/util'), guessBrowser = _a.guessBrowser, guessBrowserVersion = _a.guessBrowserVersion;
|
|
@@ -999,7 +999,7 @@ function normalizeCodecSettings(nameOrSettings) {
|
|
|
999
999
|
}
|
|
1000
1000
|
module.exports = connect;
|
|
1001
1001
|
|
|
1002
|
-
},{"./cancelableroompromise":1,"./encodingparameters":
|
|
1002
|
+
},{"./cancelableroompromise":1,"./encodingparameters":9,"./localparticipant":12,"./media/track/es5":14,"./networkqualityconfiguration":43,"./room":56,"./signaling/v2":70,"./util":131,"./util/cancelablepromise":123,"./util/constants":124,"./util/eventobserver":129,"./util/insightspublisher":132,"./util/insightspublisher/null":133,"./util/log":135,"./util/validate":149,"./webrtc":157,"./webrtc/util":170}],3:[function(require,module,exports){
|
|
1003
1003
|
'use strict';
|
|
1004
1004
|
var _a = require('./util/constants'), DEFAULT_LOG_LEVEL = _a.DEFAULT_LOG_LEVEL, DEFAULT_LOGGER_NAME = _a.DEFAULT_LOGGER_NAME;
|
|
1005
1005
|
/**
|
|
@@ -1140,7 +1140,7 @@ module.exports = {
|
|
|
1140
1140
|
video: createLocalVideoTrack
|
|
1141
1141
|
};
|
|
1142
1142
|
|
|
1143
|
-
},{"./util/constants":
|
|
1143
|
+
},{"./util/constants":124}],4:[function(require,module,exports){
|
|
1144
1144
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1145
1145
|
'use strict';
|
|
1146
1146
|
var __assign = (this && this.__assign) || function () {
|
|
@@ -1386,7 +1386,7 @@ function createLocalTracks(options) {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
exports.createLocalTracks = createLocalTracks;
|
|
1388
1388
|
|
|
1389
|
-
},{"./media/track/es5":
|
|
1389
|
+
},{"./media/track/es5":14,"./media/track/noisecancellationimpl":28,"./util":131,"./util/constants":124,"./util/log":135,"./webaudio/workaround180748":154,"./webrtc":157}],5:[function(require,module,exports){
|
|
1390
1390
|
'use strict';
|
|
1391
1391
|
var __extends = (this && this.__extends) || (function () {
|
|
1392
1392
|
var extendStatics = function (d, b) {
|
|
@@ -1645,7 +1645,7 @@ var DataTrackTransceiver = /** @class */ (function (_super) {
|
|
|
1645
1645
|
}(TrackTransceiver));
|
|
1646
1646
|
module.exports = DataTrackTransceiver;
|
|
1647
1647
|
|
|
1648
|
-
},{"../transceiver":
|
|
1648
|
+
},{"../transceiver":118}],8:[function(require,module,exports){
|
|
1649
1649
|
'use strict';
|
|
1650
1650
|
var __extends = (this && this.__extends) || (function () {
|
|
1651
1651
|
var extendStatics = function (d, b) {
|
|
@@ -1743,17 +1743,6 @@ var DataTransport = /** @class */ (function (_super) {
|
|
|
1743
1743
|
module.exports = DataTransport;
|
|
1744
1744
|
|
|
1745
1745
|
},{"events":173}],9:[function(require,module,exports){
|
|
1746
|
-
// typescript has an issue that it compiles await import into require when module is set to commonjs
|
|
1747
|
-
// https://github.com/microsoft/TypeScript/issues/43329
|
|
1748
|
-
|
|
1749
|
-
// To workaround this issue we need following code to be not compiled by typescript.
|
|
1750
|
-
|
|
1751
|
-
'use strict';
|
|
1752
|
-
module.exports = function(module) {
|
|
1753
|
-
return import(/* webpackIgnore: true */ module);
|
|
1754
|
-
};
|
|
1755
|
-
|
|
1756
|
-
},{}],10:[function(require,module,exports){
|
|
1757
1746
|
'use strict';
|
|
1758
1747
|
var __extends = (this && this.__extends) || (function () {
|
|
1759
1748
|
var extendStatics = function (d, b) {
|
|
@@ -1851,13 +1840,13 @@ var EncodingParametersImpl = /** @class */ (function (_super) {
|
|
|
1851
1840
|
*/
|
|
1852
1841
|
module.exports = EncodingParametersImpl;
|
|
1853
1842
|
|
|
1854
|
-
},{"events":173}],
|
|
1843
|
+
},{"events":173}],10:[function(require,module,exports){
|
|
1855
1844
|
'use strict';
|
|
1856
1845
|
var EventEmitter = require('events').EventEmitter;
|
|
1857
1846
|
var hidePrivateAndCertainPublicPropertiesInClass = require('./util').hidePrivateAndCertainPublicPropertiesInClass;
|
|
1858
1847
|
module.exports = hidePrivateAndCertainPublicPropertiesInClass(EventEmitter, ['domain']);
|
|
1859
1848
|
|
|
1860
|
-
},{"./util":131,"events":173}],
|
|
1849
|
+
},{"./util":131,"events":173}],11:[function(require,module,exports){
|
|
1861
1850
|
'use strict';
|
|
1862
1851
|
var __assign = (this && this.__assign) || function () {
|
|
1863
1852
|
__assign = Object.assign || function(t) {
|
|
@@ -1931,7 +1920,7 @@ module.exports = {
|
|
|
1931
1920
|
LocalDataTrack: LocalDataTrack,
|
|
1932
1921
|
};
|
|
1933
1922
|
|
|
1934
|
-
},{"../package.json":174,"./connect":2,"./createlocaltrack":3,"./createlocaltracks":4,"./media/track/es5":
|
|
1923
|
+
},{"../package.json":174,"./connect":2,"./createlocaltrack":3,"./createlocaltracks":4,"./media/track/es5":14,"./preflight/preflighttest":50,"./util/support":144,"./vendor/loglevel":151}],12:[function(require,module,exports){
|
|
1935
1924
|
'use strict';
|
|
1936
1925
|
var __extends = (this && this.__extends) || (function () {
|
|
1937
1926
|
var extendStatics = function (d, b) {
|
|
@@ -2643,7 +2632,7 @@ function getTrackPublication(trackPublications, track) {
|
|
|
2643
2632
|
}
|
|
2644
2633
|
module.exports = LocalParticipant;
|
|
2645
2634
|
|
|
2646
|
-
},{"./media/track/es5":
|
|
2635
|
+
},{"./media/track/es5":14,"./media/track/localaudiotrackpublication":20,"./media/track/localdatatrackpublication":22,"./media/track/localvideotrackpublication":26,"./participant":45,"./util":131,"./util/constants":124,"./util/validate":149,"./webrtc":157}],13:[function(require,module,exports){
|
|
2647
2636
|
'use strict';
|
|
2648
2637
|
var __extends = (this && this.__extends) || (function () {
|
|
2649
2638
|
var extendStatics = function (d, b) {
|
|
@@ -2809,7 +2798,7 @@ var AudioTrack = /** @class */ (function (_super) {
|
|
|
2809
2798
|
*/
|
|
2810
2799
|
module.exports = AudioTrack;
|
|
2811
2800
|
|
|
2812
|
-
},{"./mediatrack":
|
|
2801
|
+
},{"./mediatrack":27}],14:[function(require,module,exports){
|
|
2813
2802
|
'use strict';
|
|
2814
2803
|
module.exports = {
|
|
2815
2804
|
LocalAudioTrack: require('./localaudiotrack'),
|
|
@@ -2817,7 +2806,7 @@ module.exports = {
|
|
|
2817
2806
|
LocalDataTrack: require('./localdatatrack')
|
|
2818
2807
|
};
|
|
2819
2808
|
|
|
2820
|
-
},{"./localaudiotrack":
|
|
2809
|
+
},{"./localaudiotrack":15,"./localdatatrack":16,"./localvideotrack":17}],15:[function(require,module,exports){
|
|
2821
2810
|
// eslint-disable-next-line no-warning-comments
|
|
2822
2811
|
// TODO(mroberts): Remove this when we go to the next major version. This is
|
|
2823
2812
|
// only in place so that we can support ES6 classes without requiring `new`.
|
|
@@ -2832,7 +2821,7 @@ function LocalAudioTrack(mediaStreamTrack, options) {
|
|
|
2832
2821
|
inherits(LocalAudioTrack, LocalAudioTrackClass);
|
|
2833
2822
|
module.exports = LocalAudioTrack;
|
|
2834
2823
|
|
|
2835
|
-
},{"../../../vendor/inherits":150,"../localaudiotrack":
|
|
2824
|
+
},{"../../../vendor/inherits":150,"../localaudiotrack":19}],16:[function(require,module,exports){
|
|
2836
2825
|
// eslint-disable-next-line no-warning-comments
|
|
2837
2826
|
// TODO(mroberts): Remove this when we go to the next major version. This is
|
|
2838
2827
|
// only in place so that we can support ES6 classes without requiring `new`.
|
|
@@ -2847,7 +2836,7 @@ function LocalDataTrack(options) {
|
|
|
2847
2836
|
inherits(LocalDataTrack, LocalDataTrackClass);
|
|
2848
2837
|
module.exports = LocalDataTrack;
|
|
2849
2838
|
|
|
2850
|
-
},{"../../../vendor/inherits":150,"../localdatatrack":
|
|
2839
|
+
},{"../../../vendor/inherits":150,"../localdatatrack":21}],17:[function(require,module,exports){
|
|
2851
2840
|
// eslint-disable-next-line no-warning-comments
|
|
2852
2841
|
// TODO(mroberts): Remove this when we go to the next major version. This is
|
|
2853
2842
|
// only in place so that we can support ES6 classes without requiring `new`.
|
|
@@ -2862,7 +2851,7 @@ function LocalVideoTrack(mediaStreamTrack, options) {
|
|
|
2862
2851
|
inherits(LocalVideoTrack, LocalVideoTrackClass);
|
|
2863
2852
|
module.exports = LocalVideoTrack;
|
|
2864
2853
|
|
|
2865
|
-
},{"../../../vendor/inherits":150,"../localvideotrack":
|
|
2854
|
+
},{"../../../vendor/inherits":150,"../localvideotrack":25}],18:[function(require,module,exports){
|
|
2866
2855
|
'use strict';
|
|
2867
2856
|
var __extends = (this && this.__extends) || (function () {
|
|
2868
2857
|
var extendStatics = function (d, b) {
|
|
@@ -2974,7 +2963,7 @@ var Track = /** @class */ (function (_super) {
|
|
|
2974
2963
|
*/
|
|
2975
2964
|
module.exports = Track;
|
|
2976
2965
|
|
|
2977
|
-
},{"../../eventemitter":
|
|
2966
|
+
},{"../../eventemitter":10,"../../util":131,"../../util/constants":124,"../../util/log":135}],19:[function(require,module,exports){
|
|
2978
2967
|
'use strict';
|
|
2979
2968
|
var __extends = (this && this.__extends) || (function () {
|
|
2980
2969
|
var extendStatics = function (d, b) {
|
|
@@ -3160,7 +3149,7 @@ var LocalAudioTrack = /** @class */ (function (_super) {
|
|
|
3160
3149
|
*/
|
|
3161
3150
|
module.exports = LocalAudioTrack;
|
|
3162
3151
|
|
|
3163
|
-
},{"./audiotrack":
|
|
3152
|
+
},{"./audiotrack":13,"./localmediatrack":23}],20:[function(require,module,exports){
|
|
3164
3153
|
'use strict';
|
|
3165
3154
|
var __extends = (this && this.__extends) || (function () {
|
|
3166
3155
|
var extendStatics = function (d, b) {
|
|
@@ -3206,7 +3195,7 @@ var LocalAudioTrackPublication = /** @class */ (function (_super) {
|
|
|
3206
3195
|
}(LocalTrackPublication));
|
|
3207
3196
|
module.exports = LocalAudioTrackPublication;
|
|
3208
3197
|
|
|
3209
|
-
},{"./localtrackpublication":
|
|
3198
|
+
},{"./localtrackpublication":24}],21:[function(require,module,exports){
|
|
3210
3199
|
'use strict';
|
|
3211
3200
|
var __extends = (this && this.__extends) || (function () {
|
|
3212
3201
|
var extendStatics = function (d, b) {
|
|
@@ -3344,7 +3333,7 @@ var LocalDataTrack = /** @class */ (function (_super) {
|
|
|
3344
3333
|
*/
|
|
3345
3334
|
module.exports = LocalDataTrack;
|
|
3346
3335
|
|
|
3347
|
-
},{"../../data/sender":6,"./":
|
|
3336
|
+
},{"../../data/sender":6,"./":18}],22:[function(require,module,exports){
|
|
3348
3337
|
'use strict';
|
|
3349
3338
|
var __extends = (this && this.__extends) || (function () {
|
|
3350
3339
|
var extendStatics = function (d, b) {
|
|
@@ -3390,7 +3379,7 @@ var LocalDataTrackPublication = /** @class */ (function (_super) {
|
|
|
3390
3379
|
}(LocalTrackPublication));
|
|
3391
3380
|
module.exports = LocalDataTrackPublication;
|
|
3392
3381
|
|
|
3393
|
-
},{"./localtrackpublication":
|
|
3382
|
+
},{"./localtrackpublication":24}],23:[function(require,module,exports){
|
|
3394
3383
|
/* eslint new-cap:0 */
|
|
3395
3384
|
'use strict';
|
|
3396
3385
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -3748,7 +3737,7 @@ function restartWhenInadvertentlyStopped(localMediaTrack) {
|
|
|
3748
3737
|
}
|
|
3749
3738
|
module.exports = mixinLocalMediaTrack;
|
|
3750
3739
|
|
|
3751
|
-
},{"../../util":131,"../../util/constants":
|
|
3740
|
+
},{"../../util":131,"../../util/constants":124,"../../util/detectsilentaudio":125,"../../util/detectsilentvideo":126,"../../util/documentvisibilitymonitor.js":127,"../../util/localmediarestartdeferreds":134,"../../webaudio/workaround180748":154,"../../webrtc":157,"../../webrtc/util":170,"./sender":38}],24:[function(require,module,exports){
|
|
3752
3741
|
/* eslint new-cap:0 */
|
|
3753
3742
|
'use strict';
|
|
3754
3743
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -3914,7 +3903,7 @@ var LocalTrackPublication = /** @class */ (function (_super) {
|
|
|
3914
3903
|
*/
|
|
3915
3904
|
module.exports = LocalTrackPublication;
|
|
3916
3905
|
|
|
3917
|
-
},{"../../util/constants":
|
|
3906
|
+
},{"../../util/constants":124,"./trackpublication":39}],25:[function(require,module,exports){
|
|
3918
3907
|
'use strict';
|
|
3919
3908
|
var __extends = (this && this.__extends) || (function () {
|
|
3920
3909
|
var extendStatics = function (d, b) {
|
|
@@ -4220,7 +4209,7 @@ function workaroundSilentLocalVideo(localVideoTrack, doc) {
|
|
|
4220
4209
|
}).finally(function () {
|
|
4221
4210
|
// If silent frames were not detected, then pause the dummy element again.
|
|
4222
4211
|
el = localVideoTrack._dummyEl;
|
|
4223
|
-
if (!el.paused) {
|
|
4212
|
+
if (el && !el.paused) {
|
|
4224
4213
|
el.pause();
|
|
4225
4214
|
}
|
|
4226
4215
|
// Reset the unmute handler.
|
|
@@ -4261,7 +4250,7 @@ function workaroundSilentLocalVideo(localVideoTrack, doc) {
|
|
|
4261
4250
|
*/
|
|
4262
4251
|
module.exports = LocalVideoTrack;
|
|
4263
4252
|
|
|
4264
|
-
},{"../../util":131,"../../util/detectsilentvideo":
|
|
4253
|
+
},{"../../util":131,"../../util/detectsilentvideo":126,"../../webrtc/util":170,"./localmediatrack":23,"./videotrack":42}],26:[function(require,module,exports){
|
|
4265
4254
|
'use strict';
|
|
4266
4255
|
var __extends = (this && this.__extends) || (function () {
|
|
4267
4256
|
var extendStatics = function (d, b) {
|
|
@@ -4307,7 +4296,7 @@ var LocalVideoTrackPublication = /** @class */ (function (_super) {
|
|
|
4307
4296
|
}(LocalTrackPublication));
|
|
4308
4297
|
module.exports = LocalVideoTrackPublication;
|
|
4309
4298
|
|
|
4310
|
-
},{"./localtrackpublication":
|
|
4299
|
+
},{"./localtrackpublication":24}],27:[function(require,module,exports){
|
|
4311
4300
|
'use strict';
|
|
4312
4301
|
var __extends = (this && this.__extends) || (function () {
|
|
4313
4302
|
var extendStatics = function (d, b) {
|
|
@@ -4671,7 +4660,7 @@ function shimMediaElement(el, onUnintentionallyPaused) {
|
|
|
4671
4660
|
}
|
|
4672
4661
|
module.exports = MediaTrack;
|
|
4673
4662
|
|
|
4674
|
-
},{"../../util":131,"../../util/localmediarestartdeferreds":134,"../../webrtc":157,"../../webrtc/util":170,"./":
|
|
4663
|
+
},{"../../util":131,"../../util/localmediarestartdeferreds":134,"../../webrtc":157,"../../webrtc/util":170,"./":18}],28:[function(require,module,exports){
|
|
4675
4664
|
'use strict';
|
|
4676
4665
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
4677
4666
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -4900,7 +4889,7 @@ function applyNoiseCancellation(mediaStreamTrack, noiseCancellationOptions, log)
|
|
|
4900
4889
|
}
|
|
4901
4890
|
exports.applyNoiseCancellation = applyNoiseCancellation;
|
|
4902
4891
|
|
|
4903
|
-
},{"../../noisecancellationadapter":
|
|
4892
|
+
},{"../../noisecancellationadapter":44,"../../util/log":135}],29:[function(require,module,exports){
|
|
4904
4893
|
'use strict';
|
|
4905
4894
|
var __extends = (this && this.__extends) || (function () {
|
|
4906
4895
|
var extendStatics = function (d, b) {
|
|
@@ -4936,7 +4925,7 @@ var MediaTrackReceiver = /** @class */ (function (_super) {
|
|
|
4936
4925
|
}(MediaTrackTransceiver));
|
|
4937
4926
|
module.exports = MediaTrackReceiver;
|
|
4938
4927
|
|
|
4939
|
-
},{"./transceiver":
|
|
4928
|
+
},{"./transceiver":40}],30:[function(require,module,exports){
|
|
4940
4929
|
'use strict';
|
|
4941
4930
|
var __extends = (this && this.__extends) || (function () {
|
|
4942
4931
|
var extendStatics = function (d, b) {
|
|
@@ -5033,7 +5022,7 @@ var RemoteAudioTrack = /** @class */ (function (_super) {
|
|
|
5033
5022
|
*/
|
|
5034
5023
|
module.exports = RemoteAudioTrack;
|
|
5035
5024
|
|
|
5036
|
-
},{"./audiotrack":
|
|
5025
|
+
},{"./audiotrack":13,"./remotemediatrack":34}],31:[function(require,module,exports){
|
|
5037
5026
|
'use strict';
|
|
5038
5027
|
var __extends = (this && this.__extends) || (function () {
|
|
5039
5028
|
var extendStatics = function (d, b) {
|
|
@@ -5105,7 +5094,7 @@ var RemoteAudioTrackPublication = /** @class */ (function (_super) {
|
|
|
5105
5094
|
*/
|
|
5106
5095
|
module.exports = RemoteAudioTrackPublication;
|
|
5107
5096
|
|
|
5108
|
-
},{"./remotetrackpublication":
|
|
5097
|
+
},{"./remotetrackpublication":35}],32:[function(require,module,exports){
|
|
5109
5098
|
'use strict';
|
|
5110
5099
|
var __extends = (this && this.__extends) || (function () {
|
|
5111
5100
|
var extendStatics = function (d, b) {
|
|
@@ -5292,7 +5281,7 @@ var RemoteDataTrack = /** @class */ (function (_super) {
|
|
|
5292
5281
|
*/
|
|
5293
5282
|
module.exports = RemoteDataTrack;
|
|
5294
5283
|
|
|
5295
|
-
},{"../../util/constants":
|
|
5284
|
+
},{"../../util/constants":124,"./":18}],33:[function(require,module,exports){
|
|
5296
5285
|
'use strict';
|
|
5297
5286
|
var __extends = (this && this.__extends) || (function () {
|
|
5298
5287
|
var extendStatics = function (d, b) {
|
|
@@ -5354,7 +5343,7 @@ var RemoteDataTrackPublication = /** @class */ (function (_super) {
|
|
|
5354
5343
|
*/
|
|
5355
5344
|
module.exports = RemoteDataTrackPublication;
|
|
5356
5345
|
|
|
5357
|
-
},{"./remotetrackpublication":
|
|
5346
|
+
},{"./remotetrackpublication":35}],34:[function(require,module,exports){
|
|
5358
5347
|
'use strict';
|
|
5359
5348
|
var __extends = (this && this.__extends) || (function () {
|
|
5360
5349
|
var extendStatics = function (d, b) {
|
|
@@ -5640,7 +5629,7 @@ function playIfPausedWhileInBackground(remoteMediaTrack) {
|
|
|
5640
5629
|
*/
|
|
5641
5630
|
module.exports = mixinRemoteMediaTrack;
|
|
5642
5631
|
|
|
5643
|
-
},{"../../util/constants":
|
|
5632
|
+
},{"../../util/constants":124,"../../util/documentvisibilitymonitor.js":127,"../../webrtc/util":170}],35:[function(require,module,exports){
|
|
5644
5633
|
'use strict';
|
|
5645
5634
|
var __extends = (this && this.__extends) || (function () {
|
|
5646
5635
|
var extendStatics = function (d, b) {
|
|
@@ -5835,7 +5824,7 @@ var RemoteTrackPublication = /** @class */ (function (_super) {
|
|
|
5835
5824
|
*/
|
|
5836
5825
|
module.exports = RemoteTrackPublication;
|
|
5837
5826
|
|
|
5838
|
-
},{"./trackpublication":
|
|
5827
|
+
},{"./trackpublication":39}],36:[function(require,module,exports){
|
|
5839
5828
|
'use strict';
|
|
5840
5829
|
var __extends = (this && this.__extends) || (function () {
|
|
5841
5830
|
var extendStatics = function (d, b) {
|
|
@@ -6269,7 +6258,7 @@ function maybeUpdateDimensionHint(remoteVideoTrack) {
|
|
|
6269
6258
|
*/
|
|
6270
6259
|
module.exports = RemoteVideoTrack;
|
|
6271
6260
|
|
|
6272
|
-
},{"../../util/documentvisibilitymonitor.js":
|
|
6261
|
+
},{"../../util/documentvisibilitymonitor.js":127,"../../util/nullobserver.js":138,"../../util/timeout":145,"./remotemediatrack":34,"./videotrack":42}],37:[function(require,module,exports){
|
|
6273
6262
|
'use strict';
|
|
6274
6263
|
var __extends = (this && this.__extends) || (function () {
|
|
6275
6264
|
var extendStatics = function (d, b) {
|
|
@@ -6341,7 +6330,7 @@ var RemoteVideoTrackPublication = /** @class */ (function (_super) {
|
|
|
6341
6330
|
*/
|
|
6342
6331
|
module.exports = RemoteVideoTrackPublication;
|
|
6343
6332
|
|
|
6344
|
-
},{"./remotetrackpublication":
|
|
6333
|
+
},{"./remotetrackpublication":35}],38:[function(require,module,exports){
|
|
6345
6334
|
'use strict';
|
|
6346
6335
|
var __extends = (this && this.__extends) || (function () {
|
|
6347
6336
|
var extendStatics = function (d, b) {
|
|
@@ -6490,7 +6479,7 @@ var MediaTrackSender = /** @class */ (function (_super) {
|
|
|
6490
6479
|
*/
|
|
6491
6480
|
module.exports = MediaTrackSender;
|
|
6492
6481
|
|
|
6493
|
-
},{"./transceiver":
|
|
6482
|
+
},{"./transceiver":40}],39:[function(require,module,exports){
|
|
6494
6483
|
'use strict';
|
|
6495
6484
|
var __extends = (this && this.__extends) || (function () {
|
|
6496
6485
|
var extendStatics = function (d, b) {
|
|
@@ -6587,7 +6576,7 @@ var TrackPublication = /** @class */ (function (_super) {
|
|
|
6587
6576
|
*/
|
|
6588
6577
|
module.exports = TrackPublication;
|
|
6589
6578
|
|
|
6590
|
-
},{"../../eventemitter":
|
|
6579
|
+
},{"../../eventemitter":10,"../../util":131,"../../util/constants":124,"../../util/log":135}],40:[function(require,module,exports){
|
|
6591
6580
|
'use strict';
|
|
6592
6581
|
var __extends = (this && this.__extends) || (function () {
|
|
6593
6582
|
var extendStatics = function (d, b) {
|
|
@@ -6654,7 +6643,7 @@ var MediaTrackTransceiver = /** @class */ (function (_super) {
|
|
|
6654
6643
|
}(TrackTransceiver));
|
|
6655
6644
|
module.exports = MediaTrackTransceiver;
|
|
6656
6645
|
|
|
6657
|
-
},{"../../transceiver":
|
|
6646
|
+
},{"../../transceiver":118}],41:[function(require,module,exports){
|
|
6658
6647
|
'use strict';
|
|
6659
6648
|
var __extends = (this && this.__extends) || (function () {
|
|
6660
6649
|
var extendStatics = function (d, b) {
|
|
@@ -6809,7 +6798,7 @@ var VideoProcessorEventObserver = /** @class */ (function (_super) {
|
|
|
6809
6798
|
}(EventEmitter));
|
|
6810
6799
|
module.exports = VideoProcessorEventObserver;
|
|
6811
6800
|
|
|
6812
|
-
},{"../../util/constants":
|
|
6801
|
+
},{"../../util/constants":124,"events":173}],42:[function(require,module,exports){
|
|
6813
6802
|
'use strict';
|
|
6814
6803
|
var __extends = (this && this.__extends) || (function () {
|
|
6815
6804
|
var extendStatics = function (d, b) {
|
|
@@ -7324,7 +7313,7 @@ function dimensionsChanged(track, elem) {
|
|
|
7324
7313
|
*/
|
|
7325
7314
|
module.exports = VideoTrack;
|
|
7326
7315
|
|
|
7327
|
-
},{"../../util/constants":
|
|
7316
|
+
},{"../../util/constants":124,"./mediatrack":27,"./videoprocessoreventobserver":41}],43:[function(require,module,exports){
|
|
7328
7317
|
'use strict';
|
|
7329
7318
|
var __extends = (this && this.__extends) || (function () {
|
|
7330
7319
|
var extendStatics = function (d, b) {
|
|
@@ -7423,8 +7412,7 @@ var NetworkQualityConfigurationImpl = /** @class */ (function (_super) {
|
|
|
7423
7412
|
}(EventEmitter));
|
|
7424
7413
|
module.exports = NetworkQualityConfigurationImpl;
|
|
7425
7414
|
|
|
7426
|
-
},{"./util":131,"./util/constants":
|
|
7427
|
-
/* eslint-disable no-console */
|
|
7415
|
+
},{"./util":131,"./util/constants":124,"events":173}],44:[function(require,module,exports){
|
|
7428
7416
|
'use strict';
|
|
7429
7417
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
7430
7418
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -7464,8 +7452,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
7464
7452
|
};
|
|
7465
7453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7466
7454
|
exports.createNoiseCancellationAudioProcessor = void 0;
|
|
7455
|
+
var dynamicImport = require('./util/dynamicimport');
|
|
7467
7456
|
var Log = require('./util/log');
|
|
7468
|
-
var dynamicImport = require('./dynamicImport');
|
|
7469
7457
|
var PLUGIN_CONFIG = {
|
|
7470
7458
|
krisp: {
|
|
7471
7459
|
supportedVersion: '1.0.0',
|
|
@@ -7579,7 +7567,7 @@ function createNoiseCancellationAudioProcessor(noiseCancellationOptions, log) {
|
|
|
7579
7567
|
}
|
|
7580
7568
|
exports.createNoiseCancellationAudioProcessor = createNoiseCancellationAudioProcessor;
|
|
7581
7569
|
|
|
7582
|
-
},{"./
|
|
7570
|
+
},{"./util/dynamicimport":128,"./util/log":135}],45:[function(require,module,exports){
|
|
7583
7571
|
'use strict';
|
|
7584
7572
|
var __extends = (this && this.__extends) || (function () {
|
|
7585
7573
|
var extendStatics = function (d, b) {
|
|
@@ -8196,7 +8184,7 @@ function reemitTrackPublicationEvents(participant, publication) {
|
|
|
8196
8184
|
}
|
|
8197
8185
|
module.exports = Participant;
|
|
8198
8186
|
|
|
8199
|
-
},{"./eventemitter":
|
|
8187
|
+
},{"./eventemitter":10,"./media/track/remoteaudiotrack":30,"./media/track/remoteaudiotrackpublication":31,"./media/track/remotedatatrack":32,"./media/track/remotedatatrackpublication":33,"./media/track/remotevideotrack":36,"./media/track/remotevideotrackpublication":37,"./util":131}],46:[function(require,module,exports){
|
|
8200
8188
|
"use strict";
|
|
8201
8189
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8202
8190
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -8350,7 +8338,7 @@ function extractSelectedActiveCandidatePair(stats) {
|
|
|
8350
8338
|
};
|
|
8351
8339
|
}
|
|
8352
8340
|
|
|
8353
|
-
},{}],
|
|
8341
|
+
},{}],47:[function(require,module,exports){
|
|
8354
8342
|
"use strict";
|
|
8355
8343
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8356
8344
|
exports.getTurnCredentials = void 0;
|
|
@@ -8398,7 +8386,7 @@ function getTurnCredentials(token, wsServer) {
|
|
|
8398
8386
|
}
|
|
8399
8387
|
exports.getTurnCredentials = getTurnCredentials;
|
|
8400
8388
|
|
|
8401
|
-
},{"../twilioconnection.js":
|
|
8389
|
+
},{"../twilioconnection.js":119,"../util/constants":124,"../util/twilio-video-errors":146,"events":173}],48:[function(require,module,exports){
|
|
8402
8390
|
"use strict";
|
|
8403
8391
|
var __read = (this && this.__read) || function (o, n) {
|
|
8404
8392
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -8439,7 +8427,7 @@ function makeStat(values) {
|
|
|
8439
8427
|
}
|
|
8440
8428
|
exports.makeStat = makeStat;
|
|
8441
8429
|
|
|
8442
|
-
},{}],
|
|
8430
|
+
},{}],49:[function(require,module,exports){
|
|
8443
8431
|
"use strict";
|
|
8444
8432
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8445
8433
|
exports.mosToScore = exports.calculateMOS = void 0;
|
|
@@ -8500,7 +8488,7 @@ function mosToScore(mosValue) {
|
|
|
8500
8488
|
}
|
|
8501
8489
|
exports.mosToScore = mosToScore;
|
|
8502
8490
|
|
|
8503
|
-
},{}],
|
|
8491
|
+
},{}],50:[function(require,module,exports){
|
|
8504
8492
|
"use strict";
|
|
8505
8493
|
var __extends = (this && this.__extends) || (function () {
|
|
8506
8494
|
var extendStatics = function (d, b) {
|
|
@@ -9144,7 +9132,7 @@ function runPreflight(token, options) {
|
|
|
9144
9132
|
}
|
|
9145
9133
|
exports.runPreflight = runPreflight;
|
|
9146
9134
|
|
|
9147
|
-
},{"../eventemitter":
|
|
9135
|
+
},{"../eventemitter":10,"../util/constants":124,"../util/eventobserver":129,"../util/index":131,"../util/insightspublisher":132,"../util/log":135,"../util/movingaveragedelta":136,"../util/sid":143,"../util/twilio-video-errors":146,"./getCombinedConnectionStats":46,"./getturncredentials":47,"./makestat":48,"./mos":49,"./syntheticaudio":51,"./syntheticvideo":52,"./timer":53}],51:[function(require,module,exports){
|
|
9148
9136
|
"use strict";
|
|
9149
9137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9150
9138
|
exports.syntheticAudio = void 0;
|
|
@@ -9167,7 +9155,7 @@ function syntheticAudio() {
|
|
|
9167
9155
|
}
|
|
9168
9156
|
exports.syntheticAudio = syntheticAudio;
|
|
9169
9157
|
|
|
9170
|
-
},{"../webaudio/audiocontext":152}],
|
|
9158
|
+
},{"../webaudio/audiocontext":152}],52:[function(require,module,exports){
|
|
9171
9159
|
"use strict";
|
|
9172
9160
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9173
9161
|
exports.syntheticVideo = void 0;
|
|
@@ -9201,7 +9189,7 @@ function syntheticVideo(_a) {
|
|
|
9201
9189
|
}
|
|
9202
9190
|
exports.syntheticVideo = syntheticVideo;
|
|
9203
9191
|
|
|
9204
|
-
},{}],
|
|
9192
|
+
},{}],53:[function(require,module,exports){
|
|
9205
9193
|
"use strict";
|
|
9206
9194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9207
9195
|
exports.Timer = void 0;
|
|
@@ -9231,7 +9219,7 @@ var Timer = /** @class */ (function () {
|
|
|
9231
9219
|
}());
|
|
9232
9220
|
exports.Timer = Timer;
|
|
9233
9221
|
|
|
9234
|
-
},{}],
|
|
9222
|
+
},{}],54:[function(require,module,exports){
|
|
9235
9223
|
'use strict';
|
|
9236
9224
|
var __extends = (this && this.__extends) || (function () {
|
|
9237
9225
|
var extendStatics = function (d, b) {
|
|
@@ -9332,7 +9320,7 @@ var QueueingEventEmitter = /** @class */ (function (_super) {
|
|
|
9332
9320
|
}(EventEmitter));
|
|
9333
9321
|
module.exports = QueueingEventEmitter;
|
|
9334
9322
|
|
|
9335
|
-
},{"events":173}],
|
|
9323
|
+
},{"events":173}],55:[function(require,module,exports){
|
|
9336
9324
|
'use strict';
|
|
9337
9325
|
var __extends = (this && this.__extends) || (function () {
|
|
9338
9326
|
var extendStatics = function (d, b) {
|
|
@@ -9613,7 +9601,7 @@ var RemoteParticipant = /** @class */ (function (_super) {
|
|
|
9613
9601
|
*/
|
|
9614
9602
|
module.exports = RemoteParticipant;
|
|
9615
9603
|
|
|
9616
|
-
},{"./participant":
|
|
9604
|
+
},{"./participant":45}],56:[function(require,module,exports){
|
|
9617
9605
|
'use strict';
|
|
9618
9606
|
var __extends = (this && this.__extends) || (function () {
|
|
9619
9607
|
var extendStatics = function (d, b) {
|
|
@@ -10240,7 +10228,7 @@ function handleSignalingEvents(room, signaling) {
|
|
|
10240
10228
|
}
|
|
10241
10229
|
module.exports = Room;
|
|
10242
10230
|
|
|
10243
|
-
},{"./eventemitter":
|
|
10231
|
+
},{"./eventemitter":10,"./remoteparticipant":55,"./stats/statsreport":115,"./util":131}],57:[function(require,module,exports){
|
|
10244
10232
|
/* eslint consistent-return:0 */
|
|
10245
10233
|
'use strict';
|
|
10246
10234
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -10410,7 +10398,7 @@ var Signaling = /** @class */ (function (_super) {
|
|
|
10410
10398
|
}(StateMachine));
|
|
10411
10399
|
module.exports = Signaling;
|
|
10412
10400
|
|
|
10413
|
-
},{"../statemachine":
|
|
10401
|
+
},{"../statemachine":87,"./participant":60,"./room":64}],58:[function(require,module,exports){
|
|
10414
10402
|
'use strict';
|
|
10415
10403
|
var __extends = (this && this.__extends) || (function () {
|
|
10416
10404
|
var extendStatics = function (d, b) {
|
|
@@ -10492,7 +10480,7 @@ var LocalParticipantSignaling = /** @class */ (function (_super) {
|
|
|
10492
10480
|
}(ParticipantSignaling));
|
|
10493
10481
|
module.exports = LocalParticipantSignaling;
|
|
10494
10482
|
|
|
10495
|
-
},{"./participant":
|
|
10483
|
+
},{"./participant":60}],59:[function(require,module,exports){
|
|
10496
10484
|
'use strict';
|
|
10497
10485
|
var __extends = (this && this.__extends) || (function () {
|
|
10498
10486
|
var extendStatics = function (d, b) {
|
|
@@ -10623,7 +10611,7 @@ function setError(publication, error) {
|
|
|
10623
10611
|
}
|
|
10624
10612
|
module.exports = LocalTrackPublicationSignaling;
|
|
10625
10613
|
|
|
10626
|
-
},{"./track":
|
|
10614
|
+
},{"./track":65}],60:[function(require,module,exports){
|
|
10627
10615
|
'use strict';
|
|
10628
10616
|
var __extends = (this && this.__extends) || (function () {
|
|
10629
10617
|
var extendStatics = function (d, b) {
|
|
@@ -10848,7 +10836,7 @@ var ParticipantSignaling = /** @class */ (function (_super) {
|
|
|
10848
10836
|
*/
|
|
10849
10837
|
module.exports = ParticipantSignaling;
|
|
10850
10838
|
|
|
10851
|
-
},{"../statemachine":
|
|
10839
|
+
},{"../statemachine":87,"../stats/networkqualitystats":102}],61:[function(require,module,exports){
|
|
10852
10840
|
'use strict';
|
|
10853
10841
|
var __extends = (this && this.__extends) || (function () {
|
|
10854
10842
|
var extendStatics = function (d, b) {
|
|
@@ -10921,7 +10909,7 @@ var RecordingSignaling = /** @class */ (function (_super) {
|
|
|
10921
10909
|
*/
|
|
10922
10910
|
module.exports = RecordingSignaling;
|
|
10923
10911
|
|
|
10924
|
-
},{"events":173}],
|
|
10912
|
+
},{"events":173}],62:[function(require,module,exports){
|
|
10925
10913
|
'use strict';
|
|
10926
10914
|
var __extends = (this && this.__extends) || (function () {
|
|
10927
10915
|
var extendStatics = function (d, b) {
|
|
@@ -10961,7 +10949,7 @@ var RemoteParticipantSignaling = /** @class */ (function (_super) {
|
|
|
10961
10949
|
}(ParticipantSignaling));
|
|
10962
10950
|
module.exports = RemoteParticipantSignaling;
|
|
10963
10951
|
|
|
10964
|
-
},{"./participant":
|
|
10952
|
+
},{"./participant":60}],63:[function(require,module,exports){
|
|
10965
10953
|
'use strict';
|
|
10966
10954
|
var __extends = (this && this.__extends) || (function () {
|
|
10967
10955
|
var extendStatics = function (d, b) {
|
|
@@ -11066,7 +11054,7 @@ var RemoteTrackPublicationSignaling = /** @class */ (function (_super) {
|
|
|
11066
11054
|
}(TrackSignaling));
|
|
11067
11055
|
module.exports = RemoteTrackPublicationSignaling;
|
|
11068
11056
|
|
|
11069
|
-
},{"./track":
|
|
11057
|
+
},{"./track":65}],64:[function(require,module,exports){
|
|
11070
11058
|
'use strict';
|
|
11071
11059
|
var __extends = (this && this.__extends) || (function () {
|
|
11072
11060
|
var extendStatics = function (d, b) {
|
|
@@ -11347,7 +11335,7 @@ function maybeUpdateState(roomSignaling) {
|
|
|
11347
11335
|
}
|
|
11348
11336
|
module.exports = RoomSignaling;
|
|
11349
11337
|
|
|
11350
|
-
},{"../statemachine":
|
|
11338
|
+
},{"../statemachine":87,"../util":131,"../util/constants":124,"../util/log":135,"../util/timeout":145,"../util/twilio-video-errors":146,"./recording":61}],65:[function(require,module,exports){
|
|
11351
11339
|
'use strict';
|
|
11352
11340
|
var __extends = (this && this.__extends) || (function () {
|
|
11353
11341
|
var extendStatics = function (d, b) {
|
|
@@ -11530,7 +11518,7 @@ var TrackSignaling = /** @class */ (function (_super) {
|
|
|
11530
11518
|
*/
|
|
11531
11519
|
module.exports = TrackSignaling;
|
|
11532
11520
|
|
|
11533
|
-
},{"events":173}],
|
|
11521
|
+
},{"events":173}],66:[function(require,module,exports){
|
|
11534
11522
|
'use strict';
|
|
11535
11523
|
var CancelablePromise = require('../../util/cancelablepromise');
|
|
11536
11524
|
var DefaultPeerConnectionManager = require('./peerconnectionmanager');
|
|
@@ -11647,7 +11635,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
11647
11635
|
}
|
|
11648
11636
|
module.exports = createCancelableRoomSignalingPromise;
|
|
11649
11637
|
|
|
11650
|
-
},{"../../util":131,"../../util/cancelablepromise":
|
|
11638
|
+
},{"../../util":131,"../../util/cancelablepromise":123,"../../util/twilio-video-errors":146,"./peerconnectionmanager":77,"./room":83,"./twilioconnectiontransport":86}],67:[function(require,module,exports){
|
|
11651
11639
|
'use strict';
|
|
11652
11640
|
var __extends = (this && this.__extends) || (function () {
|
|
11653
11641
|
var extendStatics = function (d, b) {
|
|
@@ -11725,7 +11713,7 @@ var DominantSpeakerSignaling = /** @class */ (function (_super) {
|
|
|
11725
11713
|
*/
|
|
11726
11714
|
module.exports = DominantSpeakerSignaling;
|
|
11727
11715
|
|
|
11728
|
-
},{"./mediasignaling":
|
|
11716
|
+
},{"./mediasignaling":73}],68:[function(require,module,exports){
|
|
11729
11717
|
'use strict';
|
|
11730
11718
|
var Filter = require('../../util/filter');
|
|
11731
11719
|
/**
|
|
@@ -11793,7 +11781,7 @@ var IceBox = /** @class */ (function () {
|
|
|
11793
11781
|
}());
|
|
11794
11782
|
module.exports = IceBox;
|
|
11795
11783
|
|
|
11796
|
-
},{"../../util/filter":130}],
|
|
11784
|
+
},{"../../util/filter":130}],69:[function(require,module,exports){
|
|
11797
11785
|
'use strict';
|
|
11798
11786
|
var _a = require('../../util/constants'), ICE_ACTIVITY_CHECK_PERIOD_MS = _a.ICE_ACTIVITY_CHECK_PERIOD_MS, ICE_INACTIVITY_THRESHOLD_MS = _a.ICE_INACTIVITY_THRESHOLD_MS;
|
|
11799
11787
|
/**
|
|
@@ -11926,7 +11914,7 @@ var IceConnectionMonitor = /** @class */ (function () {
|
|
|
11926
11914
|
}());
|
|
11927
11915
|
module.exports = IceConnectionMonitor;
|
|
11928
11916
|
|
|
11929
|
-
},{"../../util/constants":
|
|
11917
|
+
},{"../../util/constants":124}],70:[function(require,module,exports){
|
|
11930
11918
|
'use strict';
|
|
11931
11919
|
var __extends = (this && this.__extends) || (function () {
|
|
11932
11920
|
var extendStatics = function (d, b) {
|
|
@@ -11991,7 +11979,7 @@ var SignalingV2 = /** @class */ (function (_super) {
|
|
|
11991
11979
|
}(Signaling));
|
|
11992
11980
|
module.exports = SignalingV2;
|
|
11993
11981
|
|
|
11994
|
-
},{"../":
|
|
11982
|
+
},{"../":57,"./cancelableroomsignalingpromise":66,"./localparticipant":71}],71:[function(require,module,exports){
|
|
11995
11983
|
'use strict';
|
|
11996
11984
|
var __extends = (this && this.__extends) || (function () {
|
|
11997
11985
|
var extendStatics = function (d, b) {
|
|
@@ -12331,7 +12319,7 @@ var LocalParticipantV2 = /** @class */ (function (_super) {
|
|
|
12331
12319
|
*/
|
|
12332
12320
|
module.exports = LocalParticipantV2;
|
|
12333
12321
|
|
|
12334
|
-
},{"../../util":131,"../../util/constants":
|
|
12322
|
+
},{"../../util":131,"../../util/constants":124,"../../util/log":135,"../localparticipant":58,"./localtrackpublication":72}],72:[function(require,module,exports){
|
|
12335
12323
|
'use strict';
|
|
12336
12324
|
var __extends = (this && this.__extends) || (function () {
|
|
12337
12325
|
var extendStatics = function (d, b) {
|
|
@@ -12458,7 +12446,7 @@ var LocalTrackPublicationV2 = /** @class */ (function (_super) {
|
|
|
12458
12446
|
*/
|
|
12459
12447
|
module.exports = LocalTrackPublicationV2;
|
|
12460
12448
|
|
|
12461
|
-
},{"../../util/twilio-video-errors":146,"../../util/twiliowarning":148,"../localtrackpublication":
|
|
12449
|
+
},{"../../util/twilio-video-errors":146,"../../util/twiliowarning":148,"../localtrackpublication":59}],73:[function(require,module,exports){
|
|
12462
12450
|
/* eslint callback-return:0 */
|
|
12463
12451
|
'use strict';
|
|
12464
12452
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -12555,7 +12543,7 @@ var MediaSignaling = /** @class */ (function (_super) {
|
|
|
12555
12543
|
}(EventEmitter));
|
|
12556
12544
|
module.exports = MediaSignaling;
|
|
12557
12545
|
|
|
12558
|
-
},{"events":173}],
|
|
12546
|
+
},{"events":173}],74:[function(require,module,exports){
|
|
12559
12547
|
/* eslint callback-return:0 */
|
|
12560
12548
|
'use strict';
|
|
12561
12549
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -12714,7 +12702,7 @@ function next(monitor) {
|
|
|
12714
12702
|
*/
|
|
12715
12703
|
module.exports = NetworkQualityMonitor;
|
|
12716
12704
|
|
|
12717
|
-
},{"../../stats/peerconnectionreportfactory":
|
|
12705
|
+
},{"../../stats/peerconnectionreportfactory":105,"events":173}],75:[function(require,module,exports){
|
|
12718
12706
|
'use strict';
|
|
12719
12707
|
var __extends = (this && this.__extends) || (function () {
|
|
12720
12708
|
var extendStatics = function (d, b) {
|
|
@@ -12979,7 +12967,7 @@ function createNetworkQualityInputsMessage(networkQualityInputs, networkQualityR
|
|
|
12979
12967
|
}
|
|
12980
12968
|
module.exports = NetworkQualitySignaling;
|
|
12981
12969
|
|
|
12982
|
-
},{"../../util/asyncvar":
|
|
12970
|
+
},{"../../util/asyncvar":120,"../../util/timeout":145,"./mediasignaling":73}],76:[function(require,module,exports){
|
|
12983
12971
|
'use strict';
|
|
12984
12972
|
var __extends = (this && this.__extends) || (function () {
|
|
12985
12973
|
var extendStatics = function (d, b) {
|
|
@@ -13453,9 +13441,16 @@ var PeerConnectionV2 = /** @class */ (function (_super) {
|
|
|
13453
13441
|
if (track.kind !== 'video' || track.readyState === 'ended') {
|
|
13454
13442
|
return false;
|
|
13455
13443
|
}
|
|
13456
|
-
|
|
13444
|
+
// NOTE(mmalavalli): There is no guarantee that CanvasCaptureMediaStreamTracks will always have "width" and "height"
|
|
13445
|
+
// in their settings. So, we don't update the encodings if they are not present.
|
|
13446
|
+
// Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1367082
|
|
13447
|
+
var _a = track.getSettings(), height = _a.height, width = _a.width;
|
|
13448
|
+
if (typeof height !== 'number' || typeof width !== 'number') {
|
|
13449
|
+
return false;
|
|
13450
|
+
}
|
|
13457
13451
|
// Note(mpatwardhan): always configure encodings for safari.
|
|
13458
13452
|
// for chrome only when adaptive simulcast enabled.
|
|
13453
|
+
var browser = util.guessBrowser();
|
|
13459
13454
|
if (browser === 'safari' || (browser === 'chrome' && this._isAdaptiveSimulcastEnabled)) {
|
|
13460
13455
|
this._updateEncodings(track, encodings, trackReplaced);
|
|
13461
13456
|
return true;
|
|
@@ -14832,7 +14827,7 @@ function setMaxBitrate(params, maxBitrate) {
|
|
|
14832
14827
|
}
|
|
14833
14828
|
module.exports = PeerConnectionV2;
|
|
14834
14829
|
|
|
14835
|
-
},{"../../data/receiver":5,"../../media/track/receiver":
|
|
14830
|
+
},{"../../data/receiver":5,"../../media/track/receiver":29,"../../statemachine":87,"../../util":131,"../../util/backoff":121,"../../util/constants":124,"../../util/log":135,"../../util/sdp":139,"../../util/sdp/issue8329":140,"../../util/sdp/trackmatcher":142,"../../util/timeout":145,"../../util/twilio-video-errors":146,"../../webrtc":157,"../../webrtc/util":170,"./icebox":68,"./iceconnectionmonitor.js":69}],77:[function(require,module,exports){
|
|
14836
14831
|
'use strict';
|
|
14837
14832
|
var __extends = (this && this.__extends) || (function () {
|
|
14838
14833
|
var extendStatics = function (d, b) {
|
|
@@ -15400,7 +15395,7 @@ function updateConnectionState(pcm) {
|
|
|
15400
15395
|
}
|
|
15401
15396
|
module.exports = PeerConnectionManager;
|
|
15402
15397
|
|
|
15403
|
-
},{"../../media/track/sender":
|
|
15398
|
+
},{"../../media/track/sender":38,"../../queueingeventemitter":54,"../../util":131,"../../util/twilio-video-errors":146,"../../webaudio/audiocontext":152,"../../webrtc/util":170,"./peerconnection":76}],78:[function(require,module,exports){
|
|
15404
15399
|
/* eslint callback-return:0 */
|
|
15405
15400
|
'use strict';
|
|
15406
15401
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -15486,7 +15481,7 @@ var PublisherHintsSignaling = /** @class */ (function (_super) {
|
|
|
15486
15481
|
}(MediaSignaling));
|
|
15487
15482
|
module.exports = PublisherHintsSignaling;
|
|
15488
15483
|
|
|
15489
|
-
},{"./mediasignaling":
|
|
15484
|
+
},{"./mediasignaling":73}],79:[function(require,module,exports){
|
|
15490
15485
|
'use strict';
|
|
15491
15486
|
var __extends = (this && this.__extends) || (function () {
|
|
15492
15487
|
var extendStatics = function (d, b) {
|
|
@@ -15546,7 +15541,7 @@ var RecordingV2 = /** @class */ (function (_super) {
|
|
|
15546
15541
|
*/
|
|
15547
15542
|
module.exports = RecordingV2;
|
|
15548
15543
|
|
|
15549
|
-
},{"../recording":
|
|
15544
|
+
},{"../recording":61}],80:[function(require,module,exports){
|
|
15550
15545
|
'use strict';
|
|
15551
15546
|
var __extends = (this && this.__extends) || (function () {
|
|
15552
15547
|
var extendStatics = function (d, b) {
|
|
@@ -15666,7 +15661,7 @@ var RemoteParticipantV2 = /** @class */ (function (_super) {
|
|
|
15666
15661
|
}(RemoteParticipantSignaling));
|
|
15667
15662
|
module.exports = RemoteParticipantV2;
|
|
15668
15663
|
|
|
15669
|
-
},{"../remoteparticipant":
|
|
15664
|
+
},{"../remoteparticipant":62,"./remotetrackpublication":81}],81:[function(require,module,exports){
|
|
15670
15665
|
'use strict';
|
|
15671
15666
|
var __extends = (this && this.__extends) || (function () {
|
|
15672
15667
|
var extendStatics = function (d, b) {
|
|
@@ -15720,7 +15715,7 @@ var RemoteTrackPublicationV2 = /** @class */ (function (_super) {
|
|
|
15720
15715
|
*/
|
|
15721
15716
|
module.exports = RemoteTrackPublicationV2;
|
|
15722
15717
|
|
|
15723
|
-
},{"../remotetrackpublication":
|
|
15718
|
+
},{"../remotetrackpublication":63}],82:[function(require,module,exports){
|
|
15724
15719
|
/* eslint callback-return:0 */
|
|
15725
15720
|
'use strict';
|
|
15726
15721
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -15871,7 +15866,7 @@ var RenderHintsSignaling = /** @class */ (function (_super) {
|
|
|
15871
15866
|
}(MediaSignaling));
|
|
15872
15867
|
module.exports = RenderHintsSignaling;
|
|
15873
15868
|
|
|
15874
|
-
},{"../../util":131,"../../util/timeout":145,"./mediasignaling":
|
|
15869
|
+
},{"../../util":131,"../../util/timeout":145,"./mediasignaling":73}],83:[function(require,module,exports){
|
|
15875
15870
|
/* eslint-disable no-console */
|
|
15876
15871
|
'use strict';
|
|
15877
15872
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -16729,7 +16724,7 @@ function replaceNullsWithDefaults(activeIceCandidatePair, peerConnectionId) {
|
|
|
16729
16724
|
}
|
|
16730
16725
|
module.exports = RoomV2;
|
|
16731
16726
|
|
|
16732
|
-
},{"../../stats/statsreport":
|
|
16727
|
+
},{"../../stats/statsreport":115,"../../util":131,"../../util/movingaveragedelta":136,"../../util/twilio-video-errors":146,"../room":64,"./dominantspeakersignaling":67,"./networkqualitymonitor":74,"./networkqualitysignaling":75,"./publisherhintsignaling.js":78,"./recording":79,"./remoteparticipant":80,"./renderhintssignaling":82,"./trackprioritysignaling":84,"./trackswitchoffsignaling":85}],84:[function(require,module,exports){
|
|
16733
16728
|
'use strict';
|
|
16734
16729
|
var __extends = (this && this.__extends) || (function () {
|
|
16735
16730
|
var extendStatics = function (d, b) {
|
|
@@ -16795,7 +16790,7 @@ var TrackPrioritySignaling = /** @class */ (function (_super) {
|
|
|
16795
16790
|
}(MediaSignaling));
|
|
16796
16791
|
module.exports = TrackPrioritySignaling;
|
|
16797
16792
|
|
|
16798
|
-
},{"./mediasignaling":
|
|
16793
|
+
},{"./mediasignaling":73}],85:[function(require,module,exports){
|
|
16799
16794
|
'use strict';
|
|
16800
16795
|
var __extends = (this && this.__extends) || (function () {
|
|
16801
16796
|
var extendStatics = function (d, b) {
|
|
@@ -16853,7 +16848,7 @@ var TrackSwitchOffSignaling = /** @class */ (function (_super) {
|
|
|
16853
16848
|
*/
|
|
16854
16849
|
module.exports = TrackSwitchOffSignaling;
|
|
16855
16850
|
|
|
16856
|
-
},{"./mediasignaling":
|
|
16851
|
+
},{"./mediasignaling":73}],86:[function(require,module,exports){
|
|
16857
16852
|
'use strict';
|
|
16858
16853
|
var __extends = (this && this.__extends) || (function () {
|
|
16859
16854
|
var extendStatics = function (d, b) {
|
|
@@ -17440,7 +17435,7 @@ function setupTransport(transport) {
|
|
|
17440
17435
|
}
|
|
17441
17436
|
module.exports = TwilioConnectionTransport;
|
|
17442
17437
|
|
|
17443
|
-
},{"../../statemachine":
|
|
17438
|
+
},{"../../statemachine":87,"../../twilioconnection":119,"../../util":131,"../../util/backoff":121,"../../util/constants":124,"../../util/timeout":145,"../../util/twilio-video-errors":146}],87:[function(require,module,exports){
|
|
17444
17439
|
'use strict';
|
|
17445
17440
|
var __extends = (this && this.__extends) || (function () {
|
|
17446
17441
|
var extendStatics = function (d, b) {
|
|
@@ -17886,7 +17881,7 @@ function createUnreachableError(here, there) {
|
|
|
17886
17881
|
}
|
|
17887
17882
|
module.exports = StateMachine;
|
|
17888
17883
|
|
|
17889
|
-
},{"./util":131,"events":173}],
|
|
17884
|
+
},{"./util":131,"events":173}],88:[function(require,module,exports){
|
|
17890
17885
|
/* eslint no-undefined:0 */
|
|
17891
17886
|
'use strict';
|
|
17892
17887
|
/**
|
|
@@ -17899,7 +17894,7 @@ function average(xs) {
|
|
|
17899
17894
|
}
|
|
17900
17895
|
module.exports = average;
|
|
17901
17896
|
|
|
17902
|
-
},{}],
|
|
17897
|
+
},{}],89:[function(require,module,exports){
|
|
17903
17898
|
'use strict';
|
|
17904
17899
|
/**
|
|
17905
17900
|
* @property {number} [availableSend] - bps (undefined in Firefox)
|
|
@@ -17957,7 +17952,7 @@ var IceReport = /** @class */ (function () {
|
|
|
17957
17952
|
}());
|
|
17958
17953
|
module.exports = IceReport;
|
|
17959
17954
|
|
|
17960
|
-
},{}],
|
|
17955
|
+
},{}],90:[function(require,module,exports){
|
|
17961
17956
|
'use strict';
|
|
17962
17957
|
var IceReport = require('./icereport');
|
|
17963
17958
|
/**
|
|
@@ -18002,7 +17997,7 @@ var IceReportFactory = /** @class */ (function () {
|
|
|
18002
17997
|
}());
|
|
18003
17998
|
module.exports = IceReportFactory;
|
|
18004
17999
|
|
|
18005
|
-
},{"./icereport":
|
|
18000
|
+
},{"./icereport":89}],91:[function(require,module,exports){
|
|
18006
18001
|
'use strict';
|
|
18007
18002
|
var __extends = (this && this.__extends) || (function () {
|
|
18008
18003
|
var extendStatics = function (d, b) {
|
|
@@ -18060,7 +18055,7 @@ var LocalAudioTrackStats = /** @class */ (function (_super) {
|
|
|
18060
18055
|
*/
|
|
18061
18056
|
module.exports = LocalAudioTrackStats;
|
|
18062
18057
|
|
|
18063
|
-
},{"./localtrackstats":
|
|
18058
|
+
},{"./localtrackstats":92}],92:[function(require,module,exports){
|
|
18064
18059
|
'use strict';
|
|
18065
18060
|
var __extends = (this && this.__extends) || (function () {
|
|
18066
18061
|
var extendStatics = function (d, b) {
|
|
@@ -18120,7 +18115,7 @@ var LocalTrackStats = /** @class */ (function (_super) {
|
|
|
18120
18115
|
}(TrackStats));
|
|
18121
18116
|
module.exports = LocalTrackStats;
|
|
18122
18117
|
|
|
18123
|
-
},{"./trackstats":
|
|
18118
|
+
},{"./trackstats":117}],93:[function(require,module,exports){
|
|
18124
18119
|
'use strict';
|
|
18125
18120
|
var __extends = (this && this.__extends) || (function () {
|
|
18126
18121
|
var extendStatics = function (d, b) {
|
|
@@ -18213,7 +18208,7 @@ var LocalVideoTrackStats = /** @class */ (function (_super) {
|
|
|
18213
18208
|
}(LocalTrackStats));
|
|
18214
18209
|
module.exports = LocalVideoTrackStats;
|
|
18215
18210
|
|
|
18216
|
-
},{"./localtrackstats":
|
|
18211
|
+
},{"./localtrackstats":92}],94:[function(require,module,exports){
|
|
18217
18212
|
'use strict';
|
|
18218
18213
|
var __extends = (this && this.__extends) || (function () {
|
|
18219
18214
|
var extendStatics = function (d, b) {
|
|
@@ -18247,7 +18242,7 @@ var NetworkQualityAudioStats = /** @class */ (function (_super) {
|
|
|
18247
18242
|
}(NetworkQualityMediaStats));
|
|
18248
18243
|
module.exports = NetworkQualityAudioStats;
|
|
18249
18244
|
|
|
18250
|
-
},{"./networkqualitymediastats":
|
|
18245
|
+
},{"./networkqualitymediastats":98}],95:[function(require,module,exports){
|
|
18251
18246
|
'use strict';
|
|
18252
18247
|
/**
|
|
18253
18248
|
* Bandwidth network quality statistics.
|
|
@@ -18281,7 +18276,7 @@ var NetworkQualityBandwidthStats = /** @class */ (function () {
|
|
|
18281
18276
|
}());
|
|
18282
18277
|
module.exports = NetworkQualityBandwidthStats;
|
|
18283
18278
|
|
|
18284
|
-
},{}],
|
|
18279
|
+
},{}],96:[function(require,module,exports){
|
|
18285
18280
|
'use strict';
|
|
18286
18281
|
/**
|
|
18287
18282
|
* Fraction lost network quality statistics.
|
|
@@ -18310,7 +18305,7 @@ var NetworkQualityFractionLostStats = /** @class */ (function () {
|
|
|
18310
18305
|
}());
|
|
18311
18306
|
module.exports = NetworkQualityFractionLostStats;
|
|
18312
18307
|
|
|
18313
|
-
},{}],
|
|
18308
|
+
},{}],97:[function(require,module,exports){
|
|
18314
18309
|
'use strict';
|
|
18315
18310
|
/**
|
|
18316
18311
|
* Latency network quality statistics.
|
|
@@ -18344,7 +18339,7 @@ var NetworkQualityLatencyStats = /** @class */ (function () {
|
|
|
18344
18339
|
}());
|
|
18345
18340
|
module.exports = NetworkQualityLatencyStats;
|
|
18346
18341
|
|
|
18347
|
-
},{}],
|
|
18342
|
+
},{}],98:[function(require,module,exports){
|
|
18348
18343
|
'use strict';
|
|
18349
18344
|
var NetworkQualitySendStats = require('./networkqualitysendstats');
|
|
18350
18345
|
var NetworkQualityRecvStats = require('./networkqualityrecvstats');
|
|
@@ -18391,7 +18386,7 @@ var NetworkQualityMediaStats = /** @class */ (function () {
|
|
|
18391
18386
|
}());
|
|
18392
18387
|
module.exports = NetworkQualityMediaStats;
|
|
18393
18388
|
|
|
18394
|
-
},{"./networkqualityrecvstats":
|
|
18389
|
+
},{"./networkqualityrecvstats":99,"./networkqualitysendstats":101}],99:[function(require,module,exports){
|
|
18395
18390
|
'use strict';
|
|
18396
18391
|
var __extends = (this && this.__extends) || (function () {
|
|
18397
18392
|
var extendStatics = function (d, b) {
|
|
@@ -18426,7 +18421,7 @@ var NetworkQualityRecvStats = /** @class */ (function (_super) {
|
|
|
18426
18421
|
}(NetworkQualitySendOrRecvStats));
|
|
18427
18422
|
module.exports = NetworkQualityRecvStats;
|
|
18428
18423
|
|
|
18429
|
-
},{"./networkqualitysendorrecvstats":
|
|
18424
|
+
},{"./networkqualitysendorrecvstats":100}],100:[function(require,module,exports){
|
|
18430
18425
|
'use strict';
|
|
18431
18426
|
var NetworkQualityBandwidthStats = require('./networkqualitybandwidthstats');
|
|
18432
18427
|
var NetworkQualityFractionLostStats = require('./networkqualityfractionloststats');
|
|
@@ -18466,7 +18461,7 @@ var NetworkQualitySendOrRecvStats = /** @class */ (function () {
|
|
|
18466
18461
|
}());
|
|
18467
18462
|
module.exports = NetworkQualitySendOrRecvStats;
|
|
18468
18463
|
|
|
18469
|
-
},{"./networkqualitybandwidthstats":
|
|
18464
|
+
},{"./networkqualitybandwidthstats":95,"./networkqualityfractionloststats":96,"./networkqualitylatencystats":97}],101:[function(require,module,exports){
|
|
18470
18465
|
'use strict';
|
|
18471
18466
|
var __extends = (this && this.__extends) || (function () {
|
|
18472
18467
|
var extendStatics = function (d, b) {
|
|
@@ -18501,7 +18496,7 @@ var NetworkQualitySendStats = /** @class */ (function (_super) {
|
|
|
18501
18496
|
}(NetworkQualitySendOrRecvStats));
|
|
18502
18497
|
module.exports = NetworkQualitySendStats;
|
|
18503
18498
|
|
|
18504
|
-
},{"./networkqualitysendorrecvstats":
|
|
18499
|
+
},{"./networkqualitysendorrecvstats":100}],102:[function(require,module,exports){
|
|
18505
18500
|
'use strict';
|
|
18506
18501
|
var NetworkQualityAudioStats = require('./networkqualityaudiostats');
|
|
18507
18502
|
var NetworkQualityVideoStats = require('./networkqualityvideostats');
|
|
@@ -18541,7 +18536,7 @@ var NetworkQualityStats = /** @class */ (function () {
|
|
|
18541
18536
|
}());
|
|
18542
18537
|
module.exports = NetworkQualityStats;
|
|
18543
18538
|
|
|
18544
|
-
},{"./networkqualityaudiostats":
|
|
18539
|
+
},{"./networkqualityaudiostats":94,"./networkqualityvideostats":103}],103:[function(require,module,exports){
|
|
18545
18540
|
'use strict';
|
|
18546
18541
|
var __extends = (this && this.__extends) || (function () {
|
|
18547
18542
|
var extendStatics = function (d, b) {
|
|
@@ -18575,7 +18570,7 @@ var NetworkQualityVideoStats = /** @class */ (function (_super) {
|
|
|
18575
18570
|
}(NetworkQualityMediaStats));
|
|
18576
18571
|
module.exports = NetworkQualityVideoStats;
|
|
18577
18572
|
|
|
18578
|
-
},{"./networkqualitymediastats":
|
|
18573
|
+
},{"./networkqualitymediastats":98}],104:[function(require,module,exports){
|
|
18579
18574
|
'use strict';
|
|
18580
18575
|
var ReceiverReport = require('./receiverreport');
|
|
18581
18576
|
var SenderReport = require('./senderreport');
|
|
@@ -18653,7 +18648,7 @@ var PeerConnectionReport = /** @class */ (function () {
|
|
|
18653
18648
|
}());
|
|
18654
18649
|
module.exports = PeerConnectionReport;
|
|
18655
18650
|
|
|
18656
|
-
},{"./receiverreport":
|
|
18651
|
+
},{"./receiverreport":106,"./senderreport":113}],105:[function(require,module,exports){
|
|
18657
18652
|
'use strict';
|
|
18658
18653
|
var __read = (this && this.__read) || function (o, n) {
|
|
18659
18654
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -19083,7 +19078,7 @@ function updateChrome(factory) {
|
|
|
19083
19078
|
}
|
|
19084
19079
|
module.exports = PeerConnectionReportFactory;
|
|
19085
19080
|
|
|
19086
|
-
},{"../webrtc/util":170,"./icereportfactory":
|
|
19081
|
+
},{"../webrtc/util":170,"./icereportfactory":90,"./peerconnectionreport":104,"./receiverreportfactory":107,"./senderreportfactory":114}],106:[function(require,module,exports){
|
|
19087
19082
|
'use strict';
|
|
19088
19083
|
var __extends = (this && this.__extends) || (function () {
|
|
19089
19084
|
var extendStatics = function (d, b) {
|
|
@@ -19209,7 +19204,7 @@ var ReceiverReport = /** @class */ (function (_super) {
|
|
|
19209
19204
|
}(SenderOrReceiverReport));
|
|
19210
19205
|
module.exports = ReceiverReport;
|
|
19211
19206
|
|
|
19212
|
-
},{"./average":
|
|
19207
|
+
},{"./average":88,"./senderorreceiverreport":111,"./sum":116}],107:[function(require,module,exports){
|
|
19213
19208
|
'use strict';
|
|
19214
19209
|
var __extends = (this && this.__extends) || (function () {
|
|
19215
19210
|
var extendStatics = function (d, b) {
|
|
@@ -19268,7 +19263,7 @@ var ReceiverReportFactory = /** @class */ (function (_super) {
|
|
|
19268
19263
|
}(SenderOrReceiverReportFactory));
|
|
19269
19264
|
module.exports = ReceiverReportFactory;
|
|
19270
19265
|
|
|
19271
|
-
},{"./receiverreport":
|
|
19266
|
+
},{"./receiverreport":106,"./senderorreceiverreportfactory":112}],108:[function(require,module,exports){
|
|
19272
19267
|
'use strict';
|
|
19273
19268
|
var __extends = (this && this.__extends) || (function () {
|
|
19274
19269
|
var extendStatics = function (d, b) {
|
|
@@ -19320,7 +19315,7 @@ var RemoteAudioTrackStats = /** @class */ (function (_super) {
|
|
|
19320
19315
|
}(RemoteTrackStats));
|
|
19321
19316
|
module.exports = RemoteAudioTrackStats;
|
|
19322
19317
|
|
|
19323
|
-
},{"./remotetrackstats":
|
|
19318
|
+
},{"./remotetrackstats":109}],109:[function(require,module,exports){
|
|
19324
19319
|
'use strict';
|
|
19325
19320
|
var __extends = (this && this.__extends) || (function () {
|
|
19326
19321
|
var extendStatics = function (d, b) {
|
|
@@ -19372,7 +19367,7 @@ var RemoteTrackStats = /** @class */ (function (_super) {
|
|
|
19372
19367
|
}(TrackStats));
|
|
19373
19368
|
module.exports = RemoteTrackStats;
|
|
19374
19369
|
|
|
19375
|
-
},{"./trackstats":
|
|
19370
|
+
},{"./trackstats":117}],110:[function(require,module,exports){
|
|
19376
19371
|
'use strict';
|
|
19377
19372
|
var __extends = (this && this.__extends) || (function () {
|
|
19378
19373
|
var extendStatics = function (d, b) {
|
|
@@ -19437,7 +19432,7 @@ var RemoteVideoTrackStats = /** @class */ (function (_super) {
|
|
|
19437
19432
|
}(RemoteTrackStats));
|
|
19438
19433
|
module.exports = RemoteVideoTrackStats;
|
|
19439
19434
|
|
|
19440
|
-
},{"./remotetrackstats":
|
|
19435
|
+
},{"./remotetrackstats":109}],111:[function(require,module,exports){
|
|
19441
19436
|
'use strict';
|
|
19442
19437
|
/**
|
|
19443
19438
|
* @property {StatsId} id
|
|
@@ -19471,7 +19466,7 @@ var SenderOrReceiverReport = /** @class */ (function () {
|
|
|
19471
19466
|
}());
|
|
19472
19467
|
module.exports = SenderOrReceiverReport;
|
|
19473
19468
|
|
|
19474
|
-
},{}],
|
|
19469
|
+
},{}],112:[function(require,module,exports){
|
|
19475
19470
|
'use strict';
|
|
19476
19471
|
/**
|
|
19477
19472
|
* @property {StatsId} id
|
|
@@ -19507,7 +19502,7 @@ var SenderOrReceiverReportFactory = /** @class */ (function () {
|
|
|
19507
19502
|
}());
|
|
19508
19503
|
module.exports = SenderOrReceiverReportFactory;
|
|
19509
19504
|
|
|
19510
|
-
},{}],
|
|
19505
|
+
},{}],113:[function(require,module,exports){
|
|
19511
19506
|
/* eslint no-undefined:0 */
|
|
19512
19507
|
'use strict';
|
|
19513
19508
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -19595,7 +19590,7 @@ var SenderReport = /** @class */ (function (_super) {
|
|
|
19595
19590
|
}(SenderOrReceiverReport));
|
|
19596
19591
|
module.exports = SenderReport;
|
|
19597
19592
|
|
|
19598
|
-
},{"./average":
|
|
19593
|
+
},{"./average":88,"./senderorreceiverreport":111,"./sum":116}],114:[function(require,module,exports){
|
|
19599
19594
|
'use strict';
|
|
19600
19595
|
var __extends = (this && this.__extends) || (function () {
|
|
19601
19596
|
var extendStatics = function (d, b) {
|
|
@@ -19654,7 +19649,7 @@ var SenderReportFactory = /** @class */ (function (_super) {
|
|
|
19654
19649
|
}(SenderOrReceiverReportFactory));
|
|
19655
19650
|
module.exports = SenderReportFactory;
|
|
19656
19651
|
|
|
19657
|
-
},{"./senderorreceiverreportfactory":
|
|
19652
|
+
},{"./senderorreceiverreportfactory":112,"./senderreport":113}],115:[function(require,module,exports){
|
|
19658
19653
|
'use strict';
|
|
19659
19654
|
var LocalAudioTrackStats = require('./localaudiotrackstats');
|
|
19660
19655
|
var LocalVideoTrackStats = require('./localvideotrackstats');
|
|
@@ -19705,7 +19700,7 @@ var StatsReport = /** @class */ (function () {
|
|
|
19705
19700
|
}());
|
|
19706
19701
|
module.exports = StatsReport;
|
|
19707
19702
|
|
|
19708
|
-
},{"./localaudiotrackstats":
|
|
19703
|
+
},{"./localaudiotrackstats":91,"./localvideotrackstats":93,"./remoteaudiotrackstats":108,"./remotevideotrackstats":110}],116:[function(require,module,exports){
|
|
19709
19704
|
'use strict';
|
|
19710
19705
|
/**
|
|
19711
19706
|
* @param {Array<number|undefined>} xs
|
|
@@ -19716,7 +19711,7 @@ function sum(xs) {
|
|
|
19716
19711
|
}
|
|
19717
19712
|
module.exports = sum;
|
|
19718
19713
|
|
|
19719
|
-
},{}],
|
|
19714
|
+
},{}],117:[function(require,module,exports){
|
|
19720
19715
|
'use strict';
|
|
19721
19716
|
/**
|
|
19722
19717
|
* Statistics for a {@link Track}.
|
|
@@ -19775,7 +19770,7 @@ var TrackStats = /** @class */ (function () {
|
|
|
19775
19770
|
}());
|
|
19776
19771
|
module.exports = TrackStats;
|
|
19777
19772
|
|
|
19778
|
-
},{}],
|
|
19773
|
+
},{}],118:[function(require,module,exports){
|
|
19779
19774
|
'use strict';
|
|
19780
19775
|
var __extends = (this && this.__extends) || (function () {
|
|
19781
19776
|
var extendStatics = function (d, b) {
|
|
@@ -19837,7 +19832,7 @@ var TrackTransceiver = /** @class */ (function (_super) {
|
|
|
19837
19832
|
*/
|
|
19838
19833
|
module.exports = TrackTransceiver;
|
|
19839
19834
|
|
|
19840
|
-
},{"events":173}],
|
|
19835
|
+
},{"events":173}],119:[function(require,module,exports){
|
|
19841
19836
|
'use strict';
|
|
19842
19837
|
var __extends = (this && this.__extends) || (function () {
|
|
19843
19838
|
var extendStatics = function (d, b) {
|
|
@@ -20490,7 +20485,7 @@ TwilioConnection.CloseReason = CloseReason;
|
|
|
20490
20485
|
*/
|
|
20491
20486
|
module.exports = TwilioConnection;
|
|
20492
20487
|
|
|
20493
|
-
},{"./statemachine":
|
|
20488
|
+
},{"./statemachine":87,"./util":131,"./util/log":135,"./util/networkmonitor":137,"./util/timeout":145,"ws":175}],120:[function(require,module,exports){
|
|
20494
20489
|
'use strict';
|
|
20495
20490
|
var defer = require('./').defer;
|
|
20496
20491
|
/**
|
|
@@ -20555,7 +20550,7 @@ var AsyncVar = /** @class */ (function () {
|
|
|
20555
20550
|
}());
|
|
20556
20551
|
module.exports = AsyncVar;
|
|
20557
20552
|
|
|
20558
|
-
},{"./":131}],
|
|
20553
|
+
},{"./":131}],121:[function(require,module,exports){
|
|
20559
20554
|
/**
|
|
20560
20555
|
* Expose `Backoff`.
|
|
20561
20556
|
*/
|
|
@@ -20639,7 +20634,7 @@ var Backoff = /** @class */ (function () {
|
|
|
20639
20634
|
}());
|
|
20640
20635
|
module.exports = Backoff;
|
|
20641
20636
|
|
|
20642
|
-
},{}],
|
|
20637
|
+
},{}],122:[function(require,module,exports){
|
|
20643
20638
|
/* globals chrome, navigator */
|
|
20644
20639
|
'use strict';
|
|
20645
20640
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -20796,7 +20791,7 @@ module.exports = {
|
|
|
20796
20791
|
rebrandedChromeBrowser: rebrandedChromeBrowser
|
|
20797
20792
|
};
|
|
20798
20793
|
|
|
20799
|
-
},{}],
|
|
20794
|
+
},{}],123:[function(require,module,exports){
|
|
20800
20795
|
'use strict';
|
|
20801
20796
|
var __read = (this && this.__read) || function (o, n) {
|
|
20802
20797
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -20939,7 +20934,7 @@ var CancelablePromise = /** @class */ (function () {
|
|
|
20939
20934
|
}());
|
|
20940
20935
|
module.exports = CancelablePromise;
|
|
20941
20936
|
|
|
20942
|
-
},{}],
|
|
20937
|
+
},{}],124:[function(require,module,exports){
|
|
20943
20938
|
'use strict';
|
|
20944
20939
|
/* eslint-disable camelcase */
|
|
20945
20940
|
var packageInfo = require('../../package.json');
|
|
@@ -21041,7 +21036,7 @@ module.exports.videoContentPreferencesMode = {
|
|
|
21041
21036
|
MODE_MANUAL: 'manual'
|
|
21042
21037
|
};
|
|
21043
21038
|
|
|
21044
|
-
},{"../../package.json":174}],
|
|
21039
|
+
},{"../../package.json":174}],125:[function(require,module,exports){
|
|
21045
21040
|
'use strict';
|
|
21046
21041
|
var detectSilence = require('../webaudio/detectsilence');
|
|
21047
21042
|
var N_ATTEMPTS = 3;
|
|
@@ -21082,7 +21077,7 @@ function detectSilentAudio(el) {
|
|
|
21082
21077
|
}
|
|
21083
21078
|
module.exports = detectSilentAudio;
|
|
21084
21079
|
|
|
21085
|
-
},{"../webaudio/audiocontext":152,"../webaudio/detectsilence":153}],
|
|
21080
|
+
},{"../webaudio/audiocontext":152,"../webaudio/detectsilence":153}],126:[function(require,module,exports){
|
|
21086
21081
|
'use strict';
|
|
21087
21082
|
// Cached copy of the <canvas> used to check silent video frames.
|
|
21088
21083
|
var canvas = null;
|
|
@@ -21141,7 +21136,7 @@ function detectSilentVideo(el) {
|
|
|
21141
21136
|
}
|
|
21142
21137
|
module.exports = detectSilentVideo;
|
|
21143
21138
|
|
|
21144
|
-
},{}],
|
|
21139
|
+
},{}],127:[function(require,module,exports){
|
|
21145
21140
|
'use strict';
|
|
21146
21141
|
/**
|
|
21147
21142
|
* The {@link DocumentVisibilityMonitor} monitors the visibility state of the DOM
|
|
@@ -21263,6 +21258,29 @@ var DocumentVisibilityMonitor = /** @class */ (function () {
|
|
|
21263
21258
|
}());
|
|
21264
21259
|
module.exports = new DocumentVisibilityMonitor(2);
|
|
21265
21260
|
|
|
21261
|
+
},{}],128:[function(require,module,exports){
|
|
21262
|
+
'use strict';
|
|
21263
|
+
module.exports = (function (scope) {
|
|
21264
|
+
var location = scope.location, URL = scope.URL;
|
|
21265
|
+
if ([location, URL].some(function (api) { return !api; })) {
|
|
21266
|
+
return function dynamicImportNotSupported(module) {
|
|
21267
|
+
return Promise.reject(new Error("Failed to import: " + module + ": dynamicImport is not supported"));
|
|
21268
|
+
};
|
|
21269
|
+
}
|
|
21270
|
+
scope.__twilioVideoImportedModules = {
|
|
21271
|
+
// Imported module map.
|
|
21272
|
+
};
|
|
21273
|
+
return function dynamicImport(module) {
|
|
21274
|
+
if (module in scope.__twilioVideoImportedModules) {
|
|
21275
|
+
return Promise.resolve(scope.__twilioVideoImportedModules[module]);
|
|
21276
|
+
}
|
|
21277
|
+
// NOTE(mmalavalli): Calling import() directly can cause build issues in TypeScript and Webpack
|
|
21278
|
+
// (and probably other frameworks). So, we create a Function that calls import() in its body.
|
|
21279
|
+
// eslint-disable-next-line no-new-func
|
|
21280
|
+
return new Function('scope', "return import('" + new URL(module, location) + "').then(m => scope.__twilioVideoImportedModules['" + module + "'] = m);")(scope);
|
|
21281
|
+
};
|
|
21282
|
+
}(globalThis));
|
|
21283
|
+
|
|
21266
21284
|
},{}],129:[function(require,module,exports){
|
|
21267
21285
|
/* eslint-disable no-console */
|
|
21268
21286
|
'use strict';
|
|
@@ -22302,7 +22320,7 @@ exports.isUserMediaTrack = isUserMediaTrack;
|
|
|
22302
22320
|
exports.waitForSometime = waitForSometime;
|
|
22303
22321
|
exports.waitForEvent = waitForEvent;
|
|
22304
22322
|
|
|
22305
|
-
},{"../webrtc/util":170,"./constants":
|
|
22323
|
+
},{"../webrtc/util":170,"./constants":124,"./sid":143,"./twiliowarning":148}],132:[function(require,module,exports){
|
|
22306
22324
|
/* eslint-disable camelcase */
|
|
22307
22325
|
'use strict';
|
|
22308
22326
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -22597,7 +22615,7 @@ function reconnect(publisher, token, sdkName, sdkVersion, roomSid, participantSi
|
|
|
22597
22615
|
*/
|
|
22598
22616
|
module.exports = InsightsPublisher;
|
|
22599
22617
|
|
|
22600
|
-
},{"..":131,"../../util":131,"../browserdetection":
|
|
22618
|
+
},{"..":131,"../../util":131,"../browserdetection":122,"../constants":124,"events":173,"ws":175}],133:[function(require,module,exports){
|
|
22601
22619
|
// eslint-disable-next-line no-warning-comments
|
|
22602
22620
|
// TODO(mroberts): This should be described as implementing some
|
|
22603
22621
|
// InsightsPublisher interface.
|
|
@@ -22991,7 +23009,7 @@ function validateLogLevels(levels) {
|
|
|
22991
23009
|
}
|
|
22992
23010
|
module.exports = Log;
|
|
22993
23011
|
|
|
22994
|
-
},{"../vendor/loglevel":151,"./constants":
|
|
23012
|
+
},{"../vendor/loglevel":151,"./constants":124}],136:[function(require,module,exports){
|
|
22995
23013
|
'use strict';
|
|
22996
23014
|
/**
|
|
22997
23015
|
* Calculates the moving average delta for the given pair ofsamples. A sample (S)
|
|
@@ -24295,7 +24313,7 @@ function isSupported() {
|
|
|
24295
24313
|
}
|
|
24296
24314
|
module.exports = isSupported;
|
|
24297
24315
|
|
|
24298
|
-
},{"../webrtc/util":170,"../webrtc/util/sdp":172,"./browserdetection":
|
|
24316
|
+
},{"../webrtc/util":170,"../webrtc/util/sdp":172,"./browserdetection":122}],145:[function(require,module,exports){
|
|
24299
24317
|
'use strict';
|
|
24300
24318
|
/**
|
|
24301
24319
|
* A {@link Timeout} represents a resettable and clearable timeout.
|
|
@@ -25626,7 +25644,7 @@ exports.validateBandwidthProfile = validateBandwidthProfile;
|
|
|
25626
25644
|
exports.validateLocalTrack = validateLocalTrack;
|
|
25627
25645
|
exports.validateObject = validateObject;
|
|
25628
25646
|
|
|
25629
|
-
},{"./":131,"./constants":
|
|
25647
|
+
},{"./":131,"./constants":124}],150:[function(require,module,exports){
|
|
25630
25648
|
/**
|
|
25631
25649
|
* Copyright (c) 2011-2022 Isaac Z. Schlueter
|
|
25632
25650
|
* Licensed under the ISC License.
|
|
@@ -29527,7 +29545,7 @@ module.exports={
|
|
|
29527
29545
|
"name": "twilio-video",
|
|
29528
29546
|
"title": "Twilio Video",
|
|
29529
29547
|
"description": "Twilio Video JavaScript Library",
|
|
29530
|
-
"version": "2.24.
|
|
29548
|
+
"version": "2.24.2",
|
|
29531
29549
|
"homepage": "https://twilio.com",
|
|
29532
29550
|
"author": "Mark Andrus Roberts <mroberts@twilio.com>",
|
|
29533
29551
|
"contributors": [
|
|
@@ -29660,7 +29678,7 @@ module.exports={
|
|
|
29660
29678
|
"test:framework:install": "npm install chromedriver && npm install selenium-webdriver && npm install geckodriver && npm install puppeteer",
|
|
29661
29679
|
"test:framework": "npm-run-all test:framework:install test:framework:no-framework test:framework:react",
|
|
29662
29680
|
"test": "npm-run-all test:unit test:integration",
|
|
29663
|
-
"build:es5": "rimraf ./es5 && mkdir -p es5 &&
|
|
29681
|
+
"build:es5": "rimraf ./es5 && mkdir -p es5 && tsc tsdef/twilio-video-tests.ts --noEmit --lib es2018,dom && tsc",
|
|
29664
29682
|
"build:js": "node ./scripts/build.js ./src/twilio-video.js ./LICENSE.md ./dist/twilio-video.js",
|
|
29665
29683
|
"build:min.js": "uglifyjs ./dist/twilio-video.js -o ./dist/twilio-video.min.js --comments \"/^! twilio-video.js/\" -b beautify=false,ascii_only=true",
|
|
29666
29684
|
"build": "npm-run-all clean lint docs test:unit test:integration build:es5 build:js build:min.js test:umd",
|
|
@@ -29684,9 +29702,9 @@ module.exports={
|
|
|
29684
29702
|
},{}],175:[function(require,module,exports){
|
|
29685
29703
|
module.exports = WebSocket;
|
|
29686
29704
|
|
|
29687
|
-
},{}]},{},[
|
|
29705
|
+
},{}]},{},[11]);
|
|
29688
29706
|
;
|
|
29689
|
-
var Video = bundle(
|
|
29707
|
+
var Video = bundle(11);
|
|
29690
29708
|
/* globals define */
|
|
29691
29709
|
if (typeof define === 'function' && define.amd) {
|
|
29692
29710
|
define([], function() { return Video; });
|