@defcomm/meetingsdk 0.3.8 → 0.3.9
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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -757,7 +757,12 @@ var SFUClient = class {
|
|
|
757
757
|
room_code: this.room,
|
|
758
758
|
resume_token: this.resumeToken,
|
|
759
759
|
display_name: this.joinOptions.displayName,
|
|
760
|
-
avatar_url: this.joinOptions.avatarUrl
|
|
760
|
+
avatar_url: this.joinOptions.avatarUrl,
|
|
761
|
+
// Preserve the media state requested before host approval.
|
|
762
|
+
// The approval continuation is a second JOIN, so these values
|
|
763
|
+
// must be sent again instead of falling back to the SFU defaults.
|
|
764
|
+
audio_muted: this.desiredAudioMuted,
|
|
765
|
+
video_muted: this.desiredVideoMuted
|
|
761
766
|
}
|
|
762
767
|
});
|
|
763
768
|
}
|
|
@@ -1022,10 +1027,7 @@ var SFUClient = class {
|
|
|
1022
1027
|
source: normalizedSource
|
|
1023
1028
|
};
|
|
1024
1029
|
this.trackMetadata.set(normalized.track_id, normalized);
|
|
1025
|
-
this.trackToParticipant.set(
|
|
1026
|
-
normalized.track_id,
|
|
1027
|
-
normalized.participant_id
|
|
1028
|
-
);
|
|
1030
|
+
this.trackToParticipant.set(normalized.track_id, normalized.participant_id);
|
|
1029
1031
|
if (normalizedSource) {
|
|
1030
1032
|
this.trackToSource.set(normalized.track_id, normalizedSource);
|
|
1031
1033
|
} else {
|