@defcomm/meetingsdk 0.3.3 → 0.3.5
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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2345,7 +2345,10 @@ var VideoSDKCore = class {
|
|
|
2345
2345
|
screenStream: existingRemoteScreen,
|
|
2346
2346
|
screenTrack
|
|
2347
2347
|
});
|
|
2348
|
-
this.events.onScreenShareStarted?.(
|
|
2348
|
+
this.events.onScreenShareStarted?.(
|
|
2349
|
+
participantId,
|
|
2350
|
+
existingRemoteScreen
|
|
2351
|
+
);
|
|
2349
2352
|
return;
|
|
2350
2353
|
}
|
|
2351
2354
|
const current = this.state.getParticipant(participantId);
|
|
@@ -2396,8 +2399,8 @@ var VideoSDKCore = class {
|
|
|
2396
2399
|
await client.getToken(roomId, {
|
|
2397
2400
|
displayName: name,
|
|
2398
2401
|
participantId: this.myId,
|
|
2399
|
-
audioMuted: this.
|
|
2400
|
-
videoMuted: this.
|
|
2402
|
+
audioMuted: !(this.localStream?.getAudioTracks()[0]?.enabled ?? true),
|
|
2403
|
+
videoMuted: !(this.localStream?.getVideoTracks()[0]?.enabled ?? true)
|
|
2401
2404
|
});
|
|
2402
2405
|
}
|
|
2403
2406
|
// SFU STATE
|