initialize method

void initialize()

Implementation

void initialize() {
  _timer ??= Timer.periodic(500.milliseconds, (timer) {
    if (_sender != null) _monitorAudio(params: _sender!);

    for (final params in _receivers) {
      _monitorAudio(params: params, type: 'inbound-rtp');
    }
  });
}