@webex/plugin-meetings 3.8.0-next.56 → 3.8.0-next.58
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/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/selfUtils.js +405 -418
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +5 -1
- package/dist/media/index.js.map +1 -1
- package/dist/meeting/index.js +3 -1
- package/dist/meeting/index.js.map +1 -1
- package/dist/meetings/index.js +22 -0
- package/dist/meetings/index.js.map +1 -1
- package/dist/types/locus-info/selfUtils.d.ts +247 -1
- package/dist/types/meetings/index.d.ts +9 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +5 -5
- package/src/locus-info/selfUtils.ts +451 -447
- package/src/media/index.ts +6 -0
- package/src/meeting/index.ts +2 -0
- package/src/meetings/index.ts +20 -0
- package/test/unit/spec/media/index.ts +30 -0
- package/test/unit/spec/meetings/index.js +15 -2
@@ -1,2 +1,248 @@
|
|
1
|
-
declare const SelfUtils:
|
1
|
+
declare const SelfUtils: {
|
2
|
+
/**
|
3
|
+
* parses the relevant values for self: muted, guest, moderator, mediaStatus, state, joinedWith, pstnDevices, creator, id
|
4
|
+
* @param {Object} self
|
5
|
+
* @param {String} deviceId
|
6
|
+
* @returns {undefined}
|
7
|
+
*/
|
8
|
+
parse: (self: any, deviceId: string) => {
|
9
|
+
remoteVideoMuted: any;
|
10
|
+
remoteMuted: any;
|
11
|
+
unmuteAllowed: boolean;
|
12
|
+
localAudioUnmuteRequested: boolean;
|
13
|
+
localAudioUnmuteRequestedTimeStamp: number;
|
14
|
+
localAudioUnmuteRequired: boolean;
|
15
|
+
lastModified: any;
|
16
|
+
modifiedBy: any;
|
17
|
+
guest: any;
|
18
|
+
moderator: any;
|
19
|
+
mediaStatus: {
|
20
|
+
audio: any;
|
21
|
+
video: any;
|
22
|
+
slides: any;
|
23
|
+
};
|
24
|
+
state: any;
|
25
|
+
joinedWith: any;
|
26
|
+
pstnDevices: any;
|
27
|
+
currentMediaStatus: {
|
28
|
+
audio: any;
|
29
|
+
video: any;
|
30
|
+
share: any;
|
31
|
+
};
|
32
|
+
creator: any;
|
33
|
+
selfId: any;
|
34
|
+
selfIdentity: any;
|
35
|
+
selfUrl: any;
|
36
|
+
removed: any;
|
37
|
+
roles: any;
|
38
|
+
isUserUnadmitted: boolean;
|
39
|
+
layout: any;
|
40
|
+
canNotViewTheParticipantList: boolean;
|
41
|
+
isSharingBlocked: boolean;
|
42
|
+
breakoutSessions: any;
|
43
|
+
breakout: any;
|
44
|
+
interpretation: any;
|
45
|
+
brb: any;
|
46
|
+
};
|
47
|
+
getBreakoutSessions: (self: any) => any;
|
48
|
+
getBreakout: (self: any) => any;
|
49
|
+
getInterpretation: (self: any) => any;
|
50
|
+
getBrb: (self: any) => any;
|
51
|
+
getLayout: (self: any) => any;
|
52
|
+
getRoles: (self: any) => any;
|
53
|
+
canNotViewTheParticipantList: (self: any) => boolean;
|
54
|
+
isSharingBlocked: (self: any) => boolean;
|
55
|
+
getSelves: (oldSelf: any, newSelf: any, deviceId: any) => {
|
56
|
+
previous: {
|
57
|
+
remoteVideoMuted: any;
|
58
|
+
remoteMuted: any;
|
59
|
+
unmuteAllowed: boolean;
|
60
|
+
localAudioUnmuteRequested: boolean;
|
61
|
+
localAudioUnmuteRequestedTimeStamp: number;
|
62
|
+
localAudioUnmuteRequired: boolean;
|
63
|
+
lastModified: any;
|
64
|
+
modifiedBy: any;
|
65
|
+
guest: any;
|
66
|
+
moderator: any;
|
67
|
+
mediaStatus: {
|
68
|
+
audio: any;
|
69
|
+
video: any;
|
70
|
+
slides: any;
|
71
|
+
};
|
72
|
+
state: any;
|
73
|
+
joinedWith: any;
|
74
|
+
pstnDevices: any;
|
75
|
+
currentMediaStatus: {
|
76
|
+
audio: any;
|
77
|
+
video: any;
|
78
|
+
share: any;
|
79
|
+
};
|
80
|
+
creator: any;
|
81
|
+
selfId: any;
|
82
|
+
selfIdentity: any;
|
83
|
+
selfUrl: any;
|
84
|
+
removed: any;
|
85
|
+
roles: any;
|
86
|
+
isUserUnadmitted: boolean;
|
87
|
+
layout: any;
|
88
|
+
canNotViewTheParticipantList: boolean;
|
89
|
+
isSharingBlocked: boolean;
|
90
|
+
breakoutSessions: any;
|
91
|
+
breakout: any;
|
92
|
+
interpretation: any;
|
93
|
+
brb: any;
|
94
|
+
};
|
95
|
+
current: {
|
96
|
+
remoteVideoMuted: any;
|
97
|
+
remoteMuted: any;
|
98
|
+
unmuteAllowed: boolean;
|
99
|
+
localAudioUnmuteRequested: boolean;
|
100
|
+
localAudioUnmuteRequestedTimeStamp: number;
|
101
|
+
localAudioUnmuteRequired: boolean;
|
102
|
+
lastModified: any;
|
103
|
+
modifiedBy: any;
|
104
|
+
guest: any;
|
105
|
+
moderator: any;
|
106
|
+
mediaStatus: {
|
107
|
+
audio: any;
|
108
|
+
video: any;
|
109
|
+
slides: any;
|
110
|
+
};
|
111
|
+
state: any;
|
112
|
+
joinedWith: any;
|
113
|
+
pstnDevices: any;
|
114
|
+
currentMediaStatus: {
|
115
|
+
audio: any;
|
116
|
+
video: any;
|
117
|
+
share: any;
|
118
|
+
};
|
119
|
+
creator: any;
|
120
|
+
selfId: any;
|
121
|
+
selfIdentity: any;
|
122
|
+
selfUrl: any;
|
123
|
+
removed: any;
|
124
|
+
roles: any;
|
125
|
+
isUserUnadmitted: boolean;
|
126
|
+
layout: any;
|
127
|
+
canNotViewTheParticipantList: boolean;
|
128
|
+
isSharingBlocked: boolean;
|
129
|
+
breakoutSessions: any;
|
130
|
+
breakout: any;
|
131
|
+
interpretation: any;
|
132
|
+
brb: any;
|
133
|
+
};
|
134
|
+
updates: any;
|
135
|
+
};
|
136
|
+
/**
|
137
|
+
* Checks if user has joined the meeting
|
138
|
+
* @param {Object} self
|
139
|
+
* @returns {boolean} isJoined
|
140
|
+
*/
|
141
|
+
isJoined: (self: any) => boolean;
|
142
|
+
/**
|
143
|
+
* Validate if the Meeting Layout Controls Layout has changed.
|
144
|
+
*
|
145
|
+
* @param {Self} previous - Previous self state
|
146
|
+
* @param {Self} current - Current self state [per event]
|
147
|
+
* @returns {boolean} - If the Meeting Layout Controls Layout has changed.
|
148
|
+
*/
|
149
|
+
layoutChanged: (previous: any, current: any) => boolean;
|
150
|
+
breakoutsChanged: (previous: any, current: any) => boolean;
|
151
|
+
interpretationChanged: (previous: any, current: any) => boolean;
|
152
|
+
brbChanged: (previous: any, current: any) => boolean;
|
153
|
+
isMediaInactive: (previous: any, current: any) => boolean;
|
154
|
+
getLastModified: (self: any) => any;
|
155
|
+
getModifiedBy: (self: any) => any;
|
156
|
+
/**
|
157
|
+
* get the id from the self object
|
158
|
+
* @param {Object} self
|
159
|
+
* @returns {String}
|
160
|
+
*/
|
161
|
+
getSelfIdentity: (self: any) => any;
|
162
|
+
/**
|
163
|
+
* get the "remote video mute" property from the self object
|
164
|
+
* @param {Object} self
|
165
|
+
* @returns {Boolean}
|
166
|
+
*/
|
167
|
+
getRemoteVideoMuted: (self: any) => any;
|
168
|
+
/**
|
169
|
+
* get the "remote mute" property from the self object
|
170
|
+
* @param {Object} self
|
171
|
+
* @returns {Boolean}
|
172
|
+
*/
|
173
|
+
getRemoteMuted: (self: any) => any;
|
174
|
+
getLocalAudioUnmuteRequested: (self: any) => boolean;
|
175
|
+
getLocalAudioUnmuteRequestedTimeStamp: (self: any) => number;
|
176
|
+
getUnmuteAllowed: (self: any) => boolean;
|
177
|
+
getLocalAudioUnmuteRequired: (self: any) => boolean;
|
178
|
+
getStatus: (status: any) => {
|
179
|
+
audio: any;
|
180
|
+
video: any;
|
181
|
+
slides: any;
|
182
|
+
};
|
183
|
+
/**
|
184
|
+
* @param {Object} oldSelf
|
185
|
+
* @param {Object} changedSelf
|
186
|
+
* @returns {Boolean}
|
187
|
+
*/
|
188
|
+
wasMediaInactiveOrReleased: (oldSelf: any, changedSelf: any) => boolean;
|
189
|
+
/**
|
190
|
+
* @param {Object} check
|
191
|
+
* @returns {Boolean}
|
192
|
+
*/
|
193
|
+
isLocusUserUnadmitted: (check: any) => boolean;
|
194
|
+
/**
|
195
|
+
* @param {Object} check
|
196
|
+
* @returns {Boolean}
|
197
|
+
*/
|
198
|
+
isLocusUserAdmitted: (check: any) => boolean;
|
199
|
+
/**
|
200
|
+
* @param {Object} oldSelf
|
201
|
+
* @param {Object} changedSelf
|
202
|
+
* @returns {Boolean}
|
203
|
+
* @throws {Error} when self is undefined
|
204
|
+
*/
|
205
|
+
isUserUnadmitted: (oldSelf: any, changedSelf: any) => boolean;
|
206
|
+
moderatorChanged: (oldSelf: any, changedSelf: any) => boolean;
|
207
|
+
/**
|
208
|
+
* determine whether the roles of self is changed or not
|
209
|
+
* @param {Object} oldSelf
|
210
|
+
* @param {Object} changedSelf
|
211
|
+
* @returns {Boolean}
|
212
|
+
*/
|
213
|
+
isRolesChanged: (oldSelf: any, changedSelf: any) => boolean;
|
214
|
+
/**
|
215
|
+
* @param {Object} oldSelf
|
216
|
+
* @param {Object} changedSelf
|
217
|
+
* @returns {Boolean}
|
218
|
+
* @throws {Error} if changed self was undefined
|
219
|
+
*/
|
220
|
+
isDeviceObserving: (oldSelf: any, changedSelf: any) => boolean;
|
221
|
+
/**
|
222
|
+
* @param {Object} oldSelf
|
223
|
+
* @param {Object} changedSelf
|
224
|
+
* @returns {Boolean}
|
225
|
+
* @throws {Error} if changed self was undefined
|
226
|
+
*/
|
227
|
+
isUserAdmitted: (oldSelf: object, changedSelf: object) => boolean;
|
228
|
+
videoMutedByOthersChanged: (oldSelf: any, changedSelf: any) => boolean;
|
229
|
+
mutedByOthersChanged: (oldSelf: any, changedSelf: any) => boolean;
|
230
|
+
localAudioUnmuteRequestedByServer: (oldSelf: any, changedSelf: any) => boolean;
|
231
|
+
localAudioUnmuteRequiredByServer: (oldSelf: any, changedSelf: any) => boolean;
|
232
|
+
/**
|
233
|
+
* extract the sipUrl from the partner
|
234
|
+
* @param {Object} partner
|
235
|
+
* @param {Object} info
|
236
|
+
* @returns {Object}
|
237
|
+
*/
|
238
|
+
getSipUrl: (partner: any, type: any, sipUri: any) => {
|
239
|
+
sipUri: any;
|
240
|
+
};
|
241
|
+
getMediaStatus: (mediaSessions?: any[]) => {
|
242
|
+
audio: any;
|
243
|
+
video: any;
|
244
|
+
share: any;
|
245
|
+
};
|
246
|
+
getReplacedBreakoutMoveId: (self: any, deviceId: string) => any;
|
247
|
+
};
|
2
248
|
export default SelfUtils;
|
@@ -227,6 +227,15 @@ export default class Meetings extends WebexPlugin {
|
|
227
227
|
* @returns {undefined}
|
228
228
|
*/
|
229
229
|
private _toggleIpv6BackendNativeSupport;
|
230
|
+
/**
|
231
|
+
* API to toggle usage of audio main DTX, needs to be called before webex.meetings.register()
|
232
|
+
*
|
233
|
+
* @param {Boolean} newValue
|
234
|
+
* @private
|
235
|
+
* @memberof Meetings
|
236
|
+
* @returns {undefined}
|
237
|
+
*/
|
238
|
+
private _toggleDisableAudioMainDtx;
|
230
239
|
/**
|
231
240
|
* Executes a registration step and updates the registration status.
|
232
241
|
* @param {Function} step - The registration step to execute.
|
package/dist/webinar/index.js
CHANGED
package/package.json
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
"@webex/eslint-config-legacy": "0.0.0",
|
44
44
|
"@webex/jest-config-legacy": "0.0.0",
|
45
45
|
"@webex/legacy-tools": "0.0.0",
|
46
|
-
"@webex/plugin-meetings": "3.8.0-next.
|
46
|
+
"@webex/plugin-meetings": "3.8.0-next.58",
|
47
47
|
"@webex/plugin-rooms": "3.8.0-next.21",
|
48
48
|
"@webex/test-helper-chai": "3.8.0-next.17",
|
49
49
|
"@webex/test-helper-mocha": "3.8.0-next.17",
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"dependencies": {
|
64
64
|
"@webex/common": "3.8.0-next.17",
|
65
65
|
"@webex/event-dictionary-ts": "^1.0.1753",
|
66
|
-
"@webex/internal-media-core": "2.
|
66
|
+
"@webex/internal-media-core": "2.15.0",
|
67
67
|
"@webex/internal-plugin-conversation": "3.8.0-next.21",
|
68
68
|
"@webex/internal-plugin-device": "3.8.0-next.17",
|
69
69
|
"@webex/internal-plugin-llm": "3.8.0-next.20",
|
@@ -71,8 +71,8 @@
|
|
71
71
|
"@webex/internal-plugin-metrics": "3.8.0-next.17",
|
72
72
|
"@webex/internal-plugin-support": "3.8.0-next.21",
|
73
73
|
"@webex/internal-plugin-user": "3.8.0-next.17",
|
74
|
-
"@webex/internal-plugin-voicea": "3.8.0-next.
|
75
|
-
"@webex/media-helpers": "3.8.0-next.
|
74
|
+
"@webex/internal-plugin-voicea": "3.8.0-next.58",
|
75
|
+
"@webex/media-helpers": "3.8.0-next.20",
|
76
76
|
"@webex/plugin-people": "3.8.0-next.19",
|
77
77
|
"@webex/plugin-rooms": "3.8.0-next.21",
|
78
78
|
"@webex/web-capabilities": "^1.4.0",
|
@@ -92,5 +92,5 @@
|
|
92
92
|
"//": [
|
93
93
|
"TODO: upgrade jwt-decode when moving to node 18"
|
94
94
|
],
|
95
|
-
"version": "3.8.0-next.
|
95
|
+
"version": "3.8.0-next.58"
|
96
96
|
}
|