@webex/plugin-meetings 3.0.0-beta.76 → 3.0.0-beta.77
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 +20 -10
- package/dist/meeting/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +51 -9
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/types/multistream/mediaRequestManager.d.ts +28 -1
- package/package.json +19 -19
- package/src/meeting/index.ts +46 -22
- package/src/multistream/mediaRequestManager.ts +53 -8
- package/test/unit/spec/meeting/utils.js +1 -1
- package/test/unit/spec/multistream/mediaRequestManager.ts +326 -107
package/dist/breakouts/index.js
CHANGED
package/dist/meeting/index.js
CHANGED
|
@@ -1208,39 +1208,49 @@ var Meeting = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1208
1208
|
* All multistream media requests sent out for this meeting have to go through them.
|
|
1209
1209
|
*/
|
|
1210
1210
|
_this.mediaRequestManagers = {
|
|
1211
|
-
|
|
1212
|
-
audio: new _mediaRequestManager.MediaRequestManager(_this.config.degradationPreferences, function (mediaRequests) {
|
|
1211
|
+
audio: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1213
1212
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
1214
1213
|
_loggerProxy.default.logger.warn('Meeting:index#mediaRequestManager --> trying to send audio media request before media connection was created');
|
|
1215
1214
|
return;
|
|
1216
1215
|
}
|
|
1217
1216
|
_this.mediaProperties.webrtcMediaConnection.requestMedia(_internalMediaCore.MediaType.AudioMain, mediaRequests);
|
|
1217
|
+
}, {
|
|
1218
|
+
// @ts-ignore - config coming from registerPlugin
|
|
1219
|
+
degradationPreferences: _this.config.degradationPreferences,
|
|
1220
|
+
kind: 'audio'
|
|
1218
1221
|
}),
|
|
1219
|
-
|
|
1220
|
-
video: new _mediaRequestManager.MediaRequestManager(_this.config.degradationPreferences, function (mediaRequests) {
|
|
1222
|
+
video: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1221
1223
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
1222
1224
|
_loggerProxy.default.logger.warn('Meeting:index#mediaRequestManager --> trying to send video media request before media connection was created');
|
|
1223
1225
|
return;
|
|
1224
1226
|
}
|
|
1225
1227
|
_this.mediaProperties.webrtcMediaConnection.requestMedia(_internalMediaCore.MediaType.VideoMain, mediaRequests);
|
|
1228
|
+
}, {
|
|
1229
|
+
// @ts-ignore - config coming from registerPlugin
|
|
1230
|
+
degradationPreferences: _this.config.degradationPreferences,
|
|
1231
|
+
kind: 'video'
|
|
1226
1232
|
}),
|
|
1227
|
-
screenShareAudio: new _mediaRequestManager.MediaRequestManager(
|
|
1228
|
-
// @ts-ignore - config coming from registerPlugin
|
|
1229
|
-
_this.config.degradationPreferences, function (mediaRequests) {
|
|
1233
|
+
screenShareAudio: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1230
1234
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
1231
1235
|
_loggerProxy.default.logger.warn('Meeting:index#mediaRequestManager --> trying to send screenshare audio media request before media connection was created');
|
|
1232
1236
|
return;
|
|
1233
1237
|
}
|
|
1234
1238
|
_this.mediaProperties.webrtcMediaConnection.requestMedia(_internalMediaCore.MediaType.AudioSlides, mediaRequests);
|
|
1239
|
+
}, {
|
|
1240
|
+
// @ts-ignore - config coming from registerPlugin
|
|
1241
|
+
degradationPreferences: _this.config.degradationPreferences,
|
|
1242
|
+
kind: 'audio'
|
|
1235
1243
|
}),
|
|
1236
|
-
screenShareVideo: new _mediaRequestManager.MediaRequestManager(
|
|
1237
|
-
// @ts-ignore - config coming from registerPlugin
|
|
1238
|
-
_this.config.degradationPreferences, function (mediaRequests) {
|
|
1244
|
+
screenShareVideo: new _mediaRequestManager.MediaRequestManager(function (mediaRequests) {
|
|
1239
1245
|
if (!_this.mediaProperties.webrtcMediaConnection) {
|
|
1240
1246
|
_loggerProxy.default.logger.warn('Meeting:index#mediaRequestManager --> trying to send screenshare video media request before media connection was created');
|
|
1241
1247
|
return;
|
|
1242
1248
|
}
|
|
1243
1249
|
_this.mediaProperties.webrtcMediaConnection.requestMedia(_internalMediaCore.MediaType.VideoSlides, mediaRequests);
|
|
1250
|
+
}, {
|
|
1251
|
+
// @ts-ignore - config coming from registerPlugin
|
|
1252
|
+
degradationPreferences: _this.config.degradationPreferences,
|
|
1253
|
+
kind: 'video'
|
|
1244
1254
|
})
|
|
1245
1255
|
};
|
|
1246
1256
|
/**
|