@defcomm/meetingsdk 0.3.5 → 0.3.7

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 CHANGED
@@ -1082,6 +1082,12 @@ var SFUClient = class {
1082
1082
  await this.initializePeerConnections();
1083
1083
  this.setState("connected");
1084
1084
  this.onConnected(payload, resumed);
1085
+ if (payload.recording && payload.recording?.status === "recording") {
1086
+ this.onRecordingStarted({
1087
+ recording_id: payload.recording.recording_id,
1088
+ started_at: payload.recording.started_at
1089
+ });
1090
+ }
1085
1091
  for (const participant of this.participants.values()) {
1086
1092
  if (participant.participant_id !== this.currentParticipantId) {
1087
1093
  this.onParticipantJoined(participant);