@whereby.com/media 11.3.2 → 11.3.3
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/index.cjs +31 -29
- package/dist/index.mjs +31 -29
- package/dist/legacy-esm.js +31 -29
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -181,35 +181,37 @@ function rtcStatsConnection(wsURL, logger = console) {
|
|
|
181
181
|
clientInfo.connectionNumber++;
|
|
182
182
|
ws.send(JSON.stringify(["clientInfo", null, clientInfo]));
|
|
183
183
|
ws.send(JSON.stringify(["webrtcapihealth", null, webrtcapihealthcheck.getWebRtcApiHealth()]));
|
|
184
|
-
if (
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
184
|
+
if (clientInfo.connectionNumber > 1) {
|
|
185
|
+
if (organizationId) {
|
|
186
|
+
ws.send(JSON.stringify(organizationId));
|
|
187
|
+
}
|
|
188
|
+
if (clientId) {
|
|
189
|
+
ws.send(JSON.stringify(clientId));
|
|
190
|
+
}
|
|
191
|
+
if (roomSessionId) {
|
|
192
|
+
ws.send(JSON.stringify(roomSessionId));
|
|
193
|
+
}
|
|
194
|
+
if (displayName) {
|
|
195
|
+
ws.send(JSON.stringify(displayName));
|
|
196
|
+
}
|
|
197
|
+
if (userRole) {
|
|
198
|
+
ws.send(JSON.stringify(userRole));
|
|
199
|
+
}
|
|
200
|
+
if (deviceId) {
|
|
201
|
+
ws.send(JSON.stringify(deviceId));
|
|
202
|
+
}
|
|
203
|
+
if (roomMode) {
|
|
204
|
+
ws.send(JSON.stringify(roomMode));
|
|
205
|
+
}
|
|
206
|
+
if (roomProduct) {
|
|
207
|
+
ws.send(JSON.stringify(roomProduct));
|
|
208
|
+
}
|
|
209
|
+
if (sfuServer) {
|
|
210
|
+
ws.send(JSON.stringify(sfuServer));
|
|
211
|
+
}
|
|
212
|
+
if (featureFlags) {
|
|
213
|
+
ws.send(JSON.stringify(featureFlags));
|
|
214
|
+
}
|
|
213
215
|
}
|
|
214
216
|
while (buffer.length) {
|
|
215
217
|
ws.send(JSON.stringify(buffer.shift()));
|
package/dist/index.mjs
CHANGED
|
@@ -161,35 +161,37 @@ function rtcStatsConnection(wsURL, logger = console) {
|
|
|
161
161
|
clientInfo.connectionNumber++;
|
|
162
162
|
ws.send(JSON.stringify(["clientInfo", null, clientInfo]));
|
|
163
163
|
ws.send(JSON.stringify(["webrtcapihealth", null, getWebRtcApiHealth()]));
|
|
164
|
-
if (
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
164
|
+
if (clientInfo.connectionNumber > 1) {
|
|
165
|
+
if (organizationId) {
|
|
166
|
+
ws.send(JSON.stringify(organizationId));
|
|
167
|
+
}
|
|
168
|
+
if (clientId) {
|
|
169
|
+
ws.send(JSON.stringify(clientId));
|
|
170
|
+
}
|
|
171
|
+
if (roomSessionId) {
|
|
172
|
+
ws.send(JSON.stringify(roomSessionId));
|
|
173
|
+
}
|
|
174
|
+
if (displayName) {
|
|
175
|
+
ws.send(JSON.stringify(displayName));
|
|
176
|
+
}
|
|
177
|
+
if (userRole) {
|
|
178
|
+
ws.send(JSON.stringify(userRole));
|
|
179
|
+
}
|
|
180
|
+
if (deviceId) {
|
|
181
|
+
ws.send(JSON.stringify(deviceId));
|
|
182
|
+
}
|
|
183
|
+
if (roomMode) {
|
|
184
|
+
ws.send(JSON.stringify(roomMode));
|
|
185
|
+
}
|
|
186
|
+
if (roomProduct) {
|
|
187
|
+
ws.send(JSON.stringify(roomProduct));
|
|
188
|
+
}
|
|
189
|
+
if (sfuServer) {
|
|
190
|
+
ws.send(JSON.stringify(sfuServer));
|
|
191
|
+
}
|
|
192
|
+
if (featureFlags) {
|
|
193
|
+
ws.send(JSON.stringify(featureFlags));
|
|
194
|
+
}
|
|
193
195
|
}
|
|
194
196
|
while (buffer.length) {
|
|
195
197
|
ws.send(JSON.stringify(buffer.shift()));
|
package/dist/legacy-esm.js
CHANGED
|
@@ -161,35 +161,37 @@ function rtcStatsConnection(wsURL, logger = console) {
|
|
|
161
161
|
clientInfo.connectionNumber++;
|
|
162
162
|
ws.send(JSON.stringify(["clientInfo", null, clientInfo]));
|
|
163
163
|
ws.send(JSON.stringify(["webrtcapihealth", null, getWebRtcApiHealth()]));
|
|
164
|
-
if (
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
164
|
+
if (clientInfo.connectionNumber > 1) {
|
|
165
|
+
if (organizationId) {
|
|
166
|
+
ws.send(JSON.stringify(organizationId));
|
|
167
|
+
}
|
|
168
|
+
if (clientId) {
|
|
169
|
+
ws.send(JSON.stringify(clientId));
|
|
170
|
+
}
|
|
171
|
+
if (roomSessionId) {
|
|
172
|
+
ws.send(JSON.stringify(roomSessionId));
|
|
173
|
+
}
|
|
174
|
+
if (displayName) {
|
|
175
|
+
ws.send(JSON.stringify(displayName));
|
|
176
|
+
}
|
|
177
|
+
if (userRole) {
|
|
178
|
+
ws.send(JSON.stringify(userRole));
|
|
179
|
+
}
|
|
180
|
+
if (deviceId) {
|
|
181
|
+
ws.send(JSON.stringify(deviceId));
|
|
182
|
+
}
|
|
183
|
+
if (roomMode) {
|
|
184
|
+
ws.send(JSON.stringify(roomMode));
|
|
185
|
+
}
|
|
186
|
+
if (roomProduct) {
|
|
187
|
+
ws.send(JSON.stringify(roomProduct));
|
|
188
|
+
}
|
|
189
|
+
if (sfuServer) {
|
|
190
|
+
ws.send(JSON.stringify(sfuServer));
|
|
191
|
+
}
|
|
192
|
+
if (featureFlags) {
|
|
193
|
+
ws.send(JSON.stringify(featureFlags));
|
|
194
|
+
}
|
|
193
195
|
}
|
|
194
196
|
while (buffer.length) {
|
|
195
197
|
ws.send(JSON.stringify(buffer.shift()));
|