@webex/plugin-meetings 3.0.0-next.16 → 3.0.0-next.18
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/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/meeting/index.d.ts +3 -2
- package/dist/meeting/index.js +29 -3
- package/dist/meeting/index.js.map +1 -1
- package/dist/reachability/request.js +12 -10
- package/dist/reachability/request.js.map +1 -1
- package/dist/webinar/index.js +1 -1
- package/package.json +22 -22
- package/src/constants.ts +2 -2
- package/src/meeting/index.ts +34 -4
- package/src/reachability/request.ts +15 -11
- package/test/unit/spec/meeting/index.js +141 -88
- package/test/unit/spec/meetings/index.js +27 -20
- package/test/unit/spec/reachability/request.js +15 -7
package/dist/meeting/index.js
CHANGED
|
@@ -998,6 +998,19 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
998
998
|
meetingId: _this.id
|
|
999
999
|
}
|
|
1000
1000
|
});
|
|
1001
|
+
if (data.type === 'share') {
|
|
1002
|
+
// @ts-ignore
|
|
1003
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
1004
|
+
name: 'client.media.render.start',
|
|
1005
|
+
payload: {
|
|
1006
|
+
mediaType: 'share',
|
|
1007
|
+
shareInstanceId: _this.remoteShareInstanceId
|
|
1008
|
+
},
|
|
1009
|
+
options: {
|
|
1010
|
+
meetingId: _this.id
|
|
1011
|
+
}
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1001
1014
|
});
|
|
1002
1015
|
_this.statsAnalyzer.on(_statsAnalyzer.EVENTS.REMOTE_MEDIA_STOPPED, function (data) {
|
|
1003
1016
|
// @ts-ignore
|
|
@@ -1011,6 +1024,19 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
1011
1024
|
meetingId: _this.id
|
|
1012
1025
|
}
|
|
1013
1026
|
});
|
|
1027
|
+
if (data.type === 'share') {
|
|
1028
|
+
// @ts-ignore
|
|
1029
|
+
_this.webex.internal.newMetrics.submitClientEvent({
|
|
1030
|
+
name: 'client.media.render.stop',
|
|
1031
|
+
payload: {
|
|
1032
|
+
mediaType: 'share',
|
|
1033
|
+
shareInstanceId: _this.remoteShareInstanceId
|
|
1034
|
+
},
|
|
1035
|
+
options: {
|
|
1036
|
+
meetingId: _this.id
|
|
1037
|
+
}
|
|
1038
|
+
});
|
|
1039
|
+
}
|
|
1014
1040
|
});
|
|
1015
1041
|
});
|
|
1016
1042
|
/**
|
|
@@ -7618,7 +7644,7 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7618
7644
|
|
|
7619
7645
|
/**
|
|
7620
7646
|
*
|
|
7621
|
-
* @returns {string} one of 'attendee','host','cohost', returns the user type of the current user
|
|
7647
|
+
* @returns {string} one of 'panelist', 'attendee', 'host', 'cohost', returns the user type of the current user
|
|
7622
7648
|
*/
|
|
7623
7649
|
}, {
|
|
7624
7650
|
key: "getCurUserType",
|
|
@@ -7631,8 +7657,8 @@ var Meeting = exports.default = /*#__PURE__*/function (_StatelessWebexPlugin) {
|
|
|
7631
7657
|
if (roles.includes(_constants.SELF_ROLES.COHOST)) {
|
|
7632
7658
|
return 'cohost';
|
|
7633
7659
|
}
|
|
7634
|
-
if (roles.includes(_constants.SELF_ROLES.
|
|
7635
|
-
return '
|
|
7660
|
+
if (roles.includes(_constants.SELF_ROLES.PANELIST)) {
|
|
7661
|
+
return 'panelist';
|
|
7636
7662
|
}
|
|
7637
7663
|
if (roles.includes(_constants.SELF_ROLES.ATTENDEE)) {
|
|
7638
7664
|
return 'attendee';
|