onJoiningEvent method

  1. @override
void onJoiningEvent(
  1. int participantId,
  2. ConferenceRole? conferenceRole
)
override

Implementation

@override
void onJoiningEvent(int participantId, ConferenceRole? conferenceRole) {
  logTime("onJoiningEvent participantId= $participantId", _TAG);
  if (ConferenceRole.LISTENER == conferenceRole) {
    allActiveSubscribers.add(participantId);
    onSubscriberAttached?.call(participantId);
  }
}