@stream-io/video-client 1.53.1 → 1.53.2
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/CHANGELOG.md +6 -0
- package/dist/index.browser.es.js +5 -5
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/reporting/ClientEventReporter.ts +2 -2
package/package.json
CHANGED
|
@@ -393,7 +393,7 @@ export class ClientEventReporter {
|
|
|
393
393
|
const ctx = this.callContexts.get(cid);
|
|
394
394
|
|
|
395
395
|
this.send({
|
|
396
|
-
user_id: this.streamClient.userID,
|
|
396
|
+
user_id: this.streamClient.userID || this.coordinatorConnectUserId,
|
|
397
397
|
type: ctx?.callType,
|
|
398
398
|
id: ctx?.callId,
|
|
399
399
|
call_cid: cid,
|
|
@@ -712,7 +712,7 @@ export class ClientEventReporter {
|
|
|
712
712
|
const ctx = this.callContexts.get(cid);
|
|
713
713
|
const coordinatorConnectId = this.coordinatorConnectId;
|
|
714
714
|
return {
|
|
715
|
-
user_id: this.streamClient.userID,
|
|
715
|
+
user_id: this.streamClient.userID || this.coordinatorConnectUserId,
|
|
716
716
|
type: ctx?.callType ?? '',
|
|
717
717
|
id: ctx?.callId ?? '',
|
|
718
718
|
call_cid: cid,
|