updateConnectionQuality method

  1. @internal
void updateConnectionQuality(
  1. ConnectionQuality quality
)

Implementation

@internal
void updateConnectionQuality(ConnectionQuality quality) {
  if (_connectionQuality == quality) return;
  _connectionQuality = quality;
  [events, room.events].emit(ParticipantConnectionQualityUpdatedEvent(
    participant: this,
    connectionQuality: _connectionQuality,
  ));
}