twilio-video 2.31.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/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/twilio-video.js +241 -150
- package/dist/twilio-video.min.js +22 -22
- package/es5/connect.js +3 -0
- package/es5/connect.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/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/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) {
|
|
@@ -6718,7 +6721,7 @@ function setupDocumentVisibilityTurnOff(removeVideoTrack) {
|
|
|
6718
6721
|
*/
|
|
6719
6722
|
module.exports = RemoteVideoTrack;
|
|
6720
6723
|
|
|
6721
|
-
},{"../../util/documentvisibilitymonitor.js":
|
|
6724
|
+
},{"../../util/documentvisibilitymonitor.js":130,"../../util/nullobserver.js":141,"../../util/timeout":148,"./remotemediatrack":36,"./videotrack":44}],39:[function(require,module,exports){
|
|
6722
6725
|
'use strict';
|
|
6723
6726
|
var __extends = (this && this.__extends) || (function () {
|
|
6724
6727
|
var extendStatics = function (d, b) {
|
|
@@ -7081,7 +7084,7 @@ var TrackPublication = /** @class */ (function (_super) {
|
|
|
7081
7084
|
*/
|
|
7082
7085
|
module.exports = TrackPublication;
|
|
7083
7086
|
|
|
7084
|
-
},{"../../eventemitter":10,"../../util":
|
|
7087
|
+
},{"../../eventemitter":10,"../../util":134,"../../util/constants":127,"../../util/log":138}],42:[function(require,module,exports){
|
|
7085
7088
|
'use strict';
|
|
7086
7089
|
var __extends = (this && this.__extends) || (function () {
|
|
7087
7090
|
var extendStatics = function (d, b) {
|
|
@@ -7148,7 +7151,7 @@ var MediaTrackTransceiver = /** @class */ (function (_super) {
|
|
|
7148
7151
|
}(TrackTransceiver));
|
|
7149
7152
|
module.exports = MediaTrackTransceiver;
|
|
7150
7153
|
|
|
7151
|
-
},{"../../transceiver":
|
|
7154
|
+
},{"../../transceiver":121}],43:[function(require,module,exports){
|
|
7152
7155
|
'use strict';
|
|
7153
7156
|
var __extends = (this && this.__extends) || (function () {
|
|
7154
7157
|
var extendStatics = function (d, b) {
|
|
@@ -7303,7 +7306,7 @@ var VideoProcessorEventObserver = /** @class */ (function (_super) {
|
|
|
7303
7306
|
}(EventEmitter));
|
|
7304
7307
|
module.exports = VideoProcessorEventObserver;
|
|
7305
7308
|
|
|
7306
|
-
},{"../../util/constants":
|
|
7309
|
+
},{"../../util/constants":127,"events":175}],44:[function(require,module,exports){
|
|
7307
7310
|
'use strict';
|
|
7308
7311
|
var __extends = (this && this.__extends) || (function () {
|
|
7309
7312
|
var extendStatics = function (d, b) {
|
|
@@ -7891,7 +7894,7 @@ function dimensionsChanged(track, elem) {
|
|
|
7891
7894
|
*/
|
|
7892
7895
|
module.exports = VideoTrack;
|
|
7893
7896
|
|
|
7894
|
-
},{"../../util/constants":
|
|
7897
|
+
},{"../../util/constants":127,"../../webrtc/util":172,"./capturevideoframes":15,"./mediatrack":29,"./videoprocessoreventobserver":43}],45:[function(require,module,exports){
|
|
7895
7898
|
'use strict';
|
|
7896
7899
|
var __extends = (this && this.__extends) || (function () {
|
|
7897
7900
|
var extendStatics = function (d, b) {
|
|
@@ -7990,7 +7993,7 @@ var NetworkQualityConfigurationImpl = /** @class */ (function (_super) {
|
|
|
7990
7993
|
}(EventEmitter));
|
|
7991
7994
|
module.exports = NetworkQualityConfigurationImpl;
|
|
7992
7995
|
|
|
7993
|
-
},{"./util":
|
|
7996
|
+
},{"./util":134,"./util/constants":127,"events":175}],46:[function(require,module,exports){
|
|
7994
7997
|
'use strict';
|
|
7995
7998
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
7996
7999
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -8145,7 +8148,7 @@ function createNoiseCancellationAudioProcessor(noiseCancellationOptions, log) {
|
|
|
8145
8148
|
}
|
|
8146
8149
|
exports.createNoiseCancellationAudioProcessor = createNoiseCancellationAudioProcessor;
|
|
8147
8150
|
|
|
8148
|
-
},{"./util/dynamicimport":
|
|
8151
|
+
},{"./util/dynamicimport":131,"./util/log":138}],47:[function(require,module,exports){
|
|
8149
8152
|
'use strict';
|
|
8150
8153
|
var __extends = (this && this.__extends) || (function () {
|
|
8151
8154
|
var extendStatics = function (d, b) {
|
|
@@ -8774,7 +8777,7 @@ function reemitTrackPublicationEvents(participant, publication) {
|
|
|
8774
8777
|
}
|
|
8775
8778
|
module.exports = Participant;
|
|
8776
8779
|
|
|
8777
|
-
},{"./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){
|
|
8778
8781
|
"use strict";
|
|
8779
8782
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8780
8783
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -8976,7 +8979,7 @@ function getTurnCredentials(token, wsServer) {
|
|
|
8976
8979
|
}
|
|
8977
8980
|
exports.getTurnCredentials = getTurnCredentials;
|
|
8978
8981
|
|
|
8979
|
-
},{"../twilioconnection.js":
|
|
8982
|
+
},{"../twilioconnection.js":122,"../util/constants":127,"../util/twilio-video-errors":149,"events":175}],50:[function(require,module,exports){
|
|
8980
8983
|
"use strict";
|
|
8981
8984
|
var __read = (this && this.__read) || function (o, n) {
|
|
8982
8985
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -9722,7 +9725,7 @@ function runPreflight(token, options) {
|
|
|
9722
9725
|
}
|
|
9723
9726
|
exports.runPreflight = runPreflight;
|
|
9724
9727
|
|
|
9725
|
-
},{"../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){
|
|
9726
9729
|
"use strict";
|
|
9727
9730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9728
9731
|
exports.syntheticAudio = void 0;
|
|
@@ -9745,7 +9748,7 @@ function syntheticAudio() {
|
|
|
9745
9748
|
}
|
|
9746
9749
|
exports.syntheticAudio = syntheticAudio;
|
|
9747
9750
|
|
|
9748
|
-
},{"../webaudio/audiocontext":
|
|
9751
|
+
},{"../webaudio/audiocontext":155}],54:[function(require,module,exports){
|
|
9749
9752
|
"use strict";
|
|
9750
9753
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9751
9754
|
exports.syntheticVideo = void 0;
|
|
@@ -9910,7 +9913,7 @@ var QueueingEventEmitter = /** @class */ (function (_super) {
|
|
|
9910
9913
|
}(EventEmitter));
|
|
9911
9914
|
module.exports = QueueingEventEmitter;
|
|
9912
9915
|
|
|
9913
|
-
},{"events":
|
|
9916
|
+
},{"events":175}],57:[function(require,module,exports){
|
|
9914
9917
|
'use strict';
|
|
9915
9918
|
var __extends = (this && this.__extends) || (function () {
|
|
9916
9919
|
var extendStatics = function (d, b) {
|
|
@@ -10256,6 +10259,7 @@ var nInstances = 0;
|
|
|
10256
10259
|
* @property {string} state - "connected", "reconnecting", or "disconnected"
|
|
10257
10260
|
* @throws {SignalingConnectionDisconnectedError}
|
|
10258
10261
|
* @emits Room#disconnected
|
|
10262
|
+
* @emits Room#transcription
|
|
10259
10263
|
* @emits Room#participantConnected
|
|
10260
10264
|
* @emits Room#participantDisconnected
|
|
10261
10265
|
* @emits Room#participantReconnected
|
|
@@ -10498,6 +10502,24 @@ function rewriteLocalTrackIds(room, trackStats) {
|
|
|
10498
10502
|
* });
|
|
10499
10503
|
* });
|
|
10500
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
|
+
*/
|
|
10501
10523
|
/**
|
|
10502
10524
|
* A {@link RemoteParticipant} joined the {@link Room}. In Large Group Rooms (Maximum
|
|
10503
10525
|
* Participants greater than 50), this event is raised only when a {@link RemoteParticipant}
|
|
@@ -10839,6 +10861,7 @@ function handleSignalingEvents(room, signaling) {
|
|
|
10839
10861
|
+ 'ParticipantSignalings that connect to the RoomSignaling');
|
|
10840
10862
|
signaling.on('participantConnected', connectParticipant.bind(null, room));
|
|
10841
10863
|
signaling.on('dominantSpeakerChanged', function () { return room.emit('dominantSpeakerChanged', room.dominantSpeaker); });
|
|
10864
|
+
signaling.on('transcription', function (data) { return room.emit('transcription', data); });
|
|
10842
10865
|
// Reemit state transition events from the RoomSignaling.
|
|
10843
10866
|
signaling.on('stateChanged', function stateChanged(state, error) {
|
|
10844
10867
|
log.info('Transitioned to state:', state);
|
|
@@ -10867,7 +10890,7 @@ function handleSignalingEvents(room, signaling) {
|
|
|
10867
10890
|
}
|
|
10868
10891
|
module.exports = Room;
|
|
10869
10892
|
|
|
10870
|
-
},{"./eventemitter":10,"./remoteparticipant":57,"./stats/statsreport":
|
|
10893
|
+
},{"./eventemitter":10,"./remoteparticipant":57,"./stats/statsreport":118,"./util":134}],59:[function(require,module,exports){
|
|
10871
10894
|
/* eslint consistent-return:0 */
|
|
10872
10895
|
'use strict';
|
|
10873
10896
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -11037,7 +11060,7 @@ var Signaling = /** @class */ (function (_super) {
|
|
|
11037
11060
|
}(StateMachine));
|
|
11038
11061
|
module.exports = Signaling;
|
|
11039
11062
|
|
|
11040
|
-
},{"../statemachine":
|
|
11063
|
+
},{"../statemachine":90,"./participant":62,"./room":66}],60:[function(require,module,exports){
|
|
11041
11064
|
'use strict';
|
|
11042
11065
|
var __extends = (this && this.__extends) || (function () {
|
|
11043
11066
|
var extendStatics = function (d, b) {
|
|
@@ -11482,7 +11505,7 @@ var ParticipantSignaling = /** @class */ (function (_super) {
|
|
|
11482
11505
|
*/
|
|
11483
11506
|
module.exports = ParticipantSignaling;
|
|
11484
11507
|
|
|
11485
|
-
},{"../statemachine":
|
|
11508
|
+
},{"../statemachine":90,"../stats/networkqualitystats":105}],63:[function(require,module,exports){
|
|
11486
11509
|
'use strict';
|
|
11487
11510
|
var __extends = (this && this.__extends) || (function () {
|
|
11488
11511
|
var extendStatics = function (d, b) {
|
|
@@ -11555,7 +11578,7 @@ var RecordingSignaling = /** @class */ (function (_super) {
|
|
|
11555
11578
|
*/
|
|
11556
11579
|
module.exports = RecordingSignaling;
|
|
11557
11580
|
|
|
11558
|
-
},{"events":
|
|
11581
|
+
},{"events":175}],64:[function(require,module,exports){
|
|
11559
11582
|
'use strict';
|
|
11560
11583
|
var __extends = (this && this.__extends) || (function () {
|
|
11561
11584
|
var extendStatics = function (d, b) {
|
|
@@ -11981,7 +12004,7 @@ function maybeUpdateState(roomSignaling) {
|
|
|
11981
12004
|
}
|
|
11982
12005
|
module.exports = RoomSignaling;
|
|
11983
12006
|
|
|
11984
|
-
},{"../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){
|
|
11985
12008
|
'use strict';
|
|
11986
12009
|
var __extends = (this && this.__extends) || (function () {
|
|
11987
12010
|
var extendStatics = function (d, b) {
|
|
@@ -12164,7 +12187,7 @@ var TrackSignaling = /** @class */ (function (_super) {
|
|
|
12164
12187
|
*/
|
|
12165
12188
|
module.exports = TrackSignaling;
|
|
12166
12189
|
|
|
12167
|
-
},{"events":
|
|
12190
|
+
},{"events":175}],68:[function(require,module,exports){
|
|
12168
12191
|
'use strict';
|
|
12169
12192
|
var CancelablePromise = require('../../util/cancelablepromise');
|
|
12170
12193
|
var DefaultPeerConnectionManager = require('./peerconnectionmanager');
|
|
@@ -12211,7 +12234,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12211
12234
|
throw error;
|
|
12212
12235
|
});
|
|
12213
12236
|
};
|
|
12214
|
-
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;
|
|
12215
12238
|
// decide which msp channels to request
|
|
12216
12239
|
// dominantSpeaker, networkQuality
|
|
12217
12240
|
var trackPriority = !!bandwidthProfile;
|
|
@@ -12222,6 +12245,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12222
12245
|
adaptiveSimulcast: adaptiveSimulcast,
|
|
12223
12246
|
automaticSubscription: automaticSubscription,
|
|
12224
12247
|
dominantSpeaker: dominantSpeaker,
|
|
12248
|
+
receiveTranscriptions: receiveTranscriptions,
|
|
12225
12249
|
environment: environment,
|
|
12226
12250
|
eventObserver: eventObserver,
|
|
12227
12251
|
loggerName: loggerName,
|
|
@@ -12281,7 +12305,7 @@ function createCancelableRoomSignalingPromise(token, wsServer, localParticipant,
|
|
|
12281
12305
|
}
|
|
12282
12306
|
module.exports = createCancelableRoomSignalingPromise;
|
|
12283
12307
|
|
|
12284
|
-
},{"../../util":
|
|
12308
|
+
},{"../../util":134,"../../util/cancelablepromise":126,"../../util/twilio-video-errors":149,"./peerconnectionmanager":79,"./room":85,"./twilioconnectiontransport":89}],69:[function(require,module,exports){
|
|
12285
12309
|
'use strict';
|
|
12286
12310
|
var __extends = (this && this.__extends) || (function () {
|
|
12287
12311
|
var extendStatics = function (d, b) {
|
|
@@ -12427,7 +12451,7 @@ var IceBox = /** @class */ (function () {
|
|
|
12427
12451
|
}());
|
|
12428
12452
|
module.exports = IceBox;
|
|
12429
12453
|
|
|
12430
|
-
},{"../../util/filter":
|
|
12454
|
+
},{"../../util/filter":133}],71:[function(require,module,exports){
|
|
12431
12455
|
'use strict';
|
|
12432
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;
|
|
12433
12457
|
/**
|
|
@@ -12570,7 +12594,7 @@ var IceConnectionMonitor = /** @class */ (function () {
|
|
|
12570
12594
|
}());
|
|
12571
12595
|
module.exports = IceConnectionMonitor;
|
|
12572
12596
|
|
|
12573
|
-
},{"../../util/constants":
|
|
12597
|
+
},{"../../util/constants":127}],72:[function(require,module,exports){
|
|
12574
12598
|
'use strict';
|
|
12575
12599
|
var __extends = (this && this.__extends) || (function () {
|
|
12576
12600
|
var extendStatics = function (d, b) {
|
|
@@ -12975,7 +12999,7 @@ var LocalParticipantV2 = /** @class */ (function (_super) {
|
|
|
12975
12999
|
*/
|
|
12976
13000
|
module.exports = LocalParticipantV2;
|
|
12977
13001
|
|
|
12978
|
-
},{"../../util":
|
|
13002
|
+
},{"../../util":134,"../../util/constants":127,"../../util/log":138,"../localparticipant":60,"./localtrackpublication":74}],74:[function(require,module,exports){
|
|
12979
13003
|
'use strict';
|
|
12980
13004
|
var __extends = (this && this.__extends) || (function () {
|
|
12981
13005
|
var extendStatics = function (d, b) {
|
|
@@ -13102,7 +13126,7 @@ var LocalTrackPublicationV2 = /** @class */ (function (_super) {
|
|
|
13102
13126
|
*/
|
|
13103
13127
|
module.exports = LocalTrackPublicationV2;
|
|
13104
13128
|
|
|
13105
|
-
},{"../../util/twilio-video-errors":
|
|
13129
|
+
},{"../../util/twilio-video-errors":149,"../../util/twiliowarning":151,"../localtrackpublication":61}],75:[function(require,module,exports){
|
|
13106
13130
|
/* eslint callback-return:0 */
|
|
13107
13131
|
'use strict';
|
|
13108
13132
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -13199,7 +13223,7 @@ var MediaSignaling = /** @class */ (function (_super) {
|
|
|
13199
13223
|
}(EventEmitter));
|
|
13200
13224
|
module.exports = MediaSignaling;
|
|
13201
13225
|
|
|
13202
|
-
},{"events":
|
|
13226
|
+
},{"events":175}],76:[function(require,module,exports){
|
|
13203
13227
|
/* eslint callback-return:0 */
|
|
13204
13228
|
'use strict';
|
|
13205
13229
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -13358,7 +13382,7 @@ function next(monitor) {
|
|
|
13358
13382
|
*/
|
|
13359
13383
|
module.exports = NetworkQualityMonitor;
|
|
13360
13384
|
|
|
13361
|
-
},{"../../stats/peerconnectionreportfactory":
|
|
13385
|
+
},{"../../stats/peerconnectionreportfactory":108,"events":175}],77:[function(require,module,exports){
|
|
13362
13386
|
'use strict';
|
|
13363
13387
|
var __extends = (this && this.__extends) || (function () {
|
|
13364
13388
|
var extendStatics = function (d, b) {
|
|
@@ -13623,7 +13647,7 @@ function createNetworkQualityInputsMessage(networkQualityInputs, networkQualityR
|
|
|
13623
13647
|
}
|
|
13624
13648
|
module.exports = NetworkQualitySignaling;
|
|
13625
13649
|
|
|
13626
|
-
},{"../../util/asyncvar":
|
|
13650
|
+
},{"../../util/asyncvar":123,"../../util/timeout":148,"./mediasignaling":75}],78:[function(require,module,exports){
|
|
13627
13651
|
'use strict';
|
|
13628
13652
|
var __extends = (this && this.__extends) || (function () {
|
|
13629
13653
|
var extendStatics = function (d, b) {
|
|
@@ -15501,7 +15525,7 @@ function setMaxBitrate(params, maxBitrate) {
|
|
|
15501
15525
|
}
|
|
15502
15526
|
module.exports = PeerConnectionV2;
|
|
15503
15527
|
|
|
15504
|
-
},{"../../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){
|
|
15505
15529
|
'use strict';
|
|
15506
15530
|
var __extends = (this && this.__extends) || (function () {
|
|
15507
15531
|
var extendStatics = function (d, b) {
|
|
@@ -16069,7 +16093,7 @@ function updateConnectionState(pcm) {
|
|
|
16069
16093
|
}
|
|
16070
16094
|
module.exports = PeerConnectionManager;
|
|
16071
16095
|
|
|
16072
|
-
},{"../../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){
|
|
16073
16097
|
/* eslint callback-return:0 */
|
|
16074
16098
|
'use strict';
|
|
16075
16099
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -16540,7 +16564,7 @@ var RenderHintsSignaling = /** @class */ (function (_super) {
|
|
|
16540
16564
|
}(MediaSignaling));
|
|
16541
16565
|
module.exports = RenderHintsSignaling;
|
|
16542
16566
|
|
|
16543
|
-
},{"../../util":
|
|
16567
|
+
},{"../../util":134,"../../util/timeout":148,"./mediasignaling":75}],85:[function(require,module,exports){
|
|
16544
16568
|
/* eslint-disable no-console */
|
|
16545
16569
|
'use strict';
|
|
16546
16570
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -16575,6 +16599,7 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
16575
16599
|
return ar;
|
|
16576
16600
|
};
|
|
16577
16601
|
var DominantSpeakerSignaling = require('./dominantspeakersignaling');
|
|
16602
|
+
var TranscriptionSignaling = require('./transcriptionsignaling');
|
|
16578
16603
|
var NetworkQualityMonitor = require('./networkqualitymonitor');
|
|
16579
16604
|
var NetworkQualitySignaling = require('./networkqualitysignaling');
|
|
16580
16605
|
var RecordingV2 = require('./recording');
|
|
@@ -16601,6 +16626,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16601
16626
|
}, initialState.options);
|
|
16602
16627
|
options = Object.assign({
|
|
16603
16628
|
DominantSpeakerSignaling: DominantSpeakerSignaling,
|
|
16629
|
+
TranscriptionSignaling: TranscriptionSignaling,
|
|
16604
16630
|
NetworkQualityMonitor: NetworkQualityMonitor,
|
|
16605
16631
|
NetworkQualitySignaling: NetworkQualitySignaling,
|
|
16606
16632
|
RecordingSignaling: RecordingV2,
|
|
@@ -16671,6 +16697,9 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16671
16697
|
_dominantSpeakerSignaling: {
|
|
16672
16698
|
value: new options.DominantSpeakerSignaling(getTrackReceiver, { log: log })
|
|
16673
16699
|
},
|
|
16700
|
+
_transcriptionSignaling: {
|
|
16701
|
+
value: new options.TranscriptionSignaling(getTrackReceiver, { log: log })
|
|
16702
|
+
},
|
|
16674
16703
|
_networkQualitySignaling: {
|
|
16675
16704
|
value: new options.NetworkQualitySignaling(getTrackReceiver, localParticipant.networkQualityConfiguration, { log: log })
|
|
16676
16705
|
},
|
|
@@ -16702,6 +16731,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16702
16731
|
});
|
|
16703
16732
|
_this._initTrackSwitchOffSignaling();
|
|
16704
16733
|
_this._initDominantSpeakerSignaling();
|
|
16734
|
+
_this._initTranscriptionSignaling();
|
|
16705
16735
|
_this._initNetworkQualityMonitorSignaling();
|
|
16706
16736
|
_this._initPublisherHintSignaling();
|
|
16707
16737
|
handleLocalParticipantEvents(_this, localParticipant);
|
|
@@ -16962,6 +16992,7 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
16962
16992
|
}
|
|
16963
16993
|
[
|
|
16964
16994
|
this._dominantSpeakerSignaling,
|
|
16995
|
+
this._transcriptionSignaling,
|
|
16965
16996
|
this._networkQualitySignaling,
|
|
16966
16997
|
this._trackPrioritySignaling,
|
|
16967
16998
|
this._trackSwitchOffSignaling,
|
|
@@ -17041,6 +17072,12 @@ var RoomV2 = /** @class */ (function (_super) {
|
|
|
17041
17072
|
var _this = this;
|
|
17042
17073
|
this._dominantSpeakerSignaling.on('updated', function () { return _this.setDominantSpeaker(_this._dominantSpeakerSignaling.loudestParticipantSid); });
|
|
17043
17074
|
};
|
|
17075
|
+
RoomV2.prototype._initTranscriptionSignaling = function () {
|
|
17076
|
+
var _this = this;
|
|
17077
|
+
this._transcriptionSignaling.on('transcription', function (data) {
|
|
17078
|
+
_this.emit('transcription', data);
|
|
17079
|
+
});
|
|
17080
|
+
};
|
|
17044
17081
|
RoomV2.prototype._initNetworkQualityMonitorSignaling = function () {
|
|
17045
17082
|
var _this = this;
|
|
17046
17083
|
this._networkQualitySignaling.on('ready', function () {
|
|
@@ -17398,7 +17435,7 @@ function replaceNullsWithDefaults(activeIceCandidatePair, peerConnectionId) {
|
|
|
17398
17435
|
}
|
|
17399
17436
|
module.exports = RoomV2;
|
|
17400
17437
|
|
|
17401
|
-
},{"../../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){
|
|
17402
17439
|
'use strict';
|
|
17403
17440
|
var __extends = (this && this.__extends) || (function () {
|
|
17404
17441
|
var extendStatics = function (d, b) {
|
|
@@ -17539,6 +17576,54 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17539
17576
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17540
17577
|
};
|
|
17541
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
|
+
})();
|
|
17542
17627
|
var StateMachine = require('../../statemachine');
|
|
17543
17628
|
var TwilioConnection = require('../../twilioconnection');
|
|
17544
17629
|
var DefaultBackoff = require('../../util/backoff');
|
|
@@ -17621,6 +17706,9 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17621
17706
|
_accessToken: {
|
|
17622
17707
|
value: accessToken
|
|
17623
17708
|
},
|
|
17709
|
+
_adaptiveSimulcast: {
|
|
17710
|
+
value: options.adaptiveSimulcast
|
|
17711
|
+
},
|
|
17624
17712
|
_automaticSubscription: {
|
|
17625
17713
|
value: options.automaticSubscription
|
|
17626
17714
|
},
|
|
@@ -17630,8 +17718,8 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17630
17718
|
_dominantSpeaker: {
|
|
17631
17719
|
value: options.dominantSpeaker
|
|
17632
17720
|
},
|
|
17633
|
-
|
|
17634
|
-
value: options.
|
|
17721
|
+
_receiveTranscriptions: {
|
|
17722
|
+
value: options.receiveTranscriptions
|
|
17635
17723
|
},
|
|
17636
17724
|
_eventObserver: {
|
|
17637
17725
|
value: options.eventObserver,
|
|
@@ -17744,7 +17832,7 @@ var TwilioConnectionTransport = /** @class */ (function (_super) {
|
|
|
17744
17832
|
if (this._notifyWarnings) {
|
|
17745
17833
|
message.participant.media_warnings = createMediaWarningsPayload(this._notifyWarnings);
|
|
17746
17834
|
}
|
|
17747
|
-
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);
|
|
17748
17836
|
message.subscribe = createSubscribePayload(this._automaticSubscription);
|
|
17749
17837
|
message.format = SDP_FORMAT;
|
|
17750
17838
|
message.token = this._accessToken;
|
|
@@ -18109,7 +18197,7 @@ function setupTransport(transport) {
|
|
|
18109
18197
|
}
|
|
18110
18198
|
module.exports = TwilioConnectionTransport;
|
|
18111
18199
|
|
|
18112
|
-
},{"../../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){
|
|
18113
18201
|
'use strict';
|
|
18114
18202
|
var __extends = (this && this.__extends) || (function () {
|
|
18115
18203
|
var extendStatics = function (d, b) {
|
|
@@ -18555,7 +18643,7 @@ function createUnreachableError(here, there) {
|
|
|
18555
18643
|
}
|
|
18556
18644
|
module.exports = StateMachine;
|
|
18557
18645
|
|
|
18558
|
-
},{"./util":
|
|
18646
|
+
},{"./util":134,"events":175}],91:[function(require,module,exports){
|
|
18559
18647
|
/* eslint no-undefined:0 */
|
|
18560
18648
|
'use strict';
|
|
18561
18649
|
/**
|
|
@@ -18568,7 +18656,7 @@ function average(xs) {
|
|
|
18568
18656
|
}
|
|
18569
18657
|
module.exports = average;
|
|
18570
18658
|
|
|
18571
|
-
},{}],
|
|
18659
|
+
},{}],92:[function(require,module,exports){
|
|
18572
18660
|
'use strict';
|
|
18573
18661
|
/**
|
|
18574
18662
|
* @property {number} [availableSend] - bps (undefined in Firefox)
|
|
@@ -18626,7 +18714,7 @@ var IceReport = /** @class */ (function () {
|
|
|
18626
18714
|
}());
|
|
18627
18715
|
module.exports = IceReport;
|
|
18628
18716
|
|
|
18629
|
-
},{}],
|
|
18717
|
+
},{}],93:[function(require,module,exports){
|
|
18630
18718
|
'use strict';
|
|
18631
18719
|
var IceReport = require('./icereport');
|
|
18632
18720
|
/**
|
|
@@ -18671,7 +18759,7 @@ var IceReportFactory = /** @class */ (function () {
|
|
|
18671
18759
|
}());
|
|
18672
18760
|
module.exports = IceReportFactory;
|
|
18673
18761
|
|
|
18674
|
-
},{"./icereport":
|
|
18762
|
+
},{"./icereport":92}],94:[function(require,module,exports){
|
|
18675
18763
|
'use strict';
|
|
18676
18764
|
var __extends = (this && this.__extends) || (function () {
|
|
18677
18765
|
var extendStatics = function (d, b) {
|
|
@@ -18729,7 +18817,7 @@ var LocalAudioTrackStats = /** @class */ (function (_super) {
|
|
|
18729
18817
|
*/
|
|
18730
18818
|
module.exports = LocalAudioTrackStats;
|
|
18731
18819
|
|
|
18732
|
-
},{"./localtrackstats":
|
|
18820
|
+
},{"./localtrackstats":95}],95:[function(require,module,exports){
|
|
18733
18821
|
'use strict';
|
|
18734
18822
|
var __extends = (this && this.__extends) || (function () {
|
|
18735
18823
|
var extendStatics = function (d, b) {
|
|
@@ -18789,7 +18877,7 @@ var LocalTrackStats = /** @class */ (function (_super) {
|
|
|
18789
18877
|
}(TrackStats));
|
|
18790
18878
|
module.exports = LocalTrackStats;
|
|
18791
18879
|
|
|
18792
|
-
},{"./trackstats":
|
|
18880
|
+
},{"./trackstats":120}],96:[function(require,module,exports){
|
|
18793
18881
|
'use strict';
|
|
18794
18882
|
var __extends = (this && this.__extends) || (function () {
|
|
18795
18883
|
var extendStatics = function (d, b) {
|
|
@@ -18882,7 +18970,7 @@ var LocalVideoTrackStats = /** @class */ (function (_super) {
|
|
|
18882
18970
|
}(LocalTrackStats));
|
|
18883
18971
|
module.exports = LocalVideoTrackStats;
|
|
18884
18972
|
|
|
18885
|
-
},{"./localtrackstats":
|
|
18973
|
+
},{"./localtrackstats":95}],97:[function(require,module,exports){
|
|
18886
18974
|
'use strict';
|
|
18887
18975
|
var __extends = (this && this.__extends) || (function () {
|
|
18888
18976
|
var extendStatics = function (d, b) {
|
|
@@ -18916,7 +19004,7 @@ var NetworkQualityAudioStats = /** @class */ (function (_super) {
|
|
|
18916
19004
|
}(NetworkQualityMediaStats));
|
|
18917
19005
|
module.exports = NetworkQualityAudioStats;
|
|
18918
19006
|
|
|
18919
|
-
},{"./networkqualitymediastats":
|
|
19007
|
+
},{"./networkqualitymediastats":101}],98:[function(require,module,exports){
|
|
18920
19008
|
'use strict';
|
|
18921
19009
|
/**
|
|
18922
19010
|
* Bandwidth network quality statistics.
|
|
@@ -18950,7 +19038,7 @@ var NetworkQualityBandwidthStats = /** @class */ (function () {
|
|
|
18950
19038
|
}());
|
|
18951
19039
|
module.exports = NetworkQualityBandwidthStats;
|
|
18952
19040
|
|
|
18953
|
-
},{}],
|
|
19041
|
+
},{}],99:[function(require,module,exports){
|
|
18954
19042
|
'use strict';
|
|
18955
19043
|
/**
|
|
18956
19044
|
* Fraction lost network quality statistics.
|
|
@@ -18979,7 +19067,7 @@ var NetworkQualityFractionLostStats = /** @class */ (function () {
|
|
|
18979
19067
|
}());
|
|
18980
19068
|
module.exports = NetworkQualityFractionLostStats;
|
|
18981
19069
|
|
|
18982
|
-
},{}],
|
|
19070
|
+
},{}],100:[function(require,module,exports){
|
|
18983
19071
|
'use strict';
|
|
18984
19072
|
/**
|
|
18985
19073
|
* Latency network quality statistics.
|
|
@@ -19013,7 +19101,7 @@ var NetworkQualityLatencyStats = /** @class */ (function () {
|
|
|
19013
19101
|
}());
|
|
19014
19102
|
module.exports = NetworkQualityLatencyStats;
|
|
19015
19103
|
|
|
19016
|
-
},{}],
|
|
19104
|
+
},{}],101:[function(require,module,exports){
|
|
19017
19105
|
'use strict';
|
|
19018
19106
|
var NetworkQualitySendStats = require('./networkqualitysendstats');
|
|
19019
19107
|
var NetworkQualityRecvStats = require('./networkqualityrecvstats');
|
|
@@ -19060,7 +19148,7 @@ var NetworkQualityMediaStats = /** @class */ (function () {
|
|
|
19060
19148
|
}());
|
|
19061
19149
|
module.exports = NetworkQualityMediaStats;
|
|
19062
19150
|
|
|
19063
|
-
},{"./networkqualityrecvstats":
|
|
19151
|
+
},{"./networkqualityrecvstats":102,"./networkqualitysendstats":104}],102:[function(require,module,exports){
|
|
19064
19152
|
'use strict';
|
|
19065
19153
|
var __extends = (this && this.__extends) || (function () {
|
|
19066
19154
|
var extendStatics = function (d, b) {
|
|
@@ -19095,7 +19183,7 @@ var NetworkQualityRecvStats = /** @class */ (function (_super) {
|
|
|
19095
19183
|
}(NetworkQualitySendOrRecvStats));
|
|
19096
19184
|
module.exports = NetworkQualityRecvStats;
|
|
19097
19185
|
|
|
19098
|
-
},{"./networkqualitysendorrecvstats":
|
|
19186
|
+
},{"./networkqualitysendorrecvstats":103}],103:[function(require,module,exports){
|
|
19099
19187
|
'use strict';
|
|
19100
19188
|
var NetworkQualityBandwidthStats = require('./networkqualitybandwidthstats');
|
|
19101
19189
|
var NetworkQualityFractionLostStats = require('./networkqualityfractionloststats');
|
|
@@ -19135,7 +19223,7 @@ var NetworkQualitySendOrRecvStats = /** @class */ (function () {
|
|
|
19135
19223
|
}());
|
|
19136
19224
|
module.exports = NetworkQualitySendOrRecvStats;
|
|
19137
19225
|
|
|
19138
|
-
},{"./networkqualitybandwidthstats":
|
|
19226
|
+
},{"./networkqualitybandwidthstats":98,"./networkqualityfractionloststats":99,"./networkqualitylatencystats":100}],104:[function(require,module,exports){
|
|
19139
19227
|
'use strict';
|
|
19140
19228
|
var __extends = (this && this.__extends) || (function () {
|
|
19141
19229
|
var extendStatics = function (d, b) {
|
|
@@ -19170,7 +19258,7 @@ var NetworkQualitySendStats = /** @class */ (function (_super) {
|
|
|
19170
19258
|
}(NetworkQualitySendOrRecvStats));
|
|
19171
19259
|
module.exports = NetworkQualitySendStats;
|
|
19172
19260
|
|
|
19173
|
-
},{"./networkqualitysendorrecvstats":
|
|
19261
|
+
},{"./networkqualitysendorrecvstats":103}],105:[function(require,module,exports){
|
|
19174
19262
|
'use strict';
|
|
19175
19263
|
var NetworkQualityAudioStats = require('./networkqualityaudiostats');
|
|
19176
19264
|
var NetworkQualityVideoStats = require('./networkqualityvideostats');
|
|
@@ -19210,7 +19298,7 @@ var NetworkQualityStats = /** @class */ (function () {
|
|
|
19210
19298
|
}());
|
|
19211
19299
|
module.exports = NetworkQualityStats;
|
|
19212
19300
|
|
|
19213
|
-
},{"./networkqualityaudiostats":
|
|
19301
|
+
},{"./networkqualityaudiostats":97,"./networkqualityvideostats":106}],106:[function(require,module,exports){
|
|
19214
19302
|
'use strict';
|
|
19215
19303
|
var __extends = (this && this.__extends) || (function () {
|
|
19216
19304
|
var extendStatics = function (d, b) {
|
|
@@ -19244,7 +19332,7 @@ var NetworkQualityVideoStats = /** @class */ (function (_super) {
|
|
|
19244
19332
|
}(NetworkQualityMediaStats));
|
|
19245
19333
|
module.exports = NetworkQualityVideoStats;
|
|
19246
19334
|
|
|
19247
|
-
},{"./networkqualitymediastats":
|
|
19335
|
+
},{"./networkqualitymediastats":101}],107:[function(require,module,exports){
|
|
19248
19336
|
'use strict';
|
|
19249
19337
|
var ReceiverReport = require('./receiverreport');
|
|
19250
19338
|
var SenderReport = require('./senderreport');
|
|
@@ -19322,7 +19410,7 @@ var PeerConnectionReport = /** @class */ (function () {
|
|
|
19322
19410
|
}());
|
|
19323
19411
|
module.exports = PeerConnectionReport;
|
|
19324
19412
|
|
|
19325
|
-
},{"./receiverreport":
|
|
19413
|
+
},{"./receiverreport":109,"./senderreport":116}],108:[function(require,module,exports){
|
|
19326
19414
|
'use strict';
|
|
19327
19415
|
var __read = (this && this.__read) || function (o, n) {
|
|
19328
19416
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -19752,7 +19840,7 @@ function updateChrome(factory) {
|
|
|
19752
19840
|
}
|
|
19753
19841
|
module.exports = PeerConnectionReportFactory;
|
|
19754
19842
|
|
|
19755
|
-
},{"../webrtc/util":
|
|
19843
|
+
},{"../webrtc/util":172,"./icereportfactory":93,"./peerconnectionreport":107,"./receiverreportfactory":110,"./senderreportfactory":117}],109:[function(require,module,exports){
|
|
19756
19844
|
'use strict';
|
|
19757
19845
|
var __extends = (this && this.__extends) || (function () {
|
|
19758
19846
|
var extendStatics = function (d, b) {
|
|
@@ -19878,7 +19966,7 @@ var ReceiverReport = /** @class */ (function (_super) {
|
|
|
19878
19966
|
}(SenderOrReceiverReport));
|
|
19879
19967
|
module.exports = ReceiverReport;
|
|
19880
19968
|
|
|
19881
|
-
},{"./average":
|
|
19969
|
+
},{"./average":91,"./senderorreceiverreport":114,"./sum":119}],110:[function(require,module,exports){
|
|
19882
19970
|
'use strict';
|
|
19883
19971
|
var __extends = (this && this.__extends) || (function () {
|
|
19884
19972
|
var extendStatics = function (d, b) {
|
|
@@ -19937,7 +20025,7 @@ var ReceiverReportFactory = /** @class */ (function (_super) {
|
|
|
19937
20025
|
}(SenderOrReceiverReportFactory));
|
|
19938
20026
|
module.exports = ReceiverReportFactory;
|
|
19939
20027
|
|
|
19940
|
-
},{"./receiverreport":
|
|
20028
|
+
},{"./receiverreport":109,"./senderorreceiverreportfactory":115}],111:[function(require,module,exports){
|
|
19941
20029
|
'use strict';
|
|
19942
20030
|
var __extends = (this && this.__extends) || (function () {
|
|
19943
20031
|
var extendStatics = function (d, b) {
|
|
@@ -19989,7 +20077,7 @@ var RemoteAudioTrackStats = /** @class */ (function (_super) {
|
|
|
19989
20077
|
}(RemoteTrackStats));
|
|
19990
20078
|
module.exports = RemoteAudioTrackStats;
|
|
19991
20079
|
|
|
19992
|
-
},{"./remotetrackstats":
|
|
20080
|
+
},{"./remotetrackstats":112}],112:[function(require,module,exports){
|
|
19993
20081
|
'use strict';
|
|
19994
20082
|
var __extends = (this && this.__extends) || (function () {
|
|
19995
20083
|
var extendStatics = function (d, b) {
|
|
@@ -20041,7 +20129,7 @@ var RemoteTrackStats = /** @class */ (function (_super) {
|
|
|
20041
20129
|
}(TrackStats));
|
|
20042
20130
|
module.exports = RemoteTrackStats;
|
|
20043
20131
|
|
|
20044
|
-
},{"./trackstats":
|
|
20132
|
+
},{"./trackstats":120}],113:[function(require,module,exports){
|
|
20045
20133
|
'use strict';
|
|
20046
20134
|
var __extends = (this && this.__extends) || (function () {
|
|
20047
20135
|
var extendStatics = function (d, b) {
|
|
@@ -20106,7 +20194,7 @@ var RemoteVideoTrackStats = /** @class */ (function (_super) {
|
|
|
20106
20194
|
}(RemoteTrackStats));
|
|
20107
20195
|
module.exports = RemoteVideoTrackStats;
|
|
20108
20196
|
|
|
20109
|
-
},{"./remotetrackstats":
|
|
20197
|
+
},{"./remotetrackstats":112}],114:[function(require,module,exports){
|
|
20110
20198
|
'use strict';
|
|
20111
20199
|
/**
|
|
20112
20200
|
* @property {StatsId} id
|
|
@@ -20140,7 +20228,7 @@ var SenderOrReceiverReport = /** @class */ (function () {
|
|
|
20140
20228
|
}());
|
|
20141
20229
|
module.exports = SenderOrReceiverReport;
|
|
20142
20230
|
|
|
20143
|
-
},{}],
|
|
20231
|
+
},{}],115:[function(require,module,exports){
|
|
20144
20232
|
'use strict';
|
|
20145
20233
|
/**
|
|
20146
20234
|
* @property {StatsId} id
|
|
@@ -20176,7 +20264,7 @@ var SenderOrReceiverReportFactory = /** @class */ (function () {
|
|
|
20176
20264
|
}());
|
|
20177
20265
|
module.exports = SenderOrReceiverReportFactory;
|
|
20178
20266
|
|
|
20179
|
-
},{}],
|
|
20267
|
+
},{}],116:[function(require,module,exports){
|
|
20180
20268
|
/* eslint no-undefined:0 */
|
|
20181
20269
|
'use strict';
|
|
20182
20270
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -20264,7 +20352,7 @@ var SenderReport = /** @class */ (function (_super) {
|
|
|
20264
20352
|
}(SenderOrReceiverReport));
|
|
20265
20353
|
module.exports = SenderReport;
|
|
20266
20354
|
|
|
20267
|
-
},{"./average":
|
|
20355
|
+
},{"./average":91,"./senderorreceiverreport":114,"./sum":119}],117:[function(require,module,exports){
|
|
20268
20356
|
'use strict';
|
|
20269
20357
|
var __extends = (this && this.__extends) || (function () {
|
|
20270
20358
|
var extendStatics = function (d, b) {
|
|
@@ -20323,7 +20411,7 @@ var SenderReportFactory = /** @class */ (function (_super) {
|
|
|
20323
20411
|
}(SenderOrReceiverReportFactory));
|
|
20324
20412
|
module.exports = SenderReportFactory;
|
|
20325
20413
|
|
|
20326
|
-
},{"./senderorreceiverreportfactory":
|
|
20414
|
+
},{"./senderorreceiverreportfactory":115,"./senderreport":116}],118:[function(require,module,exports){
|
|
20327
20415
|
'use strict';
|
|
20328
20416
|
var LocalAudioTrackStats = require('./localaudiotrackstats');
|
|
20329
20417
|
var LocalVideoTrackStats = require('./localvideotrackstats');
|
|
@@ -20374,7 +20462,7 @@ var StatsReport = /** @class */ (function () {
|
|
|
20374
20462
|
}());
|
|
20375
20463
|
module.exports = StatsReport;
|
|
20376
20464
|
|
|
20377
|
-
},{"./localaudiotrackstats":
|
|
20465
|
+
},{"./localaudiotrackstats":94,"./localvideotrackstats":96,"./remoteaudiotrackstats":111,"./remotevideotrackstats":113}],119:[function(require,module,exports){
|
|
20378
20466
|
'use strict';
|
|
20379
20467
|
/**
|
|
20380
20468
|
* @param {Array<number|undefined>} xs
|
|
@@ -20385,7 +20473,7 @@ function sum(xs) {
|
|
|
20385
20473
|
}
|
|
20386
20474
|
module.exports = sum;
|
|
20387
20475
|
|
|
20388
|
-
},{}],
|
|
20476
|
+
},{}],120:[function(require,module,exports){
|
|
20389
20477
|
'use strict';
|
|
20390
20478
|
/**
|
|
20391
20479
|
* Statistics for a {@link Track}.
|
|
@@ -20444,7 +20532,7 @@ var TrackStats = /** @class */ (function () {
|
|
|
20444
20532
|
}());
|
|
20445
20533
|
module.exports = TrackStats;
|
|
20446
20534
|
|
|
20447
|
-
},{}],
|
|
20535
|
+
},{}],121:[function(require,module,exports){
|
|
20448
20536
|
'use strict';
|
|
20449
20537
|
var __extends = (this && this.__extends) || (function () {
|
|
20450
20538
|
var extendStatics = function (d, b) {
|
|
@@ -20506,7 +20594,7 @@ var TrackTransceiver = /** @class */ (function (_super) {
|
|
|
20506
20594
|
*/
|
|
20507
20595
|
module.exports = TrackTransceiver;
|
|
20508
20596
|
|
|
20509
|
-
},{"./queueingeventemitter":56}],
|
|
20597
|
+
},{"./queueingeventemitter":56}],122:[function(require,module,exports){
|
|
20510
20598
|
'use strict';
|
|
20511
20599
|
var __extends = (this && this.__extends) || (function () {
|
|
20512
20600
|
var extendStatics = function (d, b) {
|
|
@@ -21162,7 +21250,7 @@ TwilioConnection.CloseReason = CloseReason;
|
|
|
21162
21250
|
*/
|
|
21163
21251
|
module.exports = TwilioConnection;
|
|
21164
21252
|
|
|
21165
|
-
},{"./statemachine":
|
|
21253
|
+
},{"./statemachine":90,"./util":134,"./util/log":138,"./util/networkmonitor":140,"./util/timeout":148,"ws":177}],123:[function(require,module,exports){
|
|
21166
21254
|
'use strict';
|
|
21167
21255
|
var defer = require('./').defer;
|
|
21168
21256
|
/**
|
|
@@ -21227,7 +21315,7 @@ var AsyncVar = /** @class */ (function () {
|
|
|
21227
21315
|
}());
|
|
21228
21316
|
module.exports = AsyncVar;
|
|
21229
21317
|
|
|
21230
|
-
},{"./":
|
|
21318
|
+
},{"./":134}],124:[function(require,module,exports){
|
|
21231
21319
|
/**
|
|
21232
21320
|
* Expose `Backoff`.
|
|
21233
21321
|
*/
|
|
@@ -21311,7 +21399,7 @@ var Backoff = /** @class */ (function () {
|
|
|
21311
21399
|
}());
|
|
21312
21400
|
module.exports = Backoff;
|
|
21313
21401
|
|
|
21314
|
-
},{}],
|
|
21402
|
+
},{}],125:[function(require,module,exports){
|
|
21315
21403
|
/* globals chrome, navigator */
|
|
21316
21404
|
'use strict';
|
|
21317
21405
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -21469,7 +21557,7 @@ module.exports = {
|
|
|
21469
21557
|
rebrandedChromeBrowser: rebrandedChromeBrowser
|
|
21470
21558
|
};
|
|
21471
21559
|
|
|
21472
|
-
},{}],
|
|
21560
|
+
},{}],126:[function(require,module,exports){
|
|
21473
21561
|
'use strict';
|
|
21474
21562
|
var __read = (this && this.__read) || function (o, n) {
|
|
21475
21563
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -21612,7 +21700,7 @@ var CancelablePromise = /** @class */ (function () {
|
|
|
21612
21700
|
}());
|
|
21613
21701
|
module.exports = CancelablePromise;
|
|
21614
21702
|
|
|
21615
|
-
},{}],
|
|
21703
|
+
},{}],127:[function(require,module,exports){
|
|
21616
21704
|
'use strict';
|
|
21617
21705
|
/* eslint-disable camelcase */
|
|
21618
21706
|
var packageInfo = require('../../package.json');
|
|
@@ -21714,7 +21802,7 @@ module.exports.videoContentPreferencesMode = {
|
|
|
21714
21802
|
MODE_MANUAL: 'manual'
|
|
21715
21803
|
};
|
|
21716
21804
|
|
|
21717
|
-
},{"../../package.json":
|
|
21805
|
+
},{"../../package.json":176}],128:[function(require,module,exports){
|
|
21718
21806
|
'use strict';
|
|
21719
21807
|
var detectSilence = require('../webaudio/detectsilence');
|
|
21720
21808
|
var N_ATTEMPTS = 3;
|
|
@@ -21755,7 +21843,7 @@ function detectSilentAudio(el) {
|
|
|
21755
21843
|
}
|
|
21756
21844
|
module.exports = detectSilentAudio;
|
|
21757
21845
|
|
|
21758
|
-
},{"../webaudio/audiocontext":
|
|
21846
|
+
},{"../webaudio/audiocontext":155,"../webaudio/detectsilence":156}],129:[function(require,module,exports){
|
|
21759
21847
|
'use strict';
|
|
21760
21848
|
// Cached copy of the <canvas> used to check silent video frames.
|
|
21761
21849
|
var canvas = null;
|
|
@@ -21814,7 +21902,7 @@ function detectSilentVideo(el) {
|
|
|
21814
21902
|
}
|
|
21815
21903
|
module.exports = detectSilentVideo;
|
|
21816
21904
|
|
|
21817
|
-
},{}],
|
|
21905
|
+
},{}],130:[function(require,module,exports){
|
|
21818
21906
|
'use strict';
|
|
21819
21907
|
/**
|
|
21820
21908
|
* The {@link DocumentVisibilityMonitor} monitors the visibility state of the DOM
|
|
@@ -21936,7 +22024,7 @@ var DocumentVisibilityMonitor = /** @class */ (function () {
|
|
|
21936
22024
|
}());
|
|
21937
22025
|
module.exports = new DocumentVisibilityMonitor(2);
|
|
21938
22026
|
|
|
21939
|
-
},{}],
|
|
22027
|
+
},{}],131:[function(require,module,exports){
|
|
21940
22028
|
'use strict';
|
|
21941
22029
|
module.exports = (function (scope) {
|
|
21942
22030
|
var location = scope.location, URL = scope.URL;
|
|
@@ -21959,7 +22047,7 @@ module.exports = (function (scope) {
|
|
|
21959
22047
|
};
|
|
21960
22048
|
}(globalThis));
|
|
21961
22049
|
|
|
21962
|
-
},{}],
|
|
22050
|
+
},{}],132:[function(require,module,exports){
|
|
21963
22051
|
/* eslint-disable no-console */
|
|
21964
22052
|
'use strict';
|
|
21965
22053
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -22057,7 +22145,7 @@ var EventObserver = /** @class */ (function (_super) {
|
|
|
22057
22145
|
*/
|
|
22058
22146
|
module.exports = EventObserver;
|
|
22059
22147
|
|
|
22060
|
-
},{"events":
|
|
22148
|
+
},{"events":175}],133:[function(require,module,exports){
|
|
22061
22149
|
'use strict';
|
|
22062
22150
|
var Filter = /** @class */ (function () {
|
|
22063
22151
|
function Filter(options) {
|
|
@@ -22101,7 +22189,7 @@ var Filter = /** @class */ (function () {
|
|
|
22101
22189
|
}());
|
|
22102
22190
|
module.exports = Filter;
|
|
22103
22191
|
|
|
22104
|
-
},{}],
|
|
22192
|
+
},{}],134:[function(require,module,exports){
|
|
22105
22193
|
'use strict';
|
|
22106
22194
|
var __extends = (this && this.__extends) || (function () {
|
|
22107
22195
|
var extendStatics = function (d, b) {
|
|
@@ -22821,7 +22909,7 @@ function createBandwidthProfileVideoPayload(bandwidthProfileVideo) {
|
|
|
22821
22909
|
* protocol or not.
|
|
22822
22910
|
* @returns {object}
|
|
22823
22911
|
*/
|
|
22824
|
-
function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPriority, trackSwitchOff, adaptiveSimulcast, renderHints) {
|
|
22912
|
+
function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPriority, trackSwitchOff, adaptiveSimulcast, renderHints, extensionTranscriptions) {
|
|
22825
22913
|
var transports = { transports: [{ type: 'data-channel' }] };
|
|
22826
22914
|
return Object.assign(dominantSpeaker
|
|
22827
22915
|
// eslint-disable-next-line
|
|
@@ -22841,6 +22929,9 @@ function createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPrior
|
|
|
22841
22929
|
: {}, trackSwitchOff
|
|
22842
22930
|
// eslint-disable-next-line
|
|
22843
22931
|
? { track_switch_off: transports }
|
|
22932
|
+
: {}, extensionTranscriptions
|
|
22933
|
+
// eslint-disable-next-line
|
|
22934
|
+
? { extension_transcriptions: transports }
|
|
22844
22935
|
: {});
|
|
22845
22936
|
}
|
|
22846
22937
|
/**
|
|
@@ -22998,7 +23089,7 @@ exports.isChromeScreenShareTrack = isChromeScreenShareTrack;
|
|
|
22998
23089
|
exports.waitForSometime = waitForSometime;
|
|
22999
23090
|
exports.waitForEvent = waitForEvent;
|
|
23000
23091
|
|
|
23001
|
-
},{"../webrtc/util":
|
|
23092
|
+
},{"../webrtc/util":172,"./constants":127,"./sid":146,"./twiliowarning":151}],135:[function(require,module,exports){
|
|
23002
23093
|
/* eslint-disable camelcase */
|
|
23003
23094
|
'use strict';
|
|
23004
23095
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -23293,7 +23384,7 @@ function reconnect(publisher, token, sdkName, sdkVersion, roomSid, participantSi
|
|
|
23293
23384
|
*/
|
|
23294
23385
|
module.exports = InsightsPublisher;
|
|
23295
23386
|
|
|
23296
|
-
},{"..":
|
|
23387
|
+
},{"..":134,"../../util":134,"../browserdetection":125,"../constants":127,"events":175,"ws":177}],136:[function(require,module,exports){
|
|
23297
23388
|
// eslint-disable-next-line no-warning-comments
|
|
23298
23389
|
// TODO(mroberts): This should be described as implementing some
|
|
23299
23390
|
// InsightsPublisher interface.
|
|
@@ -23338,7 +23429,7 @@ var InsightsPublisher = /** @class */ (function () {
|
|
|
23338
23429
|
}());
|
|
23339
23430
|
module.exports = InsightsPublisher;
|
|
23340
23431
|
|
|
23341
|
-
},{}],
|
|
23432
|
+
},{}],137:[function(require,module,exports){
|
|
23342
23433
|
'use strict';
|
|
23343
23434
|
var defer = require('./').defer;
|
|
23344
23435
|
/**
|
|
@@ -23400,7 +23491,7 @@ var LocalMediaRestartDeferreds = /** @class */ (function () {
|
|
|
23400
23491
|
}());
|
|
23401
23492
|
module.exports = new LocalMediaRestartDeferreds();
|
|
23402
23493
|
|
|
23403
|
-
},{"./":
|
|
23494
|
+
},{"./":134}],138:[function(require,module,exports){
|
|
23404
23495
|
/* eslint new-cap:0 */
|
|
23405
23496
|
'use strict';
|
|
23406
23497
|
var __read = (this && this.__read) || function (o, n) {
|
|
@@ -23687,7 +23778,7 @@ function validateLogLevels(levels) {
|
|
|
23687
23778
|
}
|
|
23688
23779
|
module.exports = Log;
|
|
23689
23780
|
|
|
23690
|
-
},{"../vendor/loglevel":
|
|
23781
|
+
},{"../vendor/loglevel":154,"./constants":127}],139:[function(require,module,exports){
|
|
23691
23782
|
'use strict';
|
|
23692
23783
|
/**
|
|
23693
23784
|
* Calculates the moving average delta for the given pair ofsamples. A sample (S)
|
|
@@ -23734,7 +23825,7 @@ var MovingAverageDelta = /** @class */ (function () {
|
|
|
23734
23825
|
}());
|
|
23735
23826
|
module.exports = MovingAverageDelta;
|
|
23736
23827
|
|
|
23737
|
-
},{}],
|
|
23828
|
+
},{}],140:[function(require,module,exports){
|
|
23738
23829
|
'use strict';
|
|
23739
23830
|
/**
|
|
23740
23831
|
* Monitor the network connection status to detect interruptions and handoffs.
|
|
@@ -23823,7 +23914,7 @@ var NetworkMonitor = /** @class */ (function () {
|
|
|
23823
23914
|
}());
|
|
23824
23915
|
module.exports = NetworkMonitor;
|
|
23825
23916
|
|
|
23826
|
-
},{}],
|
|
23917
|
+
},{}],141:[function(require,module,exports){
|
|
23827
23918
|
/* eslint-disable no-console */
|
|
23828
23919
|
'use strict';
|
|
23829
23920
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -23886,7 +23977,7 @@ var NullResizeObserver = /** @class */ (function (_super) {
|
|
|
23886
23977
|
}(NullObserver));
|
|
23887
23978
|
module.exports = { NullIntersectionObserver: NullIntersectionObserver, NullResizeObserver: NullResizeObserver, NullObserver: NullObserver };
|
|
23888
23979
|
|
|
23889
|
-
},{}],
|
|
23980
|
+
},{}],142:[function(require,module,exports){
|
|
23890
23981
|
'use strict';
|
|
23891
23982
|
var __read = (this && this.__read) || function (o, n) {
|
|
23892
23983
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -24424,7 +24515,7 @@ exports.revertSimulcast = revertSimulcast;
|
|
|
24424
24515
|
exports.setCodecPreferences = setCodecPreferences;
|
|
24425
24516
|
exports.setSimulcast = setSimulcast;
|
|
24426
24517
|
|
|
24427
|
-
},{"../":
|
|
24518
|
+
},{"../":134,"./simulcast":144}],143:[function(require,module,exports){
|
|
24428
24519
|
'use strict';
|
|
24429
24520
|
var RTCSessionDescription = require('../../webrtc').RTCSessionDescription;
|
|
24430
24521
|
var _a = require('./'), createPtToCodecName = _a.createPtToCodecName, getMediaSections = _a.getMediaSections;
|
|
@@ -24617,7 +24708,7 @@ function addFmtpAttributeForRtxPt(mediaSection, rtxPt, pt) {
|
|
|
24617
24708
|
}
|
|
24618
24709
|
module.exports = workaround;
|
|
24619
24710
|
|
|
24620
|
-
},{"../../webrtc":
|
|
24711
|
+
},{"../../webrtc":160,"./":142}],144:[function(require,module,exports){
|
|
24621
24712
|
'use strict';
|
|
24622
24713
|
var __read = (this && this.__read) || function (o, n) {
|
|
24623
24714
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -24880,7 +24971,7 @@ function setSimulcastInMediaSection(section, trackIdsToAttributes) {
|
|
|
24880
24971
|
*/
|
|
24881
24972
|
module.exports = setSimulcastInMediaSection;
|
|
24882
24973
|
|
|
24883
|
-
},{"../":
|
|
24974
|
+
},{"../":134}],145:[function(require,module,exports){
|
|
24884
24975
|
'use strict';
|
|
24885
24976
|
var getMediaSections = require('./').getMediaSections;
|
|
24886
24977
|
/**
|
|
@@ -24925,7 +25016,7 @@ var TrackMatcher = /** @class */ (function () {
|
|
|
24925
25016
|
}());
|
|
24926
25017
|
module.exports = TrackMatcher;
|
|
24927
25018
|
|
|
24928
|
-
},{"./":
|
|
25019
|
+
},{"./":142}],146:[function(require,module,exports){
|
|
24929
25020
|
var SID_CHARS = '1234567890abcdef';
|
|
24930
25021
|
var SID_CHAR_LENGTH = 32;
|
|
24931
25022
|
// copied from: https://code.hq.twilio.com/flex/monkey/blob/0fdce2b6c52d6be0b17a5cdb92f0c54f119b8ea8/src/client/lib/sid.ts#L39
|
|
@@ -24944,7 +25035,7 @@ function createSID(prefix) {
|
|
|
24944
25035
|
exports.sessionSID = createSID('SS');
|
|
24945
25036
|
exports.createSID = createSID;
|
|
24946
25037
|
|
|
24947
|
-
},{}],
|
|
25038
|
+
},{}],147:[function(require,module,exports){
|
|
24948
25039
|
'use strict';
|
|
24949
25040
|
var _a = require('../webrtc/util'), guessBrowser = _a.guessBrowser, isWebRTCSupported = _a.support;
|
|
24950
25041
|
var getSdpFormat = require('../webrtc/util/sdp').getSdpFormat;
|
|
@@ -24991,7 +25082,7 @@ function isSupported() {
|
|
|
24991
25082
|
}
|
|
24992
25083
|
module.exports = isSupported;
|
|
24993
25084
|
|
|
24994
|
-
},{"../webrtc/util":
|
|
25085
|
+
},{"../webrtc/util":172,"../webrtc/util/sdp":174,"./browserdetection":125}],148:[function(require,module,exports){
|
|
24995
25086
|
'use strict';
|
|
24996
25087
|
/**
|
|
24997
25088
|
* A {@link Timeout} represents a resettable and clearable timeout.
|
|
@@ -25086,7 +25177,7 @@ var Timeout = /** @class */ (function () {
|
|
|
25086
25177
|
}());
|
|
25087
25178
|
module.exports = Timeout;
|
|
25088
25179
|
|
|
25089
|
-
},{}],
|
|
25180
|
+
},{}],149:[function(require,module,exports){
|
|
25090
25181
|
// NOTE: Do not edit this file. This code is auto-generated. Contact the
|
|
25091
25182
|
// Twilio SDK Team for more information.
|
|
25092
25183
|
'use strict';
|
|
@@ -26110,7 +26201,7 @@ var ConfigurationAcquireTurnFailedError = /** @class */ (function (_super) {
|
|
|
26110
26201
|
exports.ConfigurationAcquireTurnFailedError = ConfigurationAcquireTurnFailedError;
|
|
26111
26202
|
Object.defineProperty(TwilioErrorByCode, 53501, { value: ConfigurationAcquireTurnFailedError });
|
|
26112
26203
|
|
|
26113
|
-
},{"./twilioerror":
|
|
26204
|
+
},{"./twilioerror":150}],150:[function(require,module,exports){
|
|
26114
26205
|
'use strict';
|
|
26115
26206
|
var __extends = (this && this.__extends) || (function () {
|
|
26116
26207
|
var extendStatics = function (d, b) {
|
|
@@ -26192,7 +26283,7 @@ var TwilioError = /** @class */ (function (_super) {
|
|
|
26192
26283
|
}(Error));
|
|
26193
26284
|
module.exports = TwilioError;
|
|
26194
26285
|
|
|
26195
|
-
},{}],
|
|
26286
|
+
},{}],151:[function(require,module,exports){
|
|
26196
26287
|
'use strict';
|
|
26197
26288
|
/**
|
|
26198
26289
|
* @private
|
|
@@ -26205,7 +26296,7 @@ var TwilioWarning = {
|
|
|
26205
26296
|
};
|
|
26206
26297
|
module.exports = TwilioWarning;
|
|
26207
26298
|
|
|
26208
|
-
},{}],
|
|
26299
|
+
},{}],152:[function(require,module,exports){
|
|
26209
26300
|
'use strict';
|
|
26210
26301
|
var isNonArrayObject = require('./').isNonArrayObject;
|
|
26211
26302
|
var _a = require('./constants'), E = _a.typeErrors, clientTrackSwitchOffControl = _a.clientTrackSwitchOffControl, videoContentPreferencesMode = _a.videoContentPreferencesMode, subscriptionMode = _a.subscriptionMode, trackPriority = _a.trackPriority, trackSwitchOffMode = _a.trackSwitchOffMode;
|
|
@@ -26322,7 +26413,7 @@ exports.validateBandwidthProfile = validateBandwidthProfile;
|
|
|
26322
26413
|
exports.validateLocalTrack = validateLocalTrack;
|
|
26323
26414
|
exports.validateObject = validateObject;
|
|
26324
26415
|
|
|
26325
|
-
},{"./":
|
|
26416
|
+
},{"./":134,"./constants":127}],153:[function(require,module,exports){
|
|
26326
26417
|
/**
|
|
26327
26418
|
* Copyright (c) 2011-2022 Isaac Z. Schlueter
|
|
26328
26419
|
* Licensed under the ISC License.
|
|
@@ -26357,7 +26448,7 @@ module.exports = function inherits(ctor, superCtor) {
|
|
|
26357
26448
|
}
|
|
26358
26449
|
};
|
|
26359
26450
|
|
|
26360
|
-
},{}],
|
|
26451
|
+
},{}],154:[function(require,module,exports){
|
|
26361
26452
|
/**
|
|
26362
26453
|
* Copyright (c) 2013 Tim Perry
|
|
26363
26454
|
* Licensed under the MIT license.
|
|
@@ -26597,7 +26688,7 @@ defaultLogger.getLoggers = function getLoggers() {
|
|
|
26597
26688
|
defaultLogger['default'] = defaultLogger;
|
|
26598
26689
|
module.exports = defaultLogger;
|
|
26599
26690
|
|
|
26600
|
-
},{}],
|
|
26691
|
+
},{}],155:[function(require,module,exports){
|
|
26601
26692
|
/* globals webkitAudioContext, AudioContext */
|
|
26602
26693
|
'use strict';
|
|
26603
26694
|
var NativeAudioContext = typeof AudioContext !== 'undefined'
|
|
@@ -26680,7 +26771,7 @@ var AudioContextFactory = /** @class */ (function () {
|
|
|
26680
26771
|
}());
|
|
26681
26772
|
module.exports = new AudioContextFactory();
|
|
26682
26773
|
|
|
26683
|
-
},{}],
|
|
26774
|
+
},{}],156:[function(require,module,exports){
|
|
26684
26775
|
'use strict';
|
|
26685
26776
|
/**
|
|
26686
26777
|
* Return a Promise that resolves after `timeout` milliseconds.
|
|
@@ -26733,7 +26824,7 @@ function detectSilence(audioContext, stream, timeout) {
|
|
|
26733
26824
|
}
|
|
26734
26825
|
module.exports = detectSilence;
|
|
26735
26826
|
|
|
26736
|
-
},{}],
|
|
26827
|
+
},{}],157:[function(require,module,exports){
|
|
26737
26828
|
'use strict';
|
|
26738
26829
|
var detectSilence = require('./detectsilence');
|
|
26739
26830
|
/**
|
|
@@ -26803,7 +26894,7 @@ to get a new one, but we\'ve run out of retries; returning it anyway.');
|
|
|
26803
26894
|
}
|
|
26804
26895
|
module.exports = workaround;
|
|
26805
26896
|
|
|
26806
|
-
},{"./audiocontext":
|
|
26897
|
+
},{"./audiocontext":155,"./detectsilence":156}],158:[function(require,module,exports){
|
|
26807
26898
|
'use strict';
|
|
26808
26899
|
var __values = (this && this.__values) || function(o) {
|
|
26809
26900
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -28053,7 +28144,7 @@ function standardizeFirefoxStats(response, _a) {
|
|
|
28053
28144
|
*/
|
|
28054
28145
|
module.exports = getStats;
|
|
28055
28146
|
|
|
28056
|
-
},{"./util":
|
|
28147
|
+
},{"./util":172,"./util/sdp":174}],159:[function(require,module,exports){
|
|
28057
28148
|
/* globals navigator */
|
|
28058
28149
|
'use strict';
|
|
28059
28150
|
/**
|
|
@@ -28077,7 +28168,7 @@ function getUserMedia(constraints) {
|
|
|
28077
28168
|
}
|
|
28078
28169
|
module.exports = getUserMedia;
|
|
28079
28170
|
|
|
28080
|
-
},{}],
|
|
28171
|
+
},{}],160:[function(require,module,exports){
|
|
28081
28172
|
'use strict';
|
|
28082
28173
|
var WebRTC = {};
|
|
28083
28174
|
Object.defineProperties(WebRTC, {
|
|
@@ -28112,7 +28203,7 @@ Object.defineProperties(WebRTC, {
|
|
|
28112
28203
|
});
|
|
28113
28204
|
module.exports = WebRTC;
|
|
28114
28205
|
|
|
28115
|
-
},{"./getstats":
|
|
28206
|
+
},{"./getstats":158,"./getusermedia":159,"./mediastream":161,"./mediastreamtrack":162,"./rtcicecandidate":163,"./rtcpeerconnection":166,"./rtcsessiondescription":171}],161:[function(require,module,exports){
|
|
28116
28207
|
/* globals MediaStream */
|
|
28117
28208
|
'use strict';
|
|
28118
28209
|
if (typeof MediaStream === 'function') {
|
|
@@ -28124,7 +28215,7 @@ else {
|
|
|
28124
28215
|
};
|
|
28125
28216
|
}
|
|
28126
28217
|
|
|
28127
|
-
},{}],
|
|
28218
|
+
},{}],162:[function(require,module,exports){
|
|
28128
28219
|
/* global MediaStreamTrack */
|
|
28129
28220
|
'use strict';
|
|
28130
28221
|
if (typeof MediaStreamTrack === 'function') {
|
|
@@ -28136,7 +28227,7 @@ else {
|
|
|
28136
28227
|
};
|
|
28137
28228
|
}
|
|
28138
28229
|
|
|
28139
|
-
},{}],
|
|
28230
|
+
},{}],163:[function(require,module,exports){
|
|
28140
28231
|
/* global RTCIceCandidate */
|
|
28141
28232
|
'use strict';
|
|
28142
28233
|
if (typeof RTCIceCandidate === 'function') {
|
|
@@ -28148,7 +28239,7 @@ else {
|
|
|
28148
28239
|
};
|
|
28149
28240
|
}
|
|
28150
28241
|
|
|
28151
|
-
},{}],
|
|
28242
|
+
},{}],164:[function(require,module,exports){
|
|
28152
28243
|
/* globals RTCDataChannel, RTCPeerConnection, RTCSessionDescription */
|
|
28153
28244
|
'use strict';
|
|
28154
28245
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -28712,7 +28803,7 @@ function updateTrackIdsToSSRCs(sdpFormat, tracksToSSRCs, sdp) {
|
|
|
28712
28803
|
}
|
|
28713
28804
|
module.exports = ChromeRTCPeerConnection;
|
|
28714
28805
|
|
|
28715
|
-
},{"../../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){
|
|
28716
28807
|
/* globals RTCPeerConnection */
|
|
28717
28808
|
'use strict';
|
|
28718
28809
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -29039,7 +29130,7 @@ function overwriteWithInitiallyNegotiatedDtlsRole(description, dtlsRole) {
|
|
|
29039
29130
|
}
|
|
29040
29131
|
module.exports = FirefoxRTCPeerConnection;
|
|
29041
29132
|
|
|
29042
|
-
},{"../../eventtarget":11,"../rtcsessiondescription/firefox":
|
|
29133
|
+
},{"../../eventtarget":11,"../rtcsessiondescription/firefox":170,"../util":172,"../util/sdp":174}],166:[function(require,module,exports){
|
|
29043
29134
|
'use strict';
|
|
29044
29135
|
if (typeof RTCPeerConnection === 'function') {
|
|
29045
29136
|
var guessBrowser = require('../util').guessBrowser;
|
|
@@ -29064,7 +29155,7 @@ else {
|
|
|
29064
29155
|
};
|
|
29065
29156
|
}
|
|
29066
29157
|
|
|
29067
|
-
},{"../util":
|
|
29158
|
+
},{"../util":172,"./chrome":164,"./firefox":165,"./safari":167}],167:[function(require,module,exports){
|
|
29068
29159
|
/* globals RTCPeerConnection, RTCSessionDescription */
|
|
29069
29160
|
'use strict';
|
|
29070
29161
|
var __extends = (this && this.__extends) || (function () {
|
|
@@ -29453,7 +29544,7 @@ function shimDataChannel(dataChannel) {
|
|
|
29453
29544
|
}
|
|
29454
29545
|
module.exports = SafariRTCPeerConnection;
|
|
29455
29546
|
|
|
29456
|
-
},{"../../eventtarget":11,"../util":
|
|
29547
|
+
},{"../../eventtarget":11,"../util":172,"../util/latch":173,"../util/sdp":174}],168:[function(require,module,exports){
|
|
29457
29548
|
'use strict';
|
|
29458
29549
|
/**
|
|
29459
29550
|
* RTCRtpSender shim.
|
|
@@ -29494,7 +29585,7 @@ var RTCRtpSenderShim = /** @class */ (function () {
|
|
|
29494
29585
|
// using the RTCRtpSender APIs.
|
|
29495
29586
|
module.exports = RTCRtpSenderShim;
|
|
29496
29587
|
|
|
29497
|
-
},{}],
|
|
29588
|
+
},{}],169:[function(require,module,exports){
|
|
29498
29589
|
/* globals RTCSessionDescription */
|
|
29499
29590
|
'use strict';
|
|
29500
29591
|
// This class wraps Chrome's RTCSessionDescription implementation. It provides
|
|
@@ -29538,12 +29629,12 @@ var ChromeRTCSessionDescription = /** @class */ (function () {
|
|
|
29538
29629
|
}());
|
|
29539
29630
|
module.exports = ChromeRTCSessionDescription;
|
|
29540
29631
|
|
|
29541
|
-
},{}],
|
|
29632
|
+
},{}],170:[function(require,module,exports){
|
|
29542
29633
|
/* globals RTCSessionDescription */
|
|
29543
29634
|
'use strict';
|
|
29544
29635
|
module.exports = RTCSessionDescription;
|
|
29545
29636
|
|
|
29546
|
-
},{}],
|
|
29637
|
+
},{}],171:[function(require,module,exports){
|
|
29547
29638
|
/* globals RTCSessionDescription */
|
|
29548
29639
|
'use strict';
|
|
29549
29640
|
if (typeof RTCSessionDescription === 'function') {
|
|
@@ -29566,7 +29657,7 @@ else {
|
|
|
29566
29657
|
};
|
|
29567
29658
|
}
|
|
29568
29659
|
|
|
29569
|
-
},{"../util":
|
|
29660
|
+
},{"../util":172,"./chrome":169,"./firefox":170}],172:[function(require,module,exports){
|
|
29570
29661
|
'use strict';
|
|
29571
29662
|
var __read = (this && this.__read) || function (o, n) {
|
|
29572
29663
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
@@ -29953,7 +30044,7 @@ exports.makeUUID = makeUUID;
|
|
|
29953
30044
|
exports.proxyProperties = proxyProperties;
|
|
29954
30045
|
exports.support = support;
|
|
29955
30046
|
|
|
29956
|
-
},{}],
|
|
30047
|
+
},{}],173:[function(require,module,exports){
|
|
29957
30048
|
'use strict';
|
|
29958
30049
|
var defer = require('./').defer;
|
|
29959
30050
|
var states = {
|
|
@@ -30060,7 +30151,7 @@ function createUnreachableStateError(from, to) {
|
|
|
30060
30151
|
}
|
|
30061
30152
|
module.exports = Latch;
|
|
30062
30153
|
|
|
30063
|
-
},{"./":
|
|
30154
|
+
},{"./":172}],174:[function(require,module,exports){
|
|
30064
30155
|
/* globals RTCPeerConnection, RTCRtpTransceiver */
|
|
30065
30156
|
'use strict';
|
|
30066
30157
|
var _a = require('./'), flatMap = _a.flatMap, guessBrowser = _a.guessBrowser;
|
|
@@ -30347,7 +30438,7 @@ exports.getUnifiedPlanSSRCs = getUnifiedPlanSSRCs;
|
|
|
30347
30438
|
exports.updatePlanBTrackIdsToSSRCs = updatePlanBTrackIdsToSSRCs;
|
|
30348
30439
|
exports.updateUnifiedPlanTrackIdsToSSRCs = updateUnifiedPlanTrackIdsToSSRCs;
|
|
30349
30440
|
|
|
30350
|
-
},{"./":
|
|
30441
|
+
},{"./":172}],175:[function(require,module,exports){
|
|
30351
30442
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
30352
30443
|
//
|
|
30353
30444
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -30846,12 +30937,12 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
30846
30937
|
}
|
|
30847
30938
|
}
|
|
30848
30939
|
|
|
30849
|
-
},{}],
|
|
30940
|
+
},{}],176:[function(require,module,exports){
|
|
30850
30941
|
module.exports={
|
|
30851
30942
|
"name": "twilio-video",
|
|
30852
30943
|
"title": "Twilio Video",
|
|
30853
30944
|
"description": "Twilio Video JavaScript Library",
|
|
30854
|
-
"version": "2.
|
|
30945
|
+
"version": "2.32.0",
|
|
30855
30946
|
"homepage": "https://twilio.com",
|
|
30856
30947
|
"author": "Mark Andrus Roberts <mroberts@twilio.com>",
|
|
30857
30948
|
"contributors": [
|
|
@@ -31010,7 +31101,7 @@ module.exports={
|
|
|
31010
31101
|
}
|
|
31011
31102
|
}
|
|
31012
31103
|
|
|
31013
|
-
},{}],
|
|
31104
|
+
},{}],177:[function(require,module,exports){
|
|
31014
31105
|
module.exports = WebSocket;
|
|
31015
31106
|
|
|
31016
31107
|
},{}]},{},[12]);
|