twilio-video 2.30.0 → 2.32.0
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/.release.json +2 -0
- package/CHANGELOG.md +38 -0
- package/README.md +2 -2
- package/dist/twilio-video.js +262 -158
- package/dist/twilio-video.min.js +22 -22
- package/es5/connect.js +3 -0
- package/es5/connect.js.map +1 -1
- package/es5/media/track/remotevideotrack.js +21 -8
- package/es5/media/track/remotevideotrack.js.map +1 -1
- package/es5/room.js +20 -0
- package/es5/room.js.map +1 -1
- package/es5/signaling/v2/cancelableroomsignalingpromise.js +2 -1
- package/es5/signaling/v2/cancelableroomsignalingpromise.js.map +1 -1
- package/es5/signaling/v2/room.js +13 -0
- package/es5/signaling/v2/room.js.map +1 -1
- package/es5/signaling/v2/transcriptionsignaling.js +47 -0
- package/es5/signaling/v2/transcriptionsignaling.js.map +1 -0
- package/es5/signaling/v2/twilioconnectiontransport.js +6 -3
- package/es5/signaling/v2/twilioconnectiontransport.js.map +1 -1
- package/es5/util/index.js +4 -1
- package/es5/util/index.js.map +1 -1
- package/lib/connect.js +3 -0
- package/lib/media/track/remotevideotrack.js +25 -8
- package/lib/room.js +22 -0
- package/lib/signaling/v2/cancelableroomsignalingpromise.js +2 -0
- package/lib/signaling/v2/room.js +13 -0
- package/lib/signaling/v2/transcriptionsignaling.js +33 -0
- package/lib/signaling/v2/twilioconnectiontransport.js +7 -4
- package/lib/util/index.js +5 -1
- package/package.json +1 -1
- package/tsdef/Room.d.ts +2 -1
- package/tsdef/index.d.ts +1 -0
- package/tsdef/twilio-video-tests.ts +5 -0
- package/tsdef/types.d.ts +14 -1
- package/appveyor.yml +0 -20
package/dist/twilio-video.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! twilio-video.js 2.
|
|
1
|
+
/*! twilio-video.js 2.32.0
|
|
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":126}],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, isCodecSupported = _a.isCodecSupported;
|
|
@@ -284,6 +284,7 @@ function connect(token, options) {
|
|
|
284
284
|
automaticSubscription: true,
|
|
285
285
|
dominantSpeaker: false,
|
|
286
286
|
enableDscp: false,
|
|
287
|
+
receiveTranscriptions: false,
|
|
287
288
|
environment: DEFAULT_ENVIRONMENT,
|
|
288
289
|
eventListener: null,
|
|
289
290
|
insights: true,
|
|
@@ -522,6 +523,8 @@ function connect(token, options) {
|
|
|
522
523
|
* has not detected any media on the published track that is being recorded in the past 30 seconds.
|
|
523
524
|
* This usually happens when there are network interruptions or when the track has stopped.
|
|
524
525
|
* This warning is raised by {@link LocalTrackPublication}, {@link LocalParticipant}, and {@link Room} object.
|
|
526
|
+
* @property {boolean} [receiveTranscriptions=false] - Whether to enable transcription in the {@link Room}.
|
|
527
|
+
* When set to <code>true</code>, the {@link Room} will emit <code>transcription</code> events containing transcription data.
|
|
525
528
|
* @property {string} [region='gll'] - Preferred signaling region; By default, you will be connected to the
|
|
526
529
|
* nearest signaling server determined by latency based routing. Setting a value other
|
|
527
530
|
* than <code style="padding:0 0">gll</code> bypasses routing and guarantees that signaling traffic will be
|
|
@@ -1012,7 +1015,7 @@ function normalizeCodecSettings(nameOrSettings) {
|
|
|
1012
1015
|
}
|
|
1013
1016
|
module.exports = connect;
|
|
1014
1017
|
|
|
1015
|
-
},{"./cancelableroompromise":1,"./encodingparameters":9,"./localparticipant":13,"./media/track/es5":16,"./networkqualityconfiguration":45,"./room":58,"./signaling/v2":72,"./util":
|
|
1018
|
+
},{"./cancelableroompromise":1,"./encodingparameters":9,"./localparticipant":13,"./media/track/es5":16,"./networkqualityconfiguration":45,"./room":58,"./signaling/v2":72,"./util":134,"./util/cancelablepromise":126,"./util/constants":127,"./util/eventobserver":132,"./util/insightspublisher":135,"./util/insightspublisher/null":136,"./util/log":138,"./util/validate":152,"./webrtc":160,"./webrtc/util":172}],3:[function(require,module,exports){
|
|
1016
1019
|
'use strict';
|
|
1017
1020
|
var _a = require('./util/constants'), DEFAULT_LOG_LEVEL = _a.DEFAULT_LOG_LEVEL, DEFAULT_LOGGER_NAME = _a.DEFAULT_LOGGER_NAME;
|
|
1018
1021
|
/**
|
|
@@ -1169,7 +1172,7 @@ module.exports = {
|
|
|
1169
1172
|
video: createLocalVideoTrack
|
|
1170
1173
|
};
|
|
1171
1174
|
|
|
1172
|
-
},{"./util/constants":
|
|
1175
|
+
},{"./util/constants":127}],4:[function(require,module,exports){
|
|
1173
1176
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1174
1177
|
'use strict';
|
|
1175
1178
|
var __assign = (this && this.__assign) || function () {
|
|
@@ -1427,7 +1430,7 @@ function createLocalTracks(options) {
|
|
|
1427
1430
|
}
|
|
1428
1431
|
exports.createLocalTracks = createLocalTracks;
|
|
1429
1432
|
|
|
1430
|
-
},{"./media/track/es5":16,"./media/track/noisecancellationimpl":30,"./util":
|
|
1433
|
+
},{"./media/track/es5":16,"./media/track/noisecancellationimpl":30,"./util":134,"./util/constants":127,"./util/log":138,"./webaudio/workaround180748":157,"./webrtc":160}],5:[function(require,module,exports){
|
|
1431
1434
|
'use strict';
|
|
1432
1435
|
var __extends = (this && this.__extends) || (function () {
|
|
1433
1436
|
var extendStatics = function (d, b) {
|
|
@@ -1626,7 +1629,7 @@ var DataTrackSender = /** @class */ (function (_super) {
|
|
|
1626
1629
|
}(DataTrackTransceiver));
|
|
1627
1630
|
module.exports = DataTrackSender;
|
|
1628
1631
|
|
|
1629
|
-
},{"../util":
|
|
1632
|
+
},{"../util":134,"./transceiver":7}],7:[function(require,module,exports){
|
|
1630
1633
|
'use strict';
|
|
1631
1634
|
var __extends = (this && this.__extends) || (function () {
|
|
1632
1635
|
var extendStatics = function (d, b) {
|
|
@@ -1686,7 +1689,7 @@ var DataTrackTransceiver = /** @class */ (function (_super) {
|
|
|
1686
1689
|
}(TrackTransceiver));
|
|
1687
1690
|
module.exports = DataTrackTransceiver;
|
|
1688
1691
|
|
|
1689
|
-
},{"../transceiver":
|
|
1692
|
+
},{"../transceiver":121}],8:[function(require,module,exports){
|
|
1690
1693
|
'use strict';
|
|
1691
1694
|
var __extends = (this && this.__extends) || (function () {
|
|
1692
1695
|
var extendStatics = function (d, b) {
|
|
@@ -1783,7 +1786,7 @@ var DataTransport = /** @class */ (function (_super) {
|
|
|
1783
1786
|
*/
|
|
1784
1787
|
module.exports = DataTransport;
|
|
1785
1788
|
|
|
1786
|
-
},{"events":
|
|
1789
|
+
},{"events":175}],9:[function(require,module,exports){
|
|
1787
1790
|
'use strict';
|
|
1788
1791
|
var __extends = (this && this.__extends) || (function () {
|
|
1789
1792
|
var extendStatics = function (d, b) {
|
|
@@ -1881,13 +1884,13 @@ var EncodingParametersImpl = /** @class */ (function (_super) {
|
|
|
1881
1884
|
*/
|
|
1882
1885
|
module.exports = EncodingParametersImpl;
|
|
1883
1886
|
|
|
1884
|
-
},{"events":
|
|
1887
|
+
},{"events":175}],10:[function(require,module,exports){
|
|
1885
1888
|
'use strict';
|
|
1886
1889
|
var EventEmitter = require('events').EventEmitter;
|
|
1887
1890
|
var hidePrivateAndCertainPublicPropertiesInClass = require('./util').hidePrivateAndCertainPublicPropertiesInClass;
|
|
1888
1891
|
module.exports = hidePrivateAndCertainPublicPropertiesInClass(EventEmitter, ['domain']);
|
|
1889
1892
|
|
|
1890
|
-
},{"./util":
|
|
1893
|
+
},{"./util":134,"events":175}],11:[function(require,module,exports){
|
|
1891
1894
|
'use strict';
|
|
1892
1895
|
var __read = (this && this.__read) || function (o, n) {
|
|
1893
1896
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -1934,7 +1937,7 @@ var EventTarget = /** @class */ (function () {
|
|
|
1934
1937
|
}());
|
|
1935
1938
|
module.exports = EventTarget;
|
|
1936
1939
|
|
|
1937
|
-
},{"events":
|
|
1940
|
+
},{"events":175}],12:[function(require,module,exports){
|
|
1938
1941
|
'use strict';
|
|
1939
1942
|
var __assign = (this && this.__assign) || function () {
|
|
1940
1943
|
__assign = Object.assign || function(t) {
|
|
@@ -2008,7 +2011,7 @@ module.exports = {
|
|
|
2008
2011
|
LocalDataTrack: LocalDataTrack,
|
|
2009
2012
|
};
|
|
2010
2013
|
|
|
2011
|
-
},{"../package.json":
|
|
2014
|
+
},{"../package.json":176,"./connect":2,"./createlocaltrack":3,"./createlocaltracks":4,"./media/track/es5":16,"./preflight/preflighttest":52,"./util/support":147,"./vendor/loglevel":154}],13:[function(require,module,exports){
|
|
2012
2015
|
'use strict';
|
|
2013
2016
|
var __extends = (this && this.__extends) || (function () {
|
|
2014
2017
|
var extendStatics = function (d, b) {
|
|
@@ -2722,7 +2725,7 @@ function getTrackPublication(trackPublications, track) {
|
|
|
2722
2725
|
}
|
|
2723
2726
|
module.exports = LocalParticipant;
|
|
2724
2727
|
|
|
2725
|
-
},{"./media/track/es5":16,"./media/track/localaudiotrackpublication":22,"./media/track/localdatatrackpublication":24,"./media/track/localvideotrackpublication":28,"./participant":47,"./util":
|
|
2728
|
+
},{"./media/track/es5":16,"./media/track/localaudiotrackpublication":22,"./media/track/localdatatrackpublication":24,"./media/track/localvideotrackpublication":28,"./participant":47,"./util":134,"./util/constants":127,"./util/validate":152,"./webrtc":160}],14:[function(require,module,exports){
|
|
2726
2729
|
'use strict';
|
|
2727
2730
|
var __extends = (this && this.__extends) || (function () {
|
|
2728
2731
|
var extendStatics = function (d, b) {
|
|
@@ -2949,7 +2952,7 @@ module.exports = typeof MediaStreamTrackGenerator === 'function' && typeof Media
|
|
|
2949
2952
|
? captureVideoFramesInsertableStreams
|
|
2950
2953
|
: captureVideoFramesSetInterval;
|
|
2951
2954
|
|
|
2952
|
-
},{"../../util/constants":
|
|
2955
|
+
},{"../../util/constants":127}],16:[function(require,module,exports){
|
|
2953
2956
|
'use strict';
|
|
2954
2957
|
module.exports = {
|
|
2955
2958
|
LocalAudioTrack: require('./localaudiotrack'),
|
|
@@ -2972,7 +2975,7 @@ function LocalAudioTrack(mediaStreamTrack, options) {
|
|
|
2972
2975
|
inherits(LocalAudioTrack, LocalAudioTrackClass);
|
|
2973
2976
|
module.exports = LocalAudioTrack;
|
|
2974
2977
|
|
|
2975
|
-
},{"../../../vendor/inherits":
|
|
2978
|
+
},{"../../../vendor/inherits":153,"../localaudiotrack":21}],18:[function(require,module,exports){
|
|
2976
2979
|
// eslint-disable-next-line no-warning-comments
|
|
2977
2980
|
// TODO(mroberts): Remove this when we go to the next major version. This is
|
|
2978
2981
|
// only in place so that we can support ES6 classes without requiring `new`.
|
|
@@ -2987,7 +2990,7 @@ function LocalDataTrack(options) {
|
|
|
2987
2990
|
inherits(LocalDataTrack, LocalDataTrackClass);
|
|
2988
2991
|
module.exports = LocalDataTrack;
|
|
2989
2992
|
|
|
2990
|
-
},{"../../../vendor/inherits":
|
|
2993
|
+
},{"../../../vendor/inherits":153,"../localdatatrack":23}],19:[function(require,module,exports){
|
|
2991
2994
|
// eslint-disable-next-line no-warning-comments
|
|
2992
2995
|
// TODO(mroberts): Remove this when we go to the next major version. This is
|
|
2993
2996
|
// only in place so that we can support ES6 classes without requiring `new`.
|
|
@@ -3002,7 +3005,7 @@ function LocalVideoTrack(mediaStreamTrack, options) {
|
|
|
3002
3005
|
inherits(LocalVideoTrack, LocalVideoTrackClass);
|
|
3003
3006
|
module.exports = LocalVideoTrack;
|
|
3004
3007
|
|
|
3005
|
-
},{"../../../vendor/inherits":
|
|
3008
|
+
},{"../../../vendor/inherits":153,"../localvideotrack":27}],20:[function(require,module,exports){
|
|
3006
3009
|
'use strict';
|
|
3007
3010
|
var __extends = (this && this.__extends) || (function () {
|
|
3008
3011
|
var extendStatics = function (d, b) {
|
|
@@ -3114,7 +3117,7 @@ var Track = /** @class */ (function (_super) {
|
|
|
3114
3117
|
*/
|
|
3115
3118
|
module.exports = Track;
|
|
3116
3119
|
|
|
3117
|
-
},{"../../eventemitter":10,"../../util":
|
|
3120
|
+
},{"../../eventemitter":10,"../../util":134,"../../util/constants":127,"../../util/log":138}],21:[function(require,module,exports){
|
|
3118
3121
|
'use strict';
|
|
3119
3122
|
var __extends = (this && this.__extends) || (function () {
|
|
3120
3123
|
var extendStatics = function (d, b) {
|
|
@@ -3462,7 +3465,7 @@ var LocalAudioTrack = /** @class */ (function (_super) {
|
|
|
3462
3465
|
*/
|
|
3463
3466
|
module.exports = LocalAudioTrack;
|
|
3464
3467
|
|
|
3465
|
-
},{"../../util/browserdetection":
|
|
3468
|
+
},{"../../util/browserdetection":125,"../../util/detectsilentaudio":128,"../../webrtc/util":172,"./audiotrack":14,"./localmediatrack":25}],22:[function(require,module,exports){
|
|
3466
3469
|
'use strict';
|
|
3467
3470
|
var __extends = (this && this.__extends) || (function () {
|
|
3468
3471
|
var extendStatics = function (d, b) {
|
|
@@ -4102,7 +4105,7 @@ function restartWhenInadvertentlyStopped(localMediaTrack) {
|
|
|
4102
4105
|
}
|
|
4103
4106
|
module.exports = mixinLocalMediaTrack;
|
|
4104
4107
|
|
|
4105
|
-
},{"../../util":
|
|
4108
|
+
},{"../../util":134,"../../util/browserdetection":125,"../../util/constants":127,"../../util/detectsilentaudio":128,"../../util/detectsilentvideo":129,"../../util/documentvisibilitymonitor.js":130,"../../util/localmediarestartdeferreds":137,"../../webaudio/workaround180748":157,"../../webrtc":160,"./sender":40}],26:[function(require,module,exports){
|
|
4106
4109
|
/* eslint new-cap:0 */
|
|
4107
4110
|
'use strict';
|
|
4108
4111
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -4268,7 +4271,7 @@ var LocalTrackPublication = /** @class */ (function (_super) {
|
|
|
4268
4271
|
*/
|
|
4269
4272
|
module.exports = LocalTrackPublication;
|
|
4270
4273
|
|
|
4271
|
-
},{"../../util/constants":
|
|
4274
|
+
},{"../../util/constants":127,"./trackpublication":41}],27:[function(require,module,exports){
|
|
4272
4275
|
'use strict';
|
|
4273
4276
|
var __extends = (this && this.__extends) || (function () {
|
|
4274
4277
|
var extendStatics = function (d, b) {
|
|
@@ -4650,7 +4653,7 @@ function workaroundSilentLocalVideo(localVideoTrack, doc) {
|
|
|
4650
4653
|
*/
|
|
4651
4654
|
module.exports = LocalVideoTrack;
|
|
4652
4655
|
|
|
4653
|
-
},{"../../util/browserdetection":
|
|
4656
|
+
},{"../../util/browserdetection":125,"../../util/detectsilentvideo":129,"./localmediatrack":25,"./videotrack":44}],28:[function(require,module,exports){
|
|
4654
4657
|
'use strict';
|
|
4655
4658
|
var __extends = (this && this.__extends) || (function () {
|
|
4656
4659
|
var extendStatics = function (d, b) {
|
|
@@ -5090,7 +5093,7 @@ function shimMediaElement(el, onUnintentionallyPaused) {
|
|
|
5090
5093
|
}
|
|
5091
5094
|
module.exports = MediaTrack;
|
|
5092
5095
|
|
|
5093
|
-
},{"../../util":
|
|
5096
|
+
},{"../../util":134,"../../util/browserdetection":125,"../../util/localmediarestartdeferreds":137,"../../webrtc":160,"./":20}],30:[function(require,module,exports){
|
|
5094
5097
|
'use strict';
|
|
5095
5098
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5096
5099
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -5319,7 +5322,7 @@ function applyNoiseCancellation(mediaStreamTrack, noiseCancellationOptions, log)
|
|
|
5319
5322
|
}
|
|
5320
5323
|
exports.applyNoiseCancellation = applyNoiseCancellation;
|
|
5321
5324
|
|
|
5322
|
-
},{"../../noisecancellationadapter":46,"../../util/log":
|
|
5325
|
+
},{"../../noisecancellationadapter":46,"../../util/log":138}],31:[function(require,module,exports){
|
|
5323
5326
|
'use strict';
|
|
5324
5327
|
var __extends = (this && this.__extends) || (function () {
|
|
5325
5328
|
var extendStatics = function (d, b) {
|
|
@@ -5728,7 +5731,7 @@ var RemoteDataTrack = /** @class */ (function (_super) {
|
|
|
5728
5731
|
*/
|
|
5729
5732
|
module.exports = RemoteDataTrack;
|
|
5730
5733
|
|
|
5731
|
-
},{"../../util/constants":
|
|
5734
|
+
},{"../../util/constants":127,"./":20}],35:[function(require,module,exports){
|
|
5732
5735
|
'use strict';
|
|
5733
5736
|
var __extends = (this && this.__extends) || (function () {
|
|
5734
5737
|
var extendStatics = function (d, b) {
|
|
@@ -6076,7 +6079,7 @@ function playIfPausedWhileInBackground(remoteMediaTrack) {
|
|
|
6076
6079
|
*/
|
|
6077
6080
|
module.exports = mixinRemoteMediaTrack;
|
|
6078
6081
|
|
|
6079
|
-
},{"../../util/browserdetection":
|
|
6082
|
+
},{"../../util/browserdetection":125,"../../util/constants":127,"../../util/documentvisibilitymonitor.js":130}],37:[function(require,module,exports){
|
|
6080
6083
|
'use strict';
|
|
6081
6084
|
var __extends = (this && this.__extends) || (function () {
|
|
6082
6085
|
var extendStatics = function (d, b) {
|
|
@@ -6619,14 +6622,16 @@ var RemoteVideoTrack = /** @class */ (function (_super) {
|
|
|
6619
6622
|
};
|
|
6620
6623
|
return RemoteVideoTrack;
|
|
6621
6624
|
}(RemoteMediaVideoTrack));
|
|
6622
|
-
function
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
+
function isAttachedToDocumentPip(remoteVideoTrack) {
|
|
6626
|
+
if (!('documentPictureInPicture' in globalThis)) {
|
|
6627
|
+
return false;
|
|
6625
6628
|
}
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
}
|
|
6629
|
+
var pipWindow = globalThis.documentPictureInPicture.window;
|
|
6630
|
+
if (!pipWindow) {
|
|
6631
|
+
return false;
|
|
6632
|
+
}
|
|
6633
|
+
var pipEls = new WeakSet(pipWindow.document.querySelectorAll('video'));
|
|
6634
|
+
return remoteVideoTrack._getAllAttachedElements().some(function (el) { return pipEls.has(el); });
|
|
6630
6635
|
}
|
|
6631
6636
|
function maybeUpdateEnabledHint(remoteVideoTrack) {
|
|
6632
6637
|
if (remoteVideoTrack._clientTrackSwitchOffControl !== 'auto') {
|
|
@@ -6635,7 +6640,9 @@ function maybeUpdateEnabledHint(remoteVideoTrack) {
|
|
|
6635
6640
|
var visibleElements = remoteVideoTrack._getAllAttachedElements().filter(function (el) { return !remoteVideoTrack._invisibleElements.has(el); });
|
|
6636
6641
|
var pipWindows = remoteVideoTrack._getAllAttachedElements().filter(function (el) { return remoteVideoTrack._elToPipWindows.has(el); });
|
|
6637
6642
|
// even when document is invisible we may have track playing in pip window.
|
|
6638
|
-
var enabled = pipWindows.length > 0 ||
|
|
6643
|
+
var enabled = pipWindows.length > 0 ||
|
|
6644
|
+
isAttachedToDocumentPip(remoteVideoTrack) ||
|
|
6645
|
+
(document.visibilityState === 'visible' && visibleElements.length > 0);
|
|
6639
6646
|
if (enabled === true) {
|
|
6640
6647
|
remoteVideoTrack._turnOffTimer.clear();
|
|
6641
6648
|
remoteVideoTrack._setRenderHint({ enabled: true });
|
|
@@ -6663,6 +6670,15 @@ function maybeUpdateDimensionHint(remoteVideoTrack) {
|
|
|
6663
6670
|
remoteVideoTrack._setRenderHint({ renderDimensions: renderDimensions });
|
|
6664
6671
|
}
|
|
6665
6672
|
}
|
|
6673
|
+
function setupDocumentVisibilityTurnOff(removeVideoTrack) {
|
|
6674
|
+
function onVisibilityChanged() {
|
|
6675
|
+
maybeUpdateEnabledHint(removeVideoTrack);
|
|
6676
|
+
}
|
|
6677
|
+
documentVisibilityMonitor.onVisibilityChange(1, onVisibilityChanged);
|
|
6678
|
+
return function () {
|
|
6679
|
+
documentVisibilityMonitor.offVisibilityChange(1, onVisibilityChanged);
|
|
6680
|
+
};
|
|
6681
|
+
}
|
|
6666
6682
|
/**
|
|
6667
6683
|
* @typedef {object} VideoContentPreferences
|
|
6668
6684
|
* @property {VideoTrack.Dimensions} [renderDimensions] - Render Dimensions to request for the {@link RemoteVideoTrack}.
|
|
@@ -6705,7 +6721,7 @@ function maybeUpdateDimensionHint(remoteVideoTrack) {
|
|
|
6705
6721
|
*/
|
|
6706
6722
|
module.exports = RemoteVideoTrack;
|
|
6707
6723
|
|
|
6708
|
-
},{"../../util/documentvisibilitymonitor.js":
|
|
6724
|
+
},{"../../util/documentvisibilitymonitor.js":130,"../../util/nullobserver.js":141,"../../util/timeout":148,"./remotemediatrack":36,"./videotrack":44}],39:[function(require,module,exports){
|
|
6709
6725
|
'use strict';
|
|
6710
6726
|
var __extends = (this && this.__extends) || (function () {
|
|
6711
6727
|
var extendStatics = function (d, b) {
|
|
@@ -7068,7 +7084,7 @@ var TrackPublication = /** @class */ (function (_super) {
|
|
|
7068
7084
|
*/
|
|
7069
7085
|
module.exports = TrackPublication;
|
|
7070
7086
|
|
|
7071
|
-
},{"../../eventemitter":10,"../../util":
|
|
7087
|
+
},{"../../eventemitter":10,"../../util":134,"../../util/constants":127,"../../util/log":138}],42:[function(require,module,exports){
|
|
7072
7088
|
'use strict';
|
|
7073
7089
|
var __extends = (this && this.__extends) || (function () {
|
|
7074
7090
|
var extendStatics = function (d, b) {
|
|
@@ -7135,7 +7151,7 @@ var MediaTrackTransceiver = /** @class */ (function (_super) {
|
|
|
7135
7151
|
}(TrackTransceiver));
|
|
7136
7152
|
module.exports = MediaTrackTransceiver;
|
|
7137
7153
|
|
|
7138
|
-
},{"../../transceiver":
|
|
7154
|
+
},{"../../transceiver":121}],43:[function(require,module,exports){
|
|
7139
7155
|
'use strict';
|
|
7140
7156
|
var __extends = (this && this.__extends) || (function () {
|
|
7141
7157
|
var extendStatics = function (d, b) {
|
|
@@ -7290,7 +7306,7 @@ var VideoProcessorEventObserver = /** @class */ (function (_super) {
|
|
|
7290
7306
|
}(EventEmitter));
|
|
7291
7307
|
module.exports = VideoProcessorEventObserver;
|
|
7292
7308
|
|
|
7293
|
-
},{"../../util/constants":
|
|
7309
|
+
},{"../../util/constants":127,"events":175}],44:[function(require,module,exports){
|
|
7294
7310
|
'use strict';
|
|
7295
7311
|
var __extends = (this && this.__extends) || (function () {
|
|
7296
7312
|
var extendStatics = function (d, b) {
|
|
@@ -7878,7 +7894,7 @@ function dimensionsChanged(track, elem) {
|
|
|
7878
7894
|
*/
|
|
7879
7895
|
module.exports = VideoTrack;
|
|
7880
7896
|
|
|
7881
|
-
},{"../../util/constants":
|
|
7897
|
+
},{"../../util/constants":127,"../../webrtc/util":172,"./capturevideoframes":15,"./mediatrack":29,"./videoprocessoreventobserver":43}],45:[function(require,module,exports){
|
|
7882
7898
|
'use strict';
|
|
7883
7899
|
var __extends = (this && this.__extends) || (function () {
|
|
7884
7900
|
var extendStatics = function (d, b) {
|
|
@@ -7977,7 +7993,7 @@ var NetworkQualityConfigurationImpl = /** @class */ (function (_super) {
|
|
|
7977
7993
|
}(EventEmitter));
|
|
7978
7994
|
module.exports = NetworkQualityConfigurationImpl;
|
|
7979
7995
|
|
|
7980
|
-
},{"./util":
|
|
7996
|
+
},{"./util":134,"./util/constants":127,"events":175}],46:[function(require,module,exports){
|
|
7981
7997
|
'use strict';
|
|
7982
7998
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
7983
7999
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -8132,7 +8148,7 @@ function createNoiseCancellationAudioProcessor(noiseCancellationOptions, log) {
|
|
|
8132
8148
|
}
|
|
8133
8149
|
exports.createNoiseCancellationAudioProcessor = createNoiseCancellationAudioProcessor;
|
|
8134
8150
|
|
|
8135
|
-
},{"./util/dynamicimport":
|
|
8151
|
+
},{"./util/dynamicimport":131,"./util/log":138}],47:[function(require,module,exports){
|
|
8136
8152
|
'use strict';
|
|
8137
8153
|
var __extends = (this && this.__extends) || (function () {
|
|
8138
8154
|
var extendStatics = function (d, b) {
|
|
@@ -8761,7 +8777,7 @@ function reemitTrackPublicationEvents(participant, publication) {
|
|
|
8761
8777
|
}
|
|
8762
8778
|
module.exports = Participant;
|
|
8763
8779
|
|
|
8764
|
-
},{"./eventemitter":10,"./media/track/remoteaudiotrack":32,"./media/track/remoteaudiotrackpublication":33,"./media/track/remotedatatrack":34,"./media/track/remotedatatrackpublication":35,"./media/track/remotevideotrack":38,"./media/track/remotevideotrackpublication":39,"./util":
|
|
8780
|
+
},{"./eventemitter":10,"./media/track/remoteaudiotrack":32,"./media/track/remoteaudiotrackpublication":33,"./media/track/remotedatatrack":34,"./media/track/remotedatatrackpublication":35,"./media/track/remotevideotrack":38,"./media/track/remotevideotrackpublication":39,"./util":134}],48:[function(require,module,exports){
|
|
8765
8781
|
"use strict";
|
|
8766
8782
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8767
8783
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -8963,7 +8979,7 @@ function getTurnCredentials(token, wsServer) {
|
|
|
8963
8979
|
}
|
|
8964
8980
|
exports.getTurnCredentials = getTurnCredentials;
|
|
8965
8981
|
|
|
8966
|
-
},{"../twilioconnection.js":
|
|
8982
|
+
},{"../twilioconnection.js":122,"../util/constants":127,"../util/twilio-video-errors":149,"events":175}],50:[function(require,module,exports){
|
|
8967
8983
|
"use strict";
|
|
8968
8984
|
var __read = (this && this.__read) || function (o, n) {
|
|
8969
8985
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -9709,7 +9725,7 @@ function runPreflight(token, options) {
|
|
|
9709
9725
|
}
|
|
9710
9726
|
exports.runPreflight = runPreflight;
|
|
9711
9727
|
|
|
9712
|
-
},{"../eventemitter":10,"../util/constants":
|
|
9728
|
+
},{"../eventemitter":10,"../util/constants":127,"../util/eventobserver":132,"../util/index":134,"../util/insightspublisher":135,"../util/log":138,"../util/movingaveragedelta":139,"../util/sid":146,"../util/twilio-video-errors":149,"./getCombinedConnectionStats":48,"./getturncredentials":49,"./makestat":50,"./mos":51,"./syntheticaudio":53,"./syntheticvideo":54,"./timer":55}],53:[function(require,module,exports){
|
|
9713
9729
|
"use strict";
|
|
9714
9730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9715
9731
|
exports.syntheticAudio = void 0;
|
|
@@ -9732,7 +9748,7 @@ function syntheticAudio() {
|
|
|
9732
9748
|
}
|
|
9733
9749
|
exports.syntheticAudio = syntheticAudio;
|
|
9734
9750
|
|
|
9735
|
-
},{"../webaudio/audiocontext":
|
|
9751
|
+
},{"../webaudio/audiocontext":155}],54:[function(require,module,exports){
|
|
9736
9752
|
"use strict";
|
|
9737
9753
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9738
9754
|
exports.syntheticVideo = void 0;
|
|
@@ -9897,7 +9913,7 @@ var QueueingEventEmitter = /** @class */ (function (_super) {
|
|
|
9897
9913
|
}(EventEmitter));
|
|
9898
9914
|
module.exports = QueueingEventEmitter;
|
|
9899
9915
|
|
|
9900
|
-
},{"events":
|
|
9916
|
+
},{"events":175}],57:[function(require,module,exports){
|
|
9901
9917
|
'use strict';
|
|
9902
9918
|
var __extends = (this && this.__extends) || (function () {
|
|
9903
9919
|
var extendStatics = function (d, b) {
|
|
@@ -10243,6 +10259,7 @@ var nInstances = 0;
|
|
|
10243
10259
|
* @property {string} state - "connected", "reconnecting", or "disconnected"
|
|
10244
10260
|
* @throws {SignalingConnectionDisconnectedError}
|
|
10245
10261
|
* @emits Room#disconnected
|
|
10262
|
+
* @emits Room#transcription
|
|
10246
10263
|
* @emits Room#participantConnected
|
|
10247
10264
|
* @emits Room#participantDisconnected
|
|
10248
10265
|
* @emits Room#participantReconnected
|
|
@@ -10485,6 +10502,24 @@ function rewriteLocalTrackIds(room, trackStats) {
|
|
|
10485
10502
|
* });
|
|
10486
10503
|
* });
|
|
10487
10504
|
*/
|
|
10505
|
+
/**
|
|
10506
|
+
* Emitted when transcription data is received.
|
|
10507
|
+
* This event is only emitted when the {@link Room} is configured for transcription.
|
|
10508
|
+
* @param {TranscriptionEvent} transcriptionEvent - The transcription event data.
|
|
10509
|
+
* @param {string} transcriptionEvent.language_code - The BCP-47 language code (e.g., 'en-US') of the transcribed text.
|
|
10510
|
+
* @param {boolean} transcriptionEvent.partial_results - Whether the transcription is a final or a partial result.
|
|
10511
|
+
* @param {string} transcriptionEvent.participant - The SID of the speaking participant.
|
|
10512
|
+
* @param {number} transcriptionEvent.sequence_number - Starts with one and increments monotonically.
|
|
10513
|
+
* @param {string} transcriptionEvent.timestamp - ISO 8601 timestamp of when the transcription was generated.
|
|
10514
|
+
* @param {string} transcriptionEvent.track - The SID of the audio track being transcribed.
|
|
10515
|
+
* @param {string} transcriptionEvent.transcription - The transcribed text.
|
|
10516
|
+
* @param {string} transcriptionEvent.type - Constant 'extension_transcriptions'.
|
|
10517
|
+
* @event Room#transcription
|
|
10518
|
+
* @example
|
|
10519
|
+
* room.on('transcription', transcriptionEvent => {
|
|
10520
|
+
* console.log(`${transcriptionEvent.participant}: ${transcriptionEvent.transcription}`);
|
|
10521
|
+
* });
|
|
10522
|
+
*/
|
|
10488
10523
|
/**
|
|
10489
10524
|
* A {@link RemoteParticipant} joined the {@link Room}. In Large Group Rooms (Maximum
|
|
10490
10525
|
* Participants greater than 50), this event is raised only when a {@link RemoteParticipant}
|
|
@@ -10826,6 +10861,7 @@ function handleSignalingEvents(room, signaling) {
|
|
|
10826
10861
|
+ 'ParticipantSignalings that connect to the RoomSignaling');
|
|
10827
10862
|
signaling.on('participantConnected', connectParticipant.bind(null, room));
|
|
10828
10863
|
signaling.on('dominantSpeakerChanged', function () { return room.emit('dominantSpeakerChanged', room.dominantSpeaker); });
|
|
10864
|
+
signaling.on('transcription', function (data) { return room.emit('transcription', data); });
|
|
10829
10865
|
// Reemit state transition events from the RoomSignaling.
|
|
10830
10866
|
signaling.on('stateChanged', function stateChanged(state, error) {
|
|
10831
10867
|
log.info('Transitioned to state:', state);
|
|
@@ -10854,7 +10890,7 @@ function handleSignalingEvents(room, signaling) {
|
|
|
10854
10890
|
}
|
|
10855
10891
|
module.exports = Room;
|
|
10856
10892
|
|
|
10857
|
-
},{"./eventemitter":10,"./remoteparticipant":57,"./stats/statsreport":
|
|
10893
|
+
},{"./eventemitter":10,"./remoteparticipant":57,"./stats/statsreport":118,"./util":134}],59:[function(require,module,exports){
|
|
10858
10894
|
/* eslint consistent-return:0 */
|
|
10859
10895
|
'use strict';
|
|
10860
10896
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -11024,7 +11060,7 @@ var Signaling = /** @class */ (function (_super) {
|
|
|
11024
11060
|
}(StateMachine));
|
|
11025
11061
|
module.exports = Signaling;
|
|
11026
11062
|
|
|
11027
|
-
},{"../statemachine":
|
|
11063
|
+
},{"../statemachine":90,"./participant":62,"./room":66}],60:[function(require,module,exports){
|
|
11028
11064
|
'use strict';
|
|
11029
11065
|
var __extends = (this && this.__extends) || (function () {
|
|
11030
11066
|
var extendStatics = function (d, b) {
|
|
@@ -11469,7 +11505,7 @@ var ParticipantSignaling = /** @class */ (function (_super) {
|
|
|
11469
11505
|
*/
|
|
11470
11506
|
module.exports = ParticipantSignaling;
|
|
11471
11507
|
|
|
11472
|
-
},{"../statemachine":
|
|
11508
|
+
},{"../statemachine":90,"../stats/networkqualitystats":105}],63:[function(require,module,exports){
|
|
11473
11509
|
'use strict';
|
|
11474
11510
|
var __extends = (this && this.__extends) || (function () {
|
|
11475
11511
|
var extendStatics = function (d, b) {
|
|
@@ -11542,7 +11578,7 @@ var RecordingSignaling = /** @class */ (function (_super) {
|
|
|
11542
11578
|
*/
|
|
11543
11579
|
module.exports = RecordingSignaling;
|
|
11544
11580
|
|
|
11545
|
-
},{"events":
|
|
11581
|
+
},{"events":175}],64:[function(require,module,exports){
|
|
11546
11582
|
'use strict';
|
|
11547
11583
|
var __extends = (this && this.__extends) || (function () {
|
|
11548
11584
|
var extendStatics = function (d, b) {
|
|
@@ -11968,7 +12004,7 @@ function maybeUpdateState(roomSignaling) {
|
|
|
11968
12004
|
}
|
|
11969
12005
|
module.exports = RoomSignaling;
|
|
11970
12006
|
|
|
11971
|
-
},{"../statemachine":
|
|
12007
|
+
},{"../statemachine":90,"../util":134,"../util/constants":127,"../util/log":138,"../util/timeout":148,"../util/twilio-video-errors":149,"./recording":63}],67:[function(require,module,exports){
|
|
11972
12008
|
'use strict';
|
|
11973
12009
|
var __extends = (this && this.__extends) || (function () {
|
|
11974
12010
|
var extendStatics = function (d, b) {
|
|
@@ -12151,7 +12187,7 @@ var TrackSignaling = /** @class */ (function (_super) {
|
|
|
12151
12187
|
*/
|
|
12152
12188
|
module.exports = TrackSignaling;
|
|
12153
12189
|
|
|
12154
|
-
},{"events":
|
|
12190
|
+
},{"events":175}],68:[function(require,module,exports){
|
|
12155
12191
|
'use strict';
|
|
12156
12192
|
var CancelablePromise = require('../../util/cancelablepromise');
|
|
12157
12193
|
var DefaultPeerConnectionManager = require('./peerconnectionmanager');
|
|
@@ -12198,7 +12234,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12198
12234
|
throw error;
|
|
12199
12235
|
});
|
|
12200
12236
|
};
|
|
12201
|
-
var automaticSubscription = options.automaticSubscription, bandwidthProfile = options.bandwidthProfile, dominantSpeaker = options.dominantSpeaker, environment = options.environment, eventObserver = options.eventObserver, loggerName = options.loggerName, logLevel = options.logLevel, name = options.name, networkMonitor = options.networkMonitor, networkQuality = options.networkQuality, notifyWarnings = options.notifyWarnings, realm = options.realm, sdpSemantics = options.sdpSemantics;
|
|
12237
|
+
var automaticSubscription = options.automaticSubscription, bandwidthProfile = options.bandwidthProfile, dominantSpeaker = options.dominantSpeaker, receiveTranscriptions = options.receiveTranscriptions, environment = options.environment, eventObserver = options.eventObserver, loggerName = options.loggerName, logLevel = options.logLevel, name = options.name, networkMonitor = options.networkMonitor, networkQuality = options.networkQuality, notifyWarnings = options.notifyWarnings, realm = options.realm, sdpSemantics = options.sdpSemantics;
|
|
12202
12238
|
// decide which msp channels to request
|
|
12203
12239
|
// dominantSpeaker, networkQuality
|
|
12204
12240
|
var trackPriority = !!bandwidthProfile;
|
|
@@ -12209,6 +12245,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12209
12245
|
adaptiveSimulcast: adaptiveSimulcast,
|
|
12210
12246
|
automaticSubscription: automaticSubscription,
|
|
12211
12247
|
dominantSpeaker: dominantSpeaker,
|
|
12248
|
+
receiveTranscriptions: receiveTranscriptions,
|
|
12212
12249
|
environment: environment,
|
|
12213
12250
|
eventObserver: eventObserver,
|
|
12214
12251
|
loggerName: loggerName,
|
|
@@ -12268,7 +12305,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12268
12305
|
}
|
|
12269
12306
|
module.exports = createCancelableRoomSignalingPromise;
|
|
12270
12307
|
|
|
12271
|
-
},{"../../util":
|
|
12308
|
+
},{"../../util":134,"../../util/cancelablepromise":126,"../../util/twilio-video-errors":149,"./peerconnectionmanager":79,"./room":85,"./twilioconnectiontransport":89}],69:[function(require,module,exports){
|
|
12272
12309
|
'use strict';
|
|
12273
12310
|
var __extends = (this && this.__extends) || (function () {
|
|
12274
12311
|
var extendStatics = function (d, b) {
|
|
@@ -12414,7 +12451,7 @@ var IceBox = /** @class */ (function () {
|
|
|
12414
12451
|
}());
|
|
12415
12452
|
module.exports = IceBox;
|
|
12416
12453
|
|
|
12417
|
-
},{"../../util/filter":
|
|
12454
|
+
},{"../../util/filter":133}],71:[function(require,module,exports){
|
|
12418
12455
|
'use strict';
|
|
12419
12456
|
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;
|
|
12420
12457
|
/**
|
|
@@ -12557,7 +12594,7 @@ var IceConnectionMonitor = /** @class */ (function () {
|
|
|
12557
12594
|
}());
|
|
12558
12595
|
module.exports = IceConnectionMonitor;
|
|
12559
12596
|
|
|
12560
|
-
},{"../../util/constants":
|
|
12597
|
+
},{"../../util/constants":127}],72:[function(require,module,exports){
|
|
12561
12598
|
'use strict';
|
|
12562
12599
|
var __extends = (this && this.__extends) || (function () {
|
|
12563
12600
|
var extendStatics = function (d, b) {
|
|
@@ -12962,7 +12999,7 @@ var LocalParticipantV2 = /** @class */ (function (_super) {
|
|
|
12962
12999
|
*/
|
|
12963
13000
|
module.exports = LocalParticipantV2;
|
|
12964
13001
|
|
|
12965
|
-
},{"../../util":
|
|
13002
|
+
},{"../../util":134,"../../util/constants":127,"../../util/log":138,"../localparticipant":60,"./localtrackpublication":74}],74:[function(require,module,exports){
|
|
12966
13003
|
'use strict';
|
|
12967
13004
|
var __extends = (this && this.__extends) || (function () {
|
|
12968
13005
|
var extendStatics = function (d, b) {
|
|
@@ -13089,7 +13126,7 @@ var LocalTrackPublicationV2 = /** @class */ (function (_super) {
|
|
|
13089
13126
|
*/
|
|
13090
13127
|
module.exports = LocalTrackPublicationV2;
|
|
13091
13128
|
|
|
13092
|
-
},{"../../util/twilio-video-errors":
|
|
13129
|
+
},{"../../util/twilio-video-errors":149,"../../util/twiliowarning":151,"../localtrackpublication":61}],75:[function(require,module,exports){
|
|
13093
13130
|
/* eslint callback-return:0 */
|
|
13094
13131
|
'use strict';
|
|
13095
13132
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -13186,7 +13223,7 @@ var MediaSignaling = /** @class */ (function (_super) {
|
|
|
13186
13223
|
}(EventEmitter));
|
|
13187
13224
|
module.exports = MediaSignaling;
|
|
13188
13225
|
|
|
13189
|
-
},{"events":
|
|
13226
|
+
},{"events":175}],76:[function(require,module,exports){
|
|
13190
13227
|
/* eslint callback-return:0 */
|
|
13191
13228
|
'use strict';
|
|
13192
13229
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -13345,7 +13382,7 @@ function next(monitor) {
|
|
|
13345
13382
|
*/
|
|
13346
13383
|
module.exports = NetworkQualityMonitor;
|
|
13347
13384
|
|
|
13348
|
-
},{"../../stats/peerconnectionreportfactory":
|
|
13385
|
+
},{"../../stats/peerconnectionreportfactory":108,"events":175}],77:[function(require,module,exports){
|
|
13349
13386
|
'use strict';
|
|
13350
13387
|
var __extends = (this && this.__extends) || (function () {
|
|
13351
13388
|
var extendStatics = function (d, b) {
|
|
@@ -13610,7 +13647,7 @@ function createNetworkQualityInputsMessage(networkQualityInputs, networkQualityR
|
|
|
13610
13647
|
}
|
|
13611
13648
|
module.exports = NetworkQualitySignaling;
|
|
13612
13649
|
|
|
13613
|
-
},{"../../util/asyncvar":
|
|
13650
|
+
},{"../../util/asyncvar":123,"../../util/timeout":148,"./mediasignaling":75}],78:[function(require,module,exports){
|
|
13614
13651
|
'use strict';
|
|
13615
13652
|
var __extends = (this && this.__extends) || (function () {
|
|
13616
13653
|
var extendStatics = function (d, b) {
|
|
@@ -15488,7 +15525,7 @@ function setMaxBitrate(params, maxBitrate) {
|
|
|
15488
15525
|
}
|
|
15489
15526
|
module.exports = PeerConnectionV2;
|
|
15490
15527
|
|
|
15491
|
-
},{"../../data/receiver":5,"../../media/track/receiver":31,"../../statemachine":
|
|
15528
|
+
},{"../../data/receiver":5,"../../media/track/receiver":31,"../../statemachine":90,"../../util":134,"../../util/backoff":124,"../../util/constants":127,"../../util/log":138,"../../util/sdp":142,"../../util/sdp/issue8329":143,"../../util/sdp/trackmatcher":145,"../../util/timeout":148,"../../util/twilio-video-errors":149,"../../webrtc":160,"../../webrtc/util":172,"./icebox":70,"./iceconnectionmonitor.js":71}],79:[function(require,module,exports){
|
|
15492
15529
|
'use strict';
|
|
15493
15530
|
var __extends = (this && this.__extends) || (function () {
|
|
15494
15531
|
var extendStatics = function (d, b) {
|
|
@@ -16056,7 +16093,7 @@ function updateConnectionState(pcm) {
|
|
|
16056
16093
|
}
|
|
16057
16094
|
module.exports = PeerConnectionManager;
|
|
16058
16095
|
|
|
16059
|
-
},{"../../media/track/sender":40,"../../queueingeventemitter":56,"../../util":
|
|
16096
|
+
},{"../../media/track/sender":40,"../../queueingeventemitter":56,"../../util":134,"../../util/twilio-video-errors":149,"../../webaudio/audiocontext":155,"../../webrtc/util":172,"./peerconnection":78}],80:[function(require,module,exports){
|
|
16060
16097
|
/* eslint callback-return:0 */
|
|
16061
16098
|
'use strict';
|
|
16062
16099
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -16527,7 +16564,7 @@ var RenderHintsSignaling = /** @class */ (function (_super) {
|
|
|
16527
16564
|
}(MediaSignaling));
|
|
16528
16565
|
module.exports = RenderHintsSignaling;
|
|
16529
16566
|
|
|
16530
|
-
},{"../../util":
|
|
16567
|
+
},{"../../util":134,"../../util/timeout":148,"./mediasignaling":75}],85:[function(require,module,exports){
|
|
16531
16568
|
/* eslint-disable no-console */
|
|
16532
16569
|
'use strict';
|
|
16533
16570
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -16562,6 +16599,7 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
16562
16599
|
return ar;
|
|
16563
16600
|
};
|
|
16564
16601
|
var DominantSpeakerSignaling = require('./dominantspeakersignaling');
|
|
16602
|
+
var TranscriptionSignaling = require('./transcriptionsignaling');
|
|
16565
16603
|
var NetworkQualityMonitor = require('./networkqualitymonitor');
|
|
16566
16604
|
var NetworkQualitySignaling = require('./networkqualitysignaling');
|
|
16567
16605
|
var RecordingV2 = require('./recording');
|
|
@@ -16588,6 +16626,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16588
16626
|
}, initialState.options);
|
|
16589
16627
|
options = Object.assign({
|
|
16590
16628
|
DominantSpeakerSignaling: DominantSpeakerSignaling,
|
|
16629
|
+
TranscriptionSignaling: TranscriptionSignaling,
|
|
16591
16630
|
NetworkQualityMonitor: NetworkQualityMonitor,
|
|
16592
16631
|
NetworkQualitySignaling: NetworkQualitySignaling,
|
|
16593
16632
|
RecordingSignaling: RecordingV2,
|
|
@@ -16658,6 +16697,9 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16658
16697
|
_dominantSpeakerSignaling: {
|
|
16659
16698
|
value: new options.DominantSpeakerSignaling(getTrackReceiver, { log: log })
|
|
16660
16699
|
},
|
|
16700
|
+
_transcriptionSignaling: {
|
|
16701
|
+
value: new options.TranscriptionSignaling(getTrackReceiver, { log: log })
|
|
16702
|
+
},
|
|
16661
16703
|
_networkQualitySignaling: {
|
|
16662
16704
|
value: new options.NetworkQualitySignaling(getTrackReceiver, localParticipant.networkQualityConfiguration, { log: log })
|
|
16663
16705
|
},
|
|
@@ -16689,6 +16731,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16689
16731
|
});
|
|
16690
16732
|
_this._initTrackSwitchOffSignaling();
|
|
16691
16733
|
_this._initDominantSpeakerSignaling();
|
|
16734
|
+
_this._initTranscriptionSignaling();
|
|
16692
16735
|
_this._initNetworkQualityMonitorSignaling();
|
|
16693
16736
|
_this._initPublisherHintSignaling();
|
|
16694
16737
|
handleLocalParticipantEvents(_this, localParticipant);
|
|
@@ -16949,6 +16992,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16949
16992
|
}
|
|
16950
16993
|
[
|
|
16951
16994
|
this._dominantSpeakerSignaling,
|
|
16995
|
+
this._transcriptionSignaling,
|
|
16952
16996
|
this._networkQualitySignaling,
|
|
16953
16997
|
this._trackPrioritySignaling,
|
|
16954
16998
|
this._trackSwitchOffSignaling,
|
|
@@ -17028,6 +17072,12 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
17028
17072
|
var _this = this;
|
|
17029
17073
|
this._dominantSpeakerSignaling.on('updated', function () { return _this.setDominantSpeaker(_this._dominantSpeakerSignaling.loudestParticipantSid); });
|
|
17030
17074
|
};
|
|
17075
|
+
RoomV2.prototype._initTranscriptionSignaling = function () {
|
|
17076
|
+
var _this = this;
|
|
17077
|
+
this._transcriptionSignaling.on('transcription', function (data) {
|
|
17078
|
+
_this.emit('transcription', data);
|
|
17079
|
+
});
|
|
17080
|
+
};
|
|
17031
17081
|
RoomV2.prototype._initNetworkQualityMonitorSignaling = function () {
|
|
17032
17082
|
var _this = this;
|
|
17033
17083
|
this._networkQualitySignaling.on('ready', function () {
|
|
@@ -17385,7 +17435,7 @@ function replaceNullsWithDefaults(activeIceCandidatePair, peerConnectionId) {
|
|
|
17385
17435
|
}
|
|
17386
17436
|
module.exports = RoomV2;
|
|
17387
17437
|
|
|
17388
|
-
},{"../../stats/statsreport":
|
|
17438
|
+
},{"../../stats/statsreport":118,"../../util":134,"../../util/movingaveragedelta":139,"../../util/twilio-video-errors":149,"../room":66,"./dominantspeakersignaling":69,"./networkqualitymonitor":76,"./networkqualitysignaling":77,"./publisherhintsignaling.js":80,"./recording":81,"./remoteparticipant":82,"./renderhintssignaling":84,"./trackprioritysignaling":86,"./trackswitchoffsignaling":87,"./transcriptionsignaling":88}],86:[function(require,module,exports){
|
|
17389
17439
|
'use strict';
|
|
17390
17440
|
var __extends = (this && this.__extends) || (function () {
|
|
17391
17441
|
var extendStatics = function (d, b) {
|
|
@@ -17526,6 +17576,54 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17526
17576
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17527
17577
|
};
|
|
17528
17578
|
})();
|
|
17579
|
+
var MediaSignaling = require('./mediasignaling');
|
|
17580
|
+
/**
|
|
17581
|
+
* @emits TranscriptionSignaling#transcription
|
|
17582
|
+
*/
|
|
17583
|
+
var TranscriptionSignaling = /** @class */ (function (_super) {
|
|
17584
|
+
__extends(TranscriptionSignaling, _super);
|
|
17585
|
+
/**
|
|
17586
|
+
* Construct an {@link TranscriptionSignaling}.
|
|
17587
|
+
*/
|
|
17588
|
+
function TranscriptionSignaling(getReceiver, options) {
|
|
17589
|
+
var _this = _super.call(this, getReceiver, 'extension_transcriptions', options) || this;
|
|
17590
|
+
_this.on('ready', function (transport) {
|
|
17591
|
+
transport.on('message', function (message) {
|
|
17592
|
+
switch (message.type) {
|
|
17593
|
+
case 'extension_transcriptions':
|
|
17594
|
+
_this.emit('transcription', message);
|
|
17595
|
+
break;
|
|
17596
|
+
default:
|
|
17597
|
+
break;
|
|
17598
|
+
}
|
|
17599
|
+
});
|
|
17600
|
+
});
|
|
17601
|
+
return _this;
|
|
17602
|
+
}
|
|
17603
|
+
return TranscriptionSignaling;
|
|
17604
|
+
}(MediaSignaling));
|
|
17605
|
+
/**
|
|
17606
|
+
* @event TranscriptionSignaling#transcription
|
|
17607
|
+
*/
|
|
17608
|
+
module.exports = TranscriptionSignaling;
|
|
17609
|
+
|
|
17610
|
+
},{"./mediasignaling":75}],89:[function(require,module,exports){
|
|
17611
|
+
'use strict';
|
|
17612
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17613
|
+
var extendStatics = function (d, b) {
|
|
17614
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17615
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17616
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
17617
|
+
return extendStatics(d, b);
|
|
17618
|
+
};
|
|
17619
|
+
return function (d, b) {
|
|
17620
|
+
if (typeof b !== "function" && b !== null)
|
|
17621
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
17622
|
+
extendStatics(d, b);
|
|
17623
|
+
function __() { this.constructor = d; }
|
|
17624
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17625
|
+
};
|
|
17626
|
+
})();
|
|
17529
17627
|
var StateMachine = require('../../statemachine');
|
|
17530
17628
|
var TwilioConnection = require('../../twilioconnection');
|
|
17531
17629
|
var DefaultBackoff = require('../../util/backoff');
|
|
@@ -17608,6 +17706,9 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17608
17706
|
_accessToken: {
|
|
17609
17707
|
value: accessToken
|
|
17610
17708
|
},
|
|
17709
|
+
_adaptiveSimulcast: {
|
|
17710
|
+
value: options.adaptiveSimulcast
|
|
17711
|
+
},
|
|
17611
17712
|
_automaticSubscription: {
|
|
17612
17713
|
value: options.automaticSubscription
|
|
17613
17714
|
},
|
|
@@ -17617,8 +17718,8 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17617
17718
|
_dominantSpeaker: {
|
|
17618
17719
|
value: options.dominantSpeaker
|
|
17619
17720
|
},
|
|
17620
|
-
|
|
17621
|
-
value: options.
|
|
17721
|
+
_receiveTranscriptions: {
|
|
17722
|
+
value: options.receiveTranscriptions
|
|
17622
17723
|
},
|
|
17623
17724
|
_eventObserver: {
|
|
17624
17725
|
value: options.eventObserver,
|
|
@@ -17731,7 +17832,7 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17731
17832
|
if (this._notifyWarnings) {
|
|
17732
17833
|
message.participant.media_warnings = createMediaWarningsPayload(this._notifyWarnings);
|
|
17733
17834
|
}
|
|
17734
|
-
message.media_signaling = createMediaSignalingPayload(this._dominantSpeaker, this._networkQuality, this._trackPriority, this._trackSwitchOff, this._adaptiveSimulcast, this._renderHints);
|
|
17835
|
+
message.media_signaling = createMediaSignalingPayload(this._dominantSpeaker, this._networkQuality, this._trackPriority, this._trackSwitchOff, this._adaptiveSimulcast, this._renderHints, this._receiveTranscriptions);
|
|
17735
17836
|
message.subscribe = createSubscribePayload(this._automaticSubscription);
|
|
17736
17837
|
message.format = SDP_FORMAT;
|
|
17737
17838
|
message.token = this._accessToken;
|
|
@@ -18096,7 +18197,7 @@ function setupTransport(transport) {
|
|
|
18096
18197
|
}
|
|
18097
18198
|
module.exports = TwilioConnectionTransport;
|
|
18098
18199
|
|
|
18099
|
-
},{"../../statemachine":
|
|
18200
|
+
},{"../../statemachine":90,"../../twilioconnection":122,"../../util":134,"../../util/backoff":124,"../../util/constants":127,"../../util/timeout":148,"../../util/twilio-video-errors":149}],90:[function(require,module,exports){
|
|
18100
18201
|
'use strict';
|
|
18101
18202
|
var __extends = (this && this.__extends) || (function () {
|
|
18102
18203
|
var extendStatics = function (d, b) {
|
|
@@ -18542,7 +18643,7 @@ function createUnreachableError(here, there) {
|
|
|
18542
18643
|
}
|
|
18543
18644
|
module.exports = StateMachine;
|
|
18544
18645
|
|
|
18545
|
-
},{"./util":
|
|
18646
|
+
},{"./util":134,"events":175}],91:[function(require,module,exports){
|
|
18546
18647
|
/* eslint no-undefined:0 */
|
|
18547
18648
|
'use strict';
|
|
18548
18649
|
/**
|
|
@@ -18555,7 +18656,7 @@ function average(xs) {
|
|
|
18555
18656
|
}
|
|
18556
18657
|
module.exports = average;
|
|
18557
18658
|
|
|
18558
|
-
},{}],
|
|
18659
|
+
},{}],92:[function(require,module,exports){
|
|
18559
18660
|
'use strict';
|
|
18560
18661
|
/**
|
|
18561
18662
|
* @property {number} [availableSend] - bps (undefined in Firefox)
|
|
@@ -18613,7 +18714,7 @@ var IceReport = /** @class */ (function () {
|
|
|
18613
18714
|
}());
|
|
18614
18715
|
module.exports = IceReport;
|
|
18615
18716
|
|
|
18616
|
-
},{}],
|
|
18717
|
+
},{}],93:[function(require,module,exports){
|
|
18617
18718
|
'use strict';
|
|
18618
18719
|
var IceReport = require('./icereport');
|
|
18619
18720
|
/**
|
|
@@ -18658,7 +18759,7 @@ var IceReportFactory = /** @class */ (function () {
|
|
|
18658
18759
|
}());
|
|
18659
18760
|
module.exports = IceReportFactory;
|
|
18660
18761
|
|
|
18661
|
-
},{"./icereport":
|
|
18762
|
+
},{"./icereport":92}],94:[function(require,module,exports){
|
|
18662
18763
|
'use strict';
|
|
18663
18764
|
var __extends = (this && this.__extends) || (function () {
|
|
18664
18765
|
var extendStatics = function (d, b) {
|
|
@@ -18716,7 +18817,7 @@ var LocalAudioTrackStats = /** @class */ (function (_super) {
|
|
|
18716
18817
|
*/
|
|
18717
18818
|
module.exports = LocalAudioTrackStats;
|
|
18718
18819
|
|
|
18719
|
-
},{"./localtrackstats":
|
|
18820
|
+
},{"./localtrackstats":95}],95:[function(require,module,exports){
|
|
18720
18821
|
'use strict';
|
|
18721
18822
|
var __extends = (this && this.__extends) || (function () {
|
|
18722
18823
|
var extendStatics = function (d, b) {
|
|
@@ -18776,7 +18877,7 @@ var LocalTrackStats = /** @class */ (function (_super) {
|
|
|
18776
18877
|
}(TrackStats));
|
|
18777
18878
|
module.exports = LocalTrackStats;
|
|
18778
18879
|
|
|
18779
|
-
},{"./trackstats":
|
|
18880
|
+
},{"./trackstats":120}],96:[function(require,module,exports){
|
|
18780
18881
|
'use strict';
|
|
18781
18882
|
var __extends = (this && this.__extends) || (function () {
|
|
18782
18883
|
var extendStatics = function (d, b) {
|
|
@@ -18869,7 +18970,7 @@ var LocalVideoTrackStats = /** @class */ (function (_super) {
|
|
|
18869
18970
|
}(LocalTrackStats));
|
|
18870
18971
|
module.exports = LocalVideoTrackStats;
|
|
18871
18972
|
|
|
18872
|
-
},{"./localtrackstats":
|
|
18973
|
+
},{"./localtrackstats":95}],97:[function(require,module,exports){
|
|
18873
18974
|
'use strict';
|
|
18874
18975
|
var __extends = (this && this.__extends) || (function () {
|
|
18875
18976
|
var extendStatics = function (d, b) {
|
|
@@ -18903,7 +19004,7 @@ var NetworkQualityAudioStats = /** @class */ (function (_super) {
|
|
|
18903
19004
|
}(NetworkQualityMediaStats));
|
|
18904
19005
|
module.exports = NetworkQualityAudioStats;
|
|
18905
19006
|
|
|
18906
|
-
},{"./networkqualitymediastats":
|
|
19007
|
+
},{"./networkqualitymediastats":101}],98:[function(require,module,exports){
|
|
18907
19008
|
'use strict';
|
|
18908
19009
|
/**
|
|
18909
19010
|
* Bandwidth network quality statistics.
|
|
@@ -18937,7 +19038,7 @@ var NetworkQualityBandwidthStats = /** @class */ (function () {
|
|
|
18937
19038
|
}());
|
|
18938
19039
|
module.exports = NetworkQualityBandwidthStats;
|
|
18939
19040
|
|
|
18940
|
-
},{}],
|
|
19041
|
+
},{}],99:[function(require,module,exports){
|
|
18941
19042
|
'use strict';
|
|
18942
19043
|
/**
|
|
18943
19044
|
* Fraction lost network quality statistics.
|
|
@@ -18966,7 +19067,7 @@ var NetworkQualityFractionLostStats = /** @class */ (function () {
|
|
|
18966
19067
|
}());
|
|
18967
19068
|
module.exports = NetworkQualityFractionLostStats;
|
|
18968
19069
|
|
|
18969
|
-
},{}],
|
|
19070
|
+
},{}],100:[function(require,module,exports){
|
|
18970
19071
|
'use strict';
|
|
18971
19072
|
/**
|
|
18972
19073
|
* Latency network quality statistics.
|
|
@@ -19000,7 +19101,7 @@ var NetworkQualityLatencyStats = /** @class */ (function () {
|
|
|
19000
19101
|
}());
|
|
19001
19102
|
module.exports = NetworkQualityLatencyStats;
|
|
19002
19103
|
|
|
19003
|
-
},{}],
|
|
19104
|
+
},{}],101:[function(require,module,exports){
|
|
19004
19105
|
'use strict';
|
|
19005
19106
|
var NetworkQualitySendStats = require('./networkqualitysendstats');
|
|
19006
19107
|
var NetworkQualityRecvStats = require('./networkqualityrecvstats');
|
|
@@ -19047,7 +19148,7 @@ var NetworkQualityMediaStats = /** @class */ (function () {
|
|
|
19047
19148
|
}());
|
|
19048
19149
|
module.exports = NetworkQualityMediaStats;
|
|
19049
19150
|
|
|
19050
|
-
},{"./networkqualityrecvstats":
|
|
19151
|
+
},{"./networkqualityrecvstats":102,"./networkqualitysendstats":104}],102:[function(require,module,exports){
|
|
19051
19152
|
'use strict';
|
|
19052
19153
|
var __extends = (this && this.__extends) || (function () {
|
|
19053
19154
|
var extendStatics = function (d, b) {
|
|
@@ -19082,7 +19183,7 @@ var NetworkQualityRecvStats = /** @class */ (function (_super) {
|
|
|
19082
19183
|
}(NetworkQualitySendOrRecvStats));
|
|
19083
19184
|
module.exports = NetworkQualityRecvStats;
|
|
19084
19185
|
|
|
19085
|
-
},{"./networkqualitysendorrecvstats":
|
|
19186
|
+
},{"./networkqualitysendorrecvstats":103}],103:[function(require,module,exports){
|
|
19086
19187
|
'use strict';
|
|
19087
19188
|
var NetworkQualityBandwidthStats = require('./networkqualitybandwidthstats');
|
|
19088
19189
|
var NetworkQualityFractionLostStats = require('./networkqualityfractionloststats');
|
|
@@ -19122,7 +19223,7 @@ var NetworkQualitySendOrRecvStats = /** @class */ (function () {
|
|
|
19122
19223
|
}());
|
|
19123
19224
|
module.exports = NetworkQualitySendOrRecvStats;
|
|
19124
19225
|
|
|
19125
|
-
},{"./networkqualitybandwidthstats":
|
|
19226
|
+
},{"./networkqualitybandwidthstats":98,"./networkqualityfractionloststats":99,"./networkqualitylatencystats":100}],104:[function(require,module,exports){
|
|
19126
19227
|
'use strict';
|
|
19127
19228
|
var __extends = (this && this.__extends) || (function () {
|
|
19128
19229
|
var extendStatics = function (d, b) {
|
|
@@ -19157,7 +19258,7 @@ var NetworkQualitySendStats = /** @class */ (function (_super) {
|
|
|
19157
19258
|
}(NetworkQualitySendOrRecvStats));
|
|
19158
19259
|
module.exports = NetworkQualitySendStats;
|
|
19159
19260
|
|
|
19160
|
-
},{"./networkqualitysendorrecvstats":
|
|
19261
|
+
},{"./networkqualitysendorrecvstats":103}],105:[function(require,module,exports){
|
|
19161
19262
|
'use strict';
|
|
19162
19263
|
var NetworkQualityAudioStats = require('./networkqualityaudiostats');
|
|
19163
19264
|
var NetworkQualityVideoStats = require('./networkqualityvideostats');
|
|
@@ -19197,7 +19298,7 @@ var NetworkQualityStats = /** @class */ (function () {
|
|
|
19197
19298
|
}());
|
|
19198
19299
|
module.exports = NetworkQualityStats;
|
|
19199
19300
|
|
|
19200
|
-
},{"./networkqualityaudiostats":
|
|
19301
|
+
},{"./networkqualityaudiostats":97,"./networkqualityvideostats":106}],106:[function(require,module,exports){
|
|
19201
19302
|
'use strict';
|
|
19202
19303
|
var __extends = (this && this.__extends) || (function () {
|
|
19203
19304
|
var extendStatics = function (d, b) {
|
|
@@ -19231,7 +19332,7 @@ var NetworkQualityVideoStats = /** @class */ (function (_super) {
|
|
|
19231
19332
|
}(NetworkQualityMediaStats));
|
|
19232
19333
|
module.exports = NetworkQualityVideoStats;
|
|
19233
19334
|
|
|
19234
|
-
},{"./networkqualitymediastats":
|
|
19335
|
+
},{"./networkqualitymediastats":101}],107:[function(require,module,exports){
|
|
19235
19336
|
'use strict';
|
|
19236
19337
|
var ReceiverReport = require('./receiverreport');
|
|
19237
19338
|
var SenderReport = require('./senderreport');
|
|
@@ -19309,7 +19410,7 @@ var PeerConnectionReport = /** @class */ (function () {
|
|
|
19309
19410
|
}());
|
|
19310
19411
|
module.exports = PeerConnectionReport;
|
|
19311
19412
|
|
|
19312
|
-
},{"./receiverreport":
|
|
19413
|
+
},{"./receiverreport":109,"./senderreport":116}],108:[function(require,module,exports){
|
|
19313
19414
|
'use strict';
|
|
19314
19415
|
var __read = (this && this.__read) || function (o, n) {
|
|
19315
19416
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -19739,7 +19840,7 @@ function updateChrome(factory) {
|
|
|
19739
19840
|
}
|
|
19740
19841
|
module.exports = PeerConnectionReportFactory;
|
|
19741
19842
|
|
|
19742
|
-
},{"../webrtc/util":
|
|
19843
|
+
},{"../webrtc/util":172,"./icereportfactory":93,"./peerconnectionreport":107,"./receiverreportfactory":110,"./senderreportfactory":117}],109:[function(require,module,exports){
|
|
19743
19844
|
'use strict';
|
|
19744
19845
|
var __extends = (this && this.__extends) || (function () {
|
|
19745
19846
|
var extendStatics = function (d, b) {
|
|
@@ -19865,7 +19966,7 @@ var ReceiverReport = /** @class */ (function (_super) {
|
|
|
19865
19966
|
}(SenderOrReceiverReport));
|
|
19866
19967
|
module.exports = ReceiverReport;
|
|
19867
19968
|
|
|
19868
|
-
},{"./average":
|
|
19969
|
+
},{"./average":91,"./senderorreceiverreport":114,"./sum":119}],110:[function(require,module,exports){
|
|
19869
19970
|
'use strict';
|
|
19870
19971
|
var __extends = (this && this.__extends) || (function () {
|
|
19871
19972
|
var extendStatics = function (d, b) {
|
|
@@ -19924,7 +20025,7 @@ var ReceiverReportFactory = /** @class */ (function (_super) {
|
|
|
19924
20025
|
}(SenderOrReceiverReportFactory));
|
|
19925
20026
|
module.exports = ReceiverReportFactory;
|
|
19926
20027
|
|
|
19927
|
-
},{"./receiverreport":
|
|
20028
|
+
},{"./receiverreport":109,"./senderorreceiverreportfactory":115}],111:[function(require,module,exports){
|
|
19928
20029
|
'use strict';
|
|
19929
20030
|
var __extends = (this && this.__extends) || (function () {
|
|
19930
20031
|
var extendStatics = function (d, b) {
|
|
@@ -19976,7 +20077,7 @@ var RemoteAudioTrackStats = /** @class */ (function (_super) {
|
|
|
19976
20077
|
}(RemoteTrackStats));
|
|
19977
20078
|
module.exports = RemoteAudioTrackStats;
|
|
19978
20079
|
|
|
19979
|
-
},{"./remotetrackstats":
|
|
20080
|
+
},{"./remotetrackstats":112}],112:[function(require,module,exports){
|
|
19980
20081
|
'use strict';
|
|
19981
20082
|
var __extends = (this && this.__extends) || (function () {
|
|
19982
20083
|
var extendStatics = function (d, b) {
|
|
@@ -20028,7 +20129,7 @@ var RemoteTrackStats = /** @class */ (function (_super) {
|
|
|
20028
20129
|
}(TrackStats));
|
|
20029
20130
|
module.exports = RemoteTrackStats;
|
|
20030
20131
|
|
|
20031
|
-
},{"./trackstats":
|
|
20132
|
+
},{"./trackstats":120}],113:[function(require,module,exports){
|
|
20032
20133
|
'use strict';
|
|
20033
20134
|
var __extends = (this && this.__extends) || (function () {
|
|
20034
20135
|
var extendStatics = function (d, b) {
|
|
@@ -20093,7 +20194,7 @@ var RemoteVideoTrackStats = /** @class */ (function (_super) {
|
|
|
20093
20194
|
}(RemoteTrackStats));
|
|
20094
20195
|
module.exports = RemoteVideoTrackStats;
|
|
20095
20196
|
|
|
20096
|
-
},{"./remotetrackstats":
|
|
20197
|
+
},{"./remotetrackstats":112}],114:[function(require,module,exports){
|
|
20097
20198
|
'use strict';
|
|
20098
20199
|
/**
|
|
20099
20200
|
* @property {StatsId} id
|
|
@@ -20127,7 +20228,7 @@ var SenderOrReceiverReport = /** @class */ (function () {
|
|
|
20127
20228
|
}());
|
|
20128
20229
|
module.exports = SenderOrReceiverReport;
|
|
20129
20230
|
|
|
20130
|
-
},{}],
|
|
20231
|
+
},{}],115:[function(require,module,exports){
|
|
20131
20232
|
'use strict';
|
|
20132
20233
|
/**
|
|
20133
20234
|
* @property {StatsId} id
|
|
@@ -20163,7 +20264,7 @@ var SenderOrReceiverReportFactory = /** @class */ (function () {
|
|
|
20163
20264
|
}());
|
|
20164
20265
|
module.exports = SenderOrReceiverReportFactory;
|
|
20165
20266
|
|
|
20166
|
-
},{}],
|
|
20267
|
+
},{}],116:[function(require,module,exports){
|
|
20167
20268
|
/* eslint no-undefined:0 */
|
|
20168
20269
|
'use strict';
|
|
20169
20270
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -20251,7 +20352,7 @@ var SenderReport = /** @class */ (function (_super) {
|
|
|
20251
20352
|
}(SenderOrReceiverReport));
|
|
20252
20353
|
module.exports = SenderReport;
|
|
20253
20354
|
|
|
20254
|
-
},{"./average":
|
|
20355
|
+
},{"./average":91,"./senderorreceiverreport":114,"./sum":119}],117:[function(require,module,exports){
|
|
20255
20356
|
'use strict';
|
|
20256
20357
|
var __extends = (this && this.__extends) || (function () {
|
|
20257
20358
|
var extendStatics = function (d, b) {
|
|
@@ -20310,7 +20411,7 @@ var SenderReportFactory = /** @class */ (function (_super) {
|
|
|
20310
20411
|
}(SenderOrReceiverReportFactory));
|
|
20311
20412
|
module.exports = SenderReportFactory;
|
|
20312
20413
|
|
|
20313
|
-
},{"./senderorreceiverreportfactory":
|
|
20414
|
+
},{"./senderorreceiverreportfactory":115,"./senderreport":116}],118:[function(require,module,exports){
|
|
20314
20415
|
'use strict';
|
|
20315
20416
|
var LocalAudioTrackStats = require('./localaudiotrackstats');
|
|
20316
20417
|
var LocalVideoTrackStats = require('./localvideotrackstats');
|
|
@@ -20361,7 +20462,7 @@ var StatsReport = /** @class */ (function () {
|
|
|
20361
20462
|
}());
|
|
20362
20463
|
module.exports = StatsReport;
|
|
20363
20464
|
|
|
20364
|
-
},{"./localaudiotrackstats":
|
|
20465
|
+
},{"./localaudiotrackstats":94,"./localvideotrackstats":96,"./remoteaudiotrackstats":111,"./remotevideotrackstats":113}],119:[function(require,module,exports){
|
|
20365
20466
|
'use strict';
|
|
20366
20467
|
/**
|
|
20367
20468
|
* @param {Array<number|undefined>} xs
|
|
@@ -20372,7 +20473,7 @@ function sum(xs) {
|
|
|
20372
20473
|
}
|
|
20373
20474
|
module.exports = sum;
|
|
20374
20475
|
|
|
20375
|
-
},{}],
|
|
20476
|
+
},{}],120:[function(require,module,exports){
|
|
20376
20477
|
'use strict';
|
|
20377
20478
|
/**
|
|
20378
20479
|
* Statistics for a {@link Track}.
|
|
@@ -20431,7 +20532,7 @@ var TrackStats = /** @class */ (function () {
|
|
|
20431
20532
|
}());
|
|
20432
20533
|
module.exports = TrackStats;
|
|
20433
20534
|
|
|
20434
|
-
},{}],
|
|
20535
|
+
},{}],121:[function(require,module,exports){
|
|
20435
20536
|
'use strict';
|
|
20436
20537
|
var __extends = (this && this.__extends) || (function () {
|
|
20437
20538
|
var extendStatics = function (d, b) {
|
|
@@ -20493,7 +20594,7 @@ var TrackTransceiver = /** @class */ (function (_super) {
|
|
|
20493
20594
|
*/
|
|
20494
20595
|
module.exports = TrackTransceiver;
|
|
20495
20596
|
|
|
20496
|
-
},{"./queueingeventemitter":56}],
|
|
20597
|
+
},{"./queueingeventemitter":56}],122:[function(require,module,exports){
|
|
20497
20598
|
'use strict';
|
|
20498
20599
|
var __extends = (this && this.__extends) || (function () {
|
|
20499
20600
|
var extendStatics = function (d, b) {
|
|
@@ -21149,7 +21250,7 @@ TwilioConnection.CloseReason = CloseReason;
|
|
|
21149
21250
|
*/
|
|
21150
21251
|
module.exports = TwilioConnection;
|
|
21151
21252
|
|
|
21152
|
-
},{"./statemachine":
|
|
21253
|
+
},{"./statemachine":90,"./util":134,"./util/log":138,"./util/networkmonitor":140,"./util/timeout":148,"ws":177}],123:[function(require,module,exports){
|
|
21153
21254
|
'use strict';
|
|
21154
21255
|
var defer = require('./').defer;
|
|
21155
21256
|
/**
|
|
@@ -21214,7 +21315,7 @@ var AsyncVar = /** @class */ (function () {
|
|
|
21214
21315
|
}());
|
|
21215
21316
|
module.exports = AsyncVar;
|
|
21216
21317
|
|
|
21217
|
-
},{"./":
|
|
21318
|
+
},{"./":134}],124:[function(require,module,exports){
|
|
21218
21319
|
/**
|
|
21219
21320
|
* Expose `Backoff`.
|
|
21220
21321
|
*/
|
|
@@ -21298,7 +21399,7 @@ var Backoff = /** @class */ (function () {
|
|
|
21298
21399
|
}());
|
|
21299
21400
|
module.exports = Backoff;
|
|
21300
21401
|
|
|
21301
|
-
},{}],
|
|
21402
|
+
},{}],125:[function(require,module,exports){
|
|
21302
21403
|
/* globals chrome, navigator */
|
|
21303
21404
|
'use strict';
|
|
21304
21405
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -21456,7 +21557,7 @@ module.exports = {
|
|
|
21456
21557
|
rebrandedChromeBrowser: rebrandedChromeBrowser
|
|
21457
21558
|
};
|
|
21458
21559
|
|
|
21459
|
-
},{}],
|
|
21560
|
+
},{}],126:[function(require,module,exports){
|
|
21460
21561
|
'use strict';
|
|
21461
21562
|
var __read = (this && this.__read) || function (o, n) {
|
|
21462
21563
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -21599,7 +21700,7 @@ var CancelablePromise = /** @class */ (function () {
|
|
|
21599
21700
|
}());
|
|
21600
21701
|
module.exports = CancelablePromise;
|
|
21601
21702
|
|
|
21602
|
-
},{}],
|
|
21703
|
+
},{}],127:[function(require,module,exports){
|
|
21603
21704
|
'use strict';
|
|
21604
21705
|
/* eslint-disable camelcase */
|
|
21605
21706
|
var packageInfo = require('../../package.json');
|
|
@@ -21701,7 +21802,7 @@ module.exports.videoContentPreferencesMode = {
|
|
|
21701
21802
|
MODE_MANUAL: 'manual'
|
|
21702
21803
|
};
|
|
21703
21804
|
|
|
21704
|
-
},{"../../package.json":
|
|
21805
|
+
},{"../../package.json":176}],128:[function(require,module,exports){
|
|
21705
21806
|
'use strict';
|
|
21706
21807
|
var detectSilence = require('../webaudio/detectsilence');
|
|
21707
21808
|
var N_ATTEMPTS = 3;
|
|
@@ -21742,7 +21843,7 @@ function detectSilentAudio(el) {
|
|
|
21742
21843
|
}
|
|
21743
21844
|
module.exports = detectSilentAudio;
|
|
21744
21845
|
|
|
21745
|
-
},{"../webaudio/audiocontext":
|
|
21846
|
+
},{"../webaudio/audiocontext":155,"../webaudio/detectsilence":156}],129:[function(require,module,exports){
|
|
21746
21847
|
'use strict';
|
|
21747
21848
|
// Cached copy of the <canvas> used to check silent video frames.
|
|
21748
21849
|
var canvas = null;
|
|
@@ -21801,7 +21902,7 @@ function detectSilentVideo(el) {
|
|
|
21801
21902
|
}
|
|
21802
21903
|
module.exports = detectSilentVideo;
|
|
21803
21904
|
|
|
21804
|
-
},{}],
|
|
21905
|
+
},{}],130:[function(require,module,exports){
|
|
21805
21906
|
'use strict';
|
|
21806
21907
|
/**
|
|
21807
21908
|
* The {@link DocumentVisibilityMonitor} monitors the visibility state of the DOM
|
|
@@ -21923,7 +22024,7 @@ var DocumentVisibilityMonitor = /** @class */ (function () {
|
|
|
21923
22024
|
}());
|
|
21924
22025
|
module.exports = new DocumentVisibilityMonitor(2);
|
|
21925
22026
|
|
|
21926
|
-
},{}],
|
|
22027
|
+
},{}],131:[function(require,module,exports){
|
|
21927
22028
|
'use strict';
|
|
21928
22029
|
module.exports = (function (scope) {
|
|
21929
22030
|
var location = scope.location, URL = scope.URL;
|
|
@@ -21946,7 +22047,7 @@ module.exports = (function (scope) {
|
|
|
21946
22047
|
};
|
|
21947
22048
|
}(globalThis));
|
|
21948
22049
|
|
|
21949
|
-
},{}],
|
|
22050
|
+
},{}],132:[function(require,module,exports){
|
|
21950
22051
|
/* eslint-disable no-console */
|
|
21951
22052
|
'use strict';
|
|
21952
22053
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -22044,7 +22145,7 @@ var EventObserver = /** @class */ (function (_super) {
|
|
|
22044
22145
|
*/
|
|
22045
22146
|
module.exports = EventObserver;
|
|
22046
22147
|
|
|
22047
|
-
},{"events":
|
|
22148
|
+
},{"events":175}],133:[function(require,module,exports){
|
|
22048
22149
|
'use strict';
|
|
22049
22150
|
var Filter = /** @class */ (function () {
|
|
22050
22151
|
function Filter(options) {
|
|
@@ -22088,7 +22189,7 @@ var Filter = /** @class */ (function () {
|
|
|
22088
22189
|
}());
|
|
22089
22190
|
module.exports = Filter;
|
|
22090
22191
|
|
|
22091
|
-
},{}],
|
|
22192
|
+
},{}],134:[function(require,module,exports){
|
|
22092
22193
|
'use strict';
|
|
22093
22194
|
var __extends = (this && this.__extends) || (function () {
|
|
22094
22195
|
var extendStatics = function (d, b) {
|
|
@@ -22808,7 +22909,7 @@ function createBandwidthProfileVideoPayload(bandwidthProfileVideo) {
|
|
|
22808
22909
|
* protocol or not.
|
|
22809
22910
|
* @returns {object}
|
|
22810
22911
|
*/
|
|
22811
|
-
function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPriority, trackSwitchOff, adaptiveSimulcast, renderHints) {
|
|
22912
|
+
function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPriority, trackSwitchOff, adaptiveSimulcast, renderHints, extensionTranscriptions) {
|
|
22812
22913
|
var transports = { transports: [{ type: 'data-channel' }] };
|
|
22813
22914
|
return Object.assign(dominantSpeaker
|
|
22814
22915
|
// eslint-disable-next-line
|
|
@@ -22828,6 +22929,9 @@ function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPrior
|
|
|
22828
22929
|
: {}, trackSwitchOff
|
|
22829
22930
|
// eslint-disable-next-line
|
|
22830
22931
|
? { track_switch_off: transports }
|
|
22932
|
+
: {}, extensionTranscriptions
|
|
22933
|
+
// eslint-disable-next-line
|
|
22934
|
+
? { extension_transcriptions: transports }
|
|
22831
22935
|
: {});
|
|
22832
22936
|
}
|
|
22833
22937
|
/**
|
|
@@ -22985,7 +23089,7 @@ exports.isChromeScreenShareTrack = isChromeScreenShareTrack;
|
|
|
22985
23089
|
exports.waitForSometime = waitForSometime;
|
|
22986
23090
|
exports.waitForEvent = waitForEvent;
|
|
22987
23091
|
|
|
22988
|
-
},{"../webrtc/util":
|
|
23092
|
+
},{"../webrtc/util":172,"./constants":127,"./sid":146,"./twiliowarning":151}],135:[function(require,module,exports){
|
|
22989
23093
|
/* eslint-disable camelcase */
|
|
22990
23094
|
'use strict';
|
|
22991
23095
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -23280,7 +23384,7 @@ function reconnect(publisher, token, sdkName, sdkVersion, roomSid, participantSi
|
|
|
23280
23384
|
*/
|
|
23281
23385
|
module.exports = InsightsPublisher;
|
|
23282
23386
|
|
|
23283
|
-
},{"..":
|
|
23387
|
+
},{"..":134,"../../util":134,"../browserdetection":125,"../constants":127,"events":175,"ws":177}],136:[function(require,module,exports){
|
|
23284
23388
|
// eslint-disable-next-line no-warning-comments
|
|
23285
23389
|
// TODO(mroberts): This should be described as implementing some
|
|
23286
23390
|
// InsightsPublisher interface.
|
|
@@ -23325,7 +23429,7 @@ var InsightsPublisher = /** @class */ (function () {
|
|
|
23325
23429
|
}());
|
|
23326
23430
|
module.exports = InsightsPublisher;
|
|
23327
23431
|
|
|
23328
|
-
},{}],
|
|
23432
|
+
},{}],137:[function(require,module,exports){
|
|
23329
23433
|
'use strict';
|
|
23330
23434
|
var defer = require('./').defer;
|
|
23331
23435
|
/**
|
|
@@ -23387,7 +23491,7 @@ var LocalMediaRestartDeferreds = /** @class */ (function () {
|
|
|
23387
23491
|
}());
|
|
23388
23492
|
module.exports = new LocalMediaRestartDeferreds();
|
|
23389
23493
|
|
|
23390
|
-
},{"./":
|
|
23494
|
+
},{"./":134}],138:[function(require,module,exports){
|
|
23391
23495
|
/* eslint new-cap:0 */
|
|
23392
23496
|
'use strict';
|
|
23393
23497
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -23674,7 +23778,7 @@ function validateLogLevels(levels) {
|
|
|
23674
23778
|
}
|
|
23675
23779
|
module.exports = Log;
|
|
23676
23780
|
|
|
23677
|
-
},{"../vendor/loglevel":
|
|
23781
|
+
},{"../vendor/loglevel":154,"./constants":127}],139:[function(require,module,exports){
|
|
23678
23782
|
'use strict';
|
|
23679
23783
|
/**
|
|
23680
23784
|
* Calculates the moving average delta for the given pair ofsamples. A sample (S)
|
|
@@ -23721,7 +23825,7 @@ var MovingAverageDelta = /** @class */ (function () {
|
|
|
23721
23825
|
}());
|
|
23722
23826
|
module.exports = MovingAverageDelta;
|
|
23723
23827
|
|
|
23724
|
-
},{}],
|
|
23828
|
+
},{}],140:[function(require,module,exports){
|
|
23725
23829
|
'use strict';
|
|
23726
23830
|
/**
|
|
23727
23831
|
* Monitor the network connection status to detect interruptions and handoffs.
|
|
@@ -23810,7 +23914,7 @@ var NetworkMonitor = /** @class */ (function () {
|
|
|
23810
23914
|
}());
|
|
23811
23915
|
module.exports = NetworkMonitor;
|
|
23812
23916
|
|
|
23813
|
-
},{}],
|
|
23917
|
+
},{}],141:[function(require,module,exports){
|
|
23814
23918
|
/* eslint-disable no-console */
|
|
23815
23919
|
'use strict';
|
|
23816
23920
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -23873,7 +23977,7 @@ var NullResizeObserver = /** @class */ (function (_super) {
|
|
|
23873
23977
|
}(NullObserver));
|
|
23874
23978
|
module.exports = { NullIntersectionObserver: NullIntersectionObserver, NullResizeObserver: NullResizeObserver, NullObserver: NullObserver };
|
|
23875
23979
|
|
|
23876
|
-
},{}],
|
|
23980
|
+
},{}],142:[function(require,module,exports){
|
|
23877
23981
|
'use strict';
|
|
23878
23982
|
var __read = (this && this.__read) || function (o, n) {
|
|
23879
23983
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -24411,7 +24515,7 @@ exports.revertSimulcast = revertSimulcast;
|
|
|
24411
24515
|
exports.setCodecPreferences = setCodecPreferences;
|
|
24412
24516
|
exports.setSimulcast = setSimulcast;
|
|
24413
24517
|
|
|
24414
|
-
},{"../":
|
|
24518
|
+
},{"../":134,"./simulcast":144}],143:[function(require,module,exports){
|
|
24415
24519
|
'use strict';
|
|
24416
24520
|
var RTCSessionDescription = require('../../webrtc').RTCSessionDescription;
|
|
24417
24521
|
var _a = require('./'), createPtToCodecName = _a.createPtToCodecName, getMediaSections = _a.getMediaSections;
|
|
@@ -24604,7 +24708,7 @@ function addFmtpAttributeForRtxPt(mediaSection, rtxPt, pt) {
|
|
|
24604
24708
|
}
|
|
24605
24709
|
module.exports = workaround;
|
|
24606
24710
|
|
|
24607
|
-
},{"../../webrtc":
|
|
24711
|
+
},{"../../webrtc":160,"./":142}],144:[function(require,module,exports){
|
|
24608
24712
|
'use strict';
|
|
24609
24713
|
var __read = (this && this.__read) || function (o, n) {
|
|
24610
24714
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -24867,7 +24971,7 @@ function setSimulcastInMediaSection(section, trackIdsToAttributes) {
|
|
|
24867
24971
|
*/
|
|
24868
24972
|
module.exports = setSimulcastInMediaSection;
|
|
24869
24973
|
|
|
24870
|
-
},{"../":
|
|
24974
|
+
},{"../":134}],145:[function(require,module,exports){
|
|
24871
24975
|
'use strict';
|
|
24872
24976
|
var getMediaSections = require('./').getMediaSections;
|
|
24873
24977
|
/**
|
|
@@ -24912,7 +25016,7 @@ var TrackMatcher = /** @class */ (function () {
|
|
|
24912
25016
|
}());
|
|
24913
25017
|
module.exports = TrackMatcher;
|
|
24914
25018
|
|
|
24915
|
-
},{"./":
|
|
25019
|
+
},{"./":142}],146:[function(require,module,exports){
|
|
24916
25020
|
var SID_CHARS = '1234567890abcdef';
|
|
24917
25021
|
var SID_CHAR_LENGTH = 32;
|
|
24918
25022
|
// copied from: https://code.hq.twilio.com/flex/monkey/blob/0fdce2b6c52d6be0b17a5cdb92f0c54f119b8ea8/src/client/lib/sid.ts#L39
|
|
@@ -24931,7 +25035,7 @@ function createSID(prefix) {
|
|
|
24931
25035
|
exports.sessionSID = createSID('SS');
|
|
24932
25036
|
exports.createSID = createSID;
|
|
24933
25037
|
|
|
24934
|
-
},{}],
|
|
25038
|
+
},{}],147:[function(require,module,exports){
|
|
24935
25039
|
'use strict';
|
|
24936
25040
|
var _a = require('../webrtc/util'), guessBrowser = _a.guessBrowser, isWebRTCSupported = _a.support;
|
|
24937
25041
|
var getSdpFormat = require('../webrtc/util/sdp').getSdpFormat;
|
|
@@ -24978,7 +25082,7 @@ function isSupported() {
|
|
|
24978
25082
|
}
|
|
24979
25083
|
module.exports = isSupported;
|
|
24980
25084
|
|
|
24981
|
-
},{"../webrtc/util":
|
|
25085
|
+
},{"../webrtc/util":172,"../webrtc/util/sdp":174,"./browserdetection":125}],148:[function(require,module,exports){
|
|
24982
25086
|
'use strict';
|
|
24983
25087
|
/**
|
|
24984
25088
|
* A {@link Timeout} represents a resettable and clearable timeout.
|
|
@@ -25073,7 +25177,7 @@ var Timeout = /** @class */ (function () {
|
|
|
25073
25177
|
}());
|
|
25074
25178
|
module.exports = Timeout;
|
|
25075
25179
|
|
|
25076
|
-
},{}],
|
|
25180
|
+
},{}],149:[function(require,module,exports){
|
|
25077
25181
|
// NOTE: Do not edit this file. This code is auto-generated. Contact the
|
|
25078
25182
|
// Twilio SDK Team for more information.
|
|
25079
25183
|
'use strict';
|
|
@@ -26097,7 +26201,7 @@ var ConfigurationAcquireTurnFailedError = /** @class */ (function (_super) {
|
|
|
26097
26201
|
exports.ConfigurationAcquireTurnFailedError = ConfigurationAcquireTurnFailedError;
|
|
26098
26202
|
Object.defineProperty(TwilioErrorByCode, 53501, { value: ConfigurationAcquireTurnFailedError });
|
|
26099
26203
|
|
|
26100
|
-
},{"./twilioerror":
|
|
26204
|
+
},{"./twilioerror":150}],150:[function(require,module,exports){
|
|
26101
26205
|
'use strict';
|
|
26102
26206
|
var __extends = (this && this.__extends) || (function () {
|
|
26103
26207
|
var extendStatics = function (d, b) {
|
|
@@ -26179,7 +26283,7 @@ var TwilioError = /** @class */ (function (_super) {
|
|
|
26179
26283
|
}(Error));
|
|
26180
26284
|
module.exports = TwilioError;
|
|
26181
26285
|
|
|
26182
|
-
},{}],
|
|
26286
|
+
},{}],151:[function(require,module,exports){
|
|
26183
26287
|
'use strict';
|
|
26184
26288
|
/**
|
|
26185
26289
|
* @private
|
|
@@ -26192,7 +26296,7 @@ var TwilioWarning = {
|
|
|
26192
26296
|
};
|
|
26193
26297
|
module.exports = TwilioWarning;
|
|
26194
26298
|
|
|
26195
|
-
},{}],
|
|
26299
|
+
},{}],152:[function(require,module,exports){
|
|
26196
26300
|
'use strict';
|
|
26197
26301
|
var isNonArrayObject = require('./').isNonArrayObject;
|
|
26198
26302
|
var _a = require('./constants'), E = _a.typeErrors, clientTrackSwitchOffControl = _a.clientTrackSwitchOffControl, videoContentPreferencesMode = _a.videoContentPreferencesMode, subscriptionMode = _a.subscriptionMode, trackPriority = _a.trackPriority, trackSwitchOffMode = _a.trackSwitchOffMode;
|
|
@@ -26309,7 +26413,7 @@ exports.validateBandwidthProfile = validateBandwidthProfile;
|
|
|
26309
26413
|
exports.validateLocalTrack = validateLocalTrack;
|
|
26310
26414
|
exports.validateObject = validateObject;
|
|
26311
26415
|
|
|
26312
|
-
},{"./":
|
|
26416
|
+
},{"./":134,"./constants":127}],153:[function(require,module,exports){
|
|
26313
26417
|
/**
|
|
26314
26418
|
* Copyright (c) 2011-2022 Isaac Z. Schlueter
|
|
26315
26419
|
* Licensed under the ISC License.
|
|
@@ -26344,7 +26448,7 @@ module.exports = function inherits(ctor, superCtor) {
|
|
|
26344
26448
|
}
|
|
26345
26449
|
};
|
|
26346
26450
|
|
|
26347
|
-
},{}],
|
|
26451
|
+
},{}],154:[function(require,module,exports){
|
|
26348
26452
|
/**
|
|
26349
26453
|
* Copyright (c) 2013 Tim Perry
|
|
26350
26454
|
* Licensed under the MIT license.
|
|
@@ -26584,7 +26688,7 @@ defaultLogger.getLoggers = function getLoggers() {
|
|
|
26584
26688
|
defaultLogger['default'] = defaultLogger;
|
|
26585
26689
|
module.exports = defaultLogger;
|
|
26586
26690
|
|
|
26587
|
-
},{}],
|
|
26691
|
+
},{}],155:[function(require,module,exports){
|
|
26588
26692
|
/* globals webkitAudioContext, AudioContext */
|
|
26589
26693
|
'use strict';
|
|
26590
26694
|
var NativeAudioContext = typeof AudioContext !== 'undefined'
|
|
@@ -26667,7 +26771,7 @@ var AudioContextFactory = /** @class */ (function () {
|
|
|
26667
26771
|
}());
|
|
26668
26772
|
module.exports = new AudioContextFactory();
|
|
26669
26773
|
|
|
26670
|
-
},{}],
|
|
26774
|
+
},{}],156:[function(require,module,exports){
|
|
26671
26775
|
'use strict';
|
|
26672
26776
|
/**
|
|
26673
26777
|
* Return a Promise that resolves after `timeout` milliseconds.
|
|
@@ -26720,7 +26824,7 @@ function detectSilence(audioContext, stream, timeout) {
|
|
|
26720
26824
|
}
|
|
26721
26825
|
module.exports = detectSilence;
|
|
26722
26826
|
|
|
26723
|
-
},{}],
|
|
26827
|
+
},{}],157:[function(require,module,exports){
|
|
26724
26828
|
'use strict';
|
|
26725
26829
|
var detectSilence = require('./detectsilence');
|
|
26726
26830
|
/**
|
|
@@ -26790,7 +26894,7 @@ to get a new one, but we\'ve run out of retries; returning it anyway.');
|
|
|
26790
26894
|
}
|
|
26791
26895
|
module.exports = workaround;
|
|
26792
26896
|
|
|
26793
|
-
},{"./audiocontext":
|
|
26897
|
+
},{"./audiocontext":155,"./detectsilence":156}],158:[function(require,module,exports){
|
|
26794
26898
|
'use strict';
|
|
26795
26899
|
var __values = (this && this.__values) || function(o) {
|
|
26796
26900
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -28040,7 +28144,7 @@ function standardizeFirefoxStats(response, _a) {
|
|
|
28040
28144
|
*/
|
|
28041
28145
|
module.exports = getStats;
|
|
28042
28146
|
|
|
28043
|
-
},{"./util":
|
|
28147
|
+
},{"./util":172,"./util/sdp":174}],159:[function(require,module,exports){
|
|
28044
28148
|
/* globals navigator */
|
|
28045
28149
|
'use strict';
|
|
28046
28150
|
/**
|
|
@@ -28064,7 +28168,7 @@ function getUserMedia(constraints) {
|
|
|
28064
28168
|
}
|
|
28065
28169
|
module.exports = getUserMedia;
|
|
28066
28170
|
|
|
28067
|
-
},{}],
|
|
28171
|
+
},{}],160:[function(require,module,exports){
|
|
28068
28172
|
'use strict';
|
|
28069
28173
|
var WebRTC = {};
|
|
28070
28174
|
Object.defineProperties(WebRTC, {
|
|
@@ -28099,7 +28203,7 @@ Object.defineProperties(WebRTC, {
|
|
|
28099
28203
|
});
|
|
28100
28204
|
module.exports = WebRTC;
|
|
28101
28205
|
|
|
28102
|
-
},{"./getstats":
|
|
28206
|
+
},{"./getstats":158,"./getusermedia":159,"./mediastream":161,"./mediastreamtrack":162,"./rtcicecandidate":163,"./rtcpeerconnection":166,"./rtcsessiondescription":171}],161:[function(require,module,exports){
|
|
28103
28207
|
/* globals MediaStream */
|
|
28104
28208
|
'use strict';
|
|
28105
28209
|
if (typeof MediaStream === 'function') {
|
|
@@ -28111,7 +28215,7 @@ else {
|
|
|
28111
28215
|
};
|
|
28112
28216
|
}
|
|
28113
28217
|
|
|
28114
|
-
},{}],
|
|
28218
|
+
},{}],162:[function(require,module,exports){
|
|
28115
28219
|
/* global MediaStreamTrack */
|
|
28116
28220
|
'use strict';
|
|
28117
28221
|
if (typeof MediaStreamTrack === 'function') {
|
|
@@ -28123,7 +28227,7 @@ else {
|
|
|
28123
28227
|
};
|
|
28124
28228
|
}
|
|
28125
28229
|
|
|
28126
|
-
},{}],
|
|
28230
|
+
},{}],163:[function(require,module,exports){
|
|
28127
28231
|
/* global RTCIceCandidate */
|
|
28128
28232
|
'use strict';
|
|
28129
28233
|
if (typeof RTCIceCandidate === 'function') {
|
|
@@ -28135,7 +28239,7 @@ else {
|
|
|
28135
28239
|
};
|
|
28136
28240
|
}
|
|
28137
28241
|
|
|
28138
|
-
},{}],
|
|
28242
|
+
},{}],164:[function(require,module,exports){
|
|
28139
28243
|
/* globals RTCDataChannel, RTCPeerConnection, RTCSessionDescription */
|
|
28140
28244
|
'use strict';
|
|
28141
28245
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -28699,7 +28803,7 @@ function updateTrackIdsToSSRCs(sdpFormat, tracksToSSRCs, sdp) {
|
|
|
28699
28803
|
}
|
|
28700
28804
|
module.exports = ChromeRTCPeerConnection;
|
|
28701
28805
|
|
|
28702
|
-
},{"../../eventtarget":11,"../mediastream":
|
|
28806
|
+
},{"../../eventtarget":11,"../mediastream":161,"../rtcrtpsender":168,"../rtcsessiondescription/chrome":169,"../util":172,"../util/latch":173,"../util/sdp":174}],165:[function(require,module,exports){
|
|
28703
28807
|
/* globals RTCPeerConnection */
|
|
28704
28808
|
'use strict';
|
|
28705
28809
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -29026,7 +29130,7 @@ function overwriteWithInitiallyNegotiatedDtlsRole(description, dtlsRole) {
|
|
|
29026
29130
|
}
|
|
29027
29131
|
module.exports = FirefoxRTCPeerConnection;
|
|
29028
29132
|
|
|
29029
|
-
},{"../../eventtarget":11,"../rtcsessiondescription/firefox":
|
|
29133
|
+
},{"../../eventtarget":11,"../rtcsessiondescription/firefox":170,"../util":172,"../util/sdp":174}],166:[function(require,module,exports){
|
|
29030
29134
|
'use strict';
|
|
29031
29135
|
if (typeof RTCPeerConnection === 'function') {
|
|
29032
29136
|
var guessBrowser = require('../util').guessBrowser;
|
|
@@ -29051,7 +29155,7 @@ else {
|
|
|
29051
29155
|
};
|
|
29052
29156
|
}
|
|
29053
29157
|
|
|
29054
|
-
},{"../util":
|
|
29158
|
+
},{"../util":172,"./chrome":164,"./firefox":165,"./safari":167}],167:[function(require,module,exports){
|
|
29055
29159
|
/* globals RTCPeerConnection, RTCSessionDescription */
|
|
29056
29160
|
'use strict';
|
|
29057
29161
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -29440,7 +29544,7 @@ function shimDataChannel(dataChannel) {
|
|
|
29440
29544
|
}
|
|
29441
29545
|
module.exports = SafariRTCPeerConnection;
|
|
29442
29546
|
|
|
29443
|
-
},{"../../eventtarget":11,"../util":
|
|
29547
|
+
},{"../../eventtarget":11,"../util":172,"../util/latch":173,"../util/sdp":174}],168:[function(require,module,exports){
|
|
29444
29548
|
'use strict';
|
|
29445
29549
|
/**
|
|
29446
29550
|
* RTCRtpSender shim.
|
|
@@ -29481,7 +29585,7 @@ var RTCRtpSenderShim = /** @class */ (function () {
|
|
|
29481
29585
|
// using the RTCRtpSender APIs.
|
|
29482
29586
|
module.exports = RTCRtpSenderShim;
|
|
29483
29587
|
|
|
29484
|
-
},{}],
|
|
29588
|
+
},{}],169:[function(require,module,exports){
|
|
29485
29589
|
/* globals RTCSessionDescription */
|
|
29486
29590
|
'use strict';
|
|
29487
29591
|
// This class wraps Chrome's RTCSessionDescription implementation. It provides
|
|
@@ -29525,12 +29629,12 @@ var ChromeRTCSessionDescription = /** @class */ (function () {
|
|
|
29525
29629
|
}());
|
|
29526
29630
|
module.exports = ChromeRTCSessionDescription;
|
|
29527
29631
|
|
|
29528
|
-
},{}],
|
|
29632
|
+
},{}],170:[function(require,module,exports){
|
|
29529
29633
|
/* globals RTCSessionDescription */
|
|
29530
29634
|
'use strict';
|
|
29531
29635
|
module.exports = RTCSessionDescription;
|
|
29532
29636
|
|
|
29533
|
-
},{}],
|
|
29637
|
+
},{}],171:[function(require,module,exports){
|
|
29534
29638
|
/* globals RTCSessionDescription */
|
|
29535
29639
|
'use strict';
|
|
29536
29640
|
if (typeof RTCSessionDescription === 'function') {
|
|
@@ -29553,7 +29657,7 @@ else {
|
|
|
29553
29657
|
};
|
|
29554
29658
|
}
|
|
29555
29659
|
|
|
29556
|
-
},{"../util":
|
|
29660
|
+
},{"../util":172,"./chrome":169,"./firefox":170}],172:[function(require,module,exports){
|
|
29557
29661
|
'use strict';
|
|
29558
29662
|
var __read = (this && this.__read) || function (o, n) {
|
|
29559
29663
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -29940,7 +30044,7 @@ exports.makeUUID = makeUUID;
|
|
|
29940
30044
|
exports.proxyProperties = proxyProperties;
|
|
29941
30045
|
exports.support = support;
|
|
29942
30046
|
|
|
29943
|
-
},{}],
|
|
30047
|
+
},{}],173:[function(require,module,exports){
|
|
29944
30048
|
'use strict';
|
|
29945
30049
|
var defer = require('./').defer;
|
|
29946
30050
|
var states = {
|
|
@@ -30047,7 +30151,7 @@ function createUnreachableStateError(from, to) {
|
|
|
30047
30151
|
}
|
|
30048
30152
|
module.exports = Latch;
|
|
30049
30153
|
|
|
30050
|
-
},{"./":
|
|
30154
|
+
},{"./":172}],174:[function(require,module,exports){
|
|
30051
30155
|
/* globals RTCPeerConnection, RTCRtpTransceiver */
|
|
30052
30156
|
'use strict';
|
|
30053
30157
|
var _a = require('./'), flatMap = _a.flatMap, guessBrowser = _a.guessBrowser;
|
|
@@ -30334,7 +30438,7 @@ exports.getUnifiedPlanSSRCs = getUnifiedPlanSSRCs;
|
|
|
30334
30438
|
exports.updatePlanBTrackIdsToSSRCs = updatePlanBTrackIdsToSSRCs;
|
|
30335
30439
|
exports.updateUnifiedPlanTrackIdsToSSRCs = updateUnifiedPlanTrackIdsToSSRCs;
|
|
30336
30440
|
|
|
30337
|
-
},{"./":
|
|
30441
|
+
},{"./":172}],175:[function(require,module,exports){
|
|
30338
30442
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
30339
30443
|
//
|
|
30340
30444
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -30833,12 +30937,12 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
30833
30937
|
}
|
|
30834
30938
|
}
|
|
30835
30939
|
|
|
30836
|
-
},{}],
|
|
30940
|
+
},{}],176:[function(require,module,exports){
|
|
30837
30941
|
module.exports={
|
|
30838
30942
|
"name": "twilio-video",
|
|
30839
30943
|
"title": "Twilio Video",
|
|
30840
30944
|
"description": "Twilio Video JavaScript Library",
|
|
30841
|
-
"version": "2.
|
|
30945
|
+
"version": "2.32.0",
|
|
30842
30946
|
"homepage": "https://twilio.com",
|
|
30843
30947
|
"author": "Mark Andrus Roberts <mroberts@twilio.com>",
|
|
30844
30948
|
"contributors": [
|
|
@@ -30997,7 +31101,7 @@ module.exports={
|
|
|
30997
31101
|
}
|
|
30998
31102
|
}
|
|
30999
31103
|
|
|
31000
|
-
},{}],
|
|
31104
|
+
},{}],177:[function(require,module,exports){
|
|
31001
31105
|
module.exports = WebSocket;
|
|
31002
31106
|
|
|
31003
31107
|
},{}]},{},[12]);
|