audioSettings property

AudioSettings get audioSettings

Implementation

AudioSettings get audioSettings => _audioSettings;
  1. @override
set audioSettings (AudioSettings audioSettings)
override

Specifies the audio codec properties.

Implementation

@override
set audioSettings(AudioSettings audioSettings) {
  assert(_memory != null);
  _audioSettings = audioSettings;
  RtmpStreamPlatform.instance.setAudioSettings(
      {"memory": _memory, "settings": audioSettings.toMap()});
}