@defcomm/meetingsdk 0.3.4 → 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.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);