@defcomm/meetingsdk 0.3.5 → 0.3.6
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 +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1046,6 +1046,12 @@ var SFUClient = class {
|
|
|
1046
1046
|
await this.initializePeerConnections();
|
|
1047
1047
|
this.setState("connected");
|
|
1048
1048
|
this.onConnected(payload, resumed);
|
|
1049
|
+
if (payload.recording?.active || payload.recording?.status === "recording") {
|
|
1050
|
+
this.onRecordingStarted({
|
|
1051
|
+
recording_id: payload.recording.recording_id,
|
|
1052
|
+
started_at: payload.recording.started_at
|
|
1053
|
+
});
|
|
1054
|
+
}
|
|
1049
1055
|
for (const participant of this.participants.values()) {
|
|
1050
1056
|
if (participant.participant_id !== this.currentParticipantId) {
|
|
1051
1057
|
this.onParticipantJoined(participant);
|