@defcomm/meetingsdk 0.1.3 → 0.1.4
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.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1974,11 +1974,12 @@ var VideoSDKCore = class {
|
|
|
1974
1974
|
this.handleRemoteTrack(track, stream, metadata);
|
|
1975
1975
|
},
|
|
1976
1976
|
// SCREEN SHARE
|
|
1977
|
-
onScreenShareStarted: (participantId,
|
|
1977
|
+
onScreenShareStarted: (participantId, _track) => {
|
|
1978
1978
|
if (participantId === this.myId) {
|
|
1979
1979
|
return;
|
|
1980
1980
|
}
|
|
1981
|
-
console.log("[SFU] Screen share started", participantId
|
|
1981
|
+
console.log("[SFU] Screen share started", participantId);
|
|
1982
|
+
this.state.setPresenterId(participantId);
|
|
1982
1983
|
const current = this.state.getParticipant(participantId);
|
|
1983
1984
|
if (current) {
|
|
1984
1985
|
this.state.updateParticipantMedia(participantId, {
|