@webex/plugin-meetings 3.0.0-beta.154 → 3.0.0-beta.155
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/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/index.js +1 -1
- package/dist/meeting/index.js +14 -6
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/meetings.types.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +111 -18
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/types/meetings/meetings.types.d.ts +1 -1
- package/dist/types/multistream/mediaRequestManager.d.ts +14 -0
- package/package.json +20 -20
- package/src/meeting/index.ts +16 -4
- package/src/meetings/meetings.types.ts +4 -1
- package/src/multistream/mediaRequestManager.ts +149 -40
- package/test/unit/spec/meeting/index.js +85 -0
- package/test/unit/spec/meetings/index.js +1 -3
- package/test/unit/spec/multistream/mediaRequestManager.ts +341 -9
package/dist/breakouts/index.js
CHANGED
|
@@ -1039,7 +1039,7 @@ var Breakouts = _webexCore.WebexPlugin.extend({
|
|
|
1039
1039
|
this.trigger(_constants.BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1040
1040
|
}
|
|
1041
1041
|
},
|
|
1042
|
-
version: "3.0.0-beta.
|
|
1042
|
+
version: "3.0.0-beta.155"
|
|
1043
1043
|
});
|
|
1044
1044
|
var _default = Breakouts;
|
|
1045
1045
|
exports.default = _default;
|
package/dist/meeting/index.js
CHANGED
|
@@ -781,6 +781,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
781
781
|
numLiveSources: numLiveSources,
|
|
782
782
|
mediaContent: mediaContent
|
|
783
783
|
});
|
|
784
|
+
if (mediaContent === _internalMediaCore.MediaContent.Main) {
|
|
785
|
+
_this.mediaRequestManagers.video.setNumCurrentSources(numTotalSources, numLiveSources);
|
|
786
|
+
}
|
|
784
787
|
});
|
|
785
788
|
_this.mediaProperties.webrtcMediaConnection.on(_internalMediaCore.Event.AUDIO_SOURCES_COUNT_CHANGED, function (numTotalSources, numLiveSources, mediaContent) {
|
|
786
789
|
_triggerProxy.default.trigger((0, _assertThisInitialized2.default)(_this), {
|
|
@@ -1099,7 +1102,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1099
1102
|
}, {
|
|
1100
1103
|
// @ts-ignore - config coming from registerPlugin
|
|
1101
1104
|
degradationPreferences: _this.config.degradationPreferences,
|
|
1102
|
-
kind: 'audio'
|
|
1105
|
+
kind: 'audio',
|
|
1106
|
+
trimRequestsToNumOfSources: false
|
|
1103
1107
|
}),
|
|
1104
1108
|
video: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1105
1109
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
@@ -1110,7 +1114,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1110
1114
|
}, {
|
|
1111
1115
|
// @ts-ignore - config coming from registerPlugin
|
|
1112
1116
|
degradationPreferences: _this.config.degradationPreferences,
|
|
1113
|
-
kind: 'video'
|
|
1117
|
+
kind: 'video',
|
|
1118
|
+
trimRequestsToNumOfSources: true
|
|
1114
1119
|
}),
|
|
1115
1120
|
screenShareAudio: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1116
1121
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
@@ -1121,7 +1126,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1121
1126
|
}, {
|
|
1122
1127
|
// @ts-ignore - config coming from registerPlugin
|
|
1123
1128
|
degradationPreferences: _this.config.degradationPreferences,
|
|
1124
|
-
kind: 'audio'
|
|
1129
|
+
kind: 'audio',
|
|
1130
|
+
trimRequestsToNumOfSources: false
|
|
1125
1131
|
}),
|
|
1126
1132
|
screenShareVideo: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1127
1133
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
@@ -1132,7 +1138,8 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1132
1138
|
}, {
|
|
1133
1139
|
// @ts-ignore - config coming from registerPlugin
|
|
1134
1140
|
degradationPreferences: _this.config.degradationPreferences,
|
|
1135
|
-
kind: 'video'
|
|
1141
|
+
kind: 'video',
|
|
1142
|
+
trimRequestsToNumOfSources: false
|
|
1136
1143
|
})
|
|
1137
1144
|
};
|
|
1138
1145
|
/**
|
|
@@ -4810,8 +4817,9 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
4810
4817
|
}).then(function () {
|
|
4811
4818
|
return (0, _mediaHelpers.getDevices)().then(function (devices) {
|
|
4812
4819
|
_util.default.handleDeviceLogging(devices);
|
|
4813
|
-
});
|
|
4814
|
-
}
|
|
4820
|
+
}).catch(function () {});
|
|
4821
|
+
} // getDevices may fail if we don't have browser permissions, that's ok, we still can have a media connection
|
|
4822
|
+
).then(function () {
|
|
4815
4823
|
_this35.handleMediaLogging(_this35.mediaProperties);
|
|
4816
4824
|
_loggerProxy.default.logger.info("".concat(LOG_HEADER, " media connection created"));
|
|
4817
4825
|
|