setAudioEnabled method

Future<void> setAudioEnabled(
  1. bool enabled
)

Sets the inbound audio of this CallMember as enabled.

Implementation

Future<void> setAudioEnabled(bool enabled) async {
  Log.debug('setAudioEnabled($enabled)', '$runtimeType');

  if (enabled) {
    await _connection?.enableRemoteAudio();
  } else {
    await _connection?.disableRemoteAudio();
  }
}