speaker property

AudioSpeakerKind get speaker

Returns the AudioSpeakerKind of the used output device.

Implementation

AudioSpeakerKind get speaker =>
    _currentCall.value.outputDevice.value?.speaker ??
    _currentCall.value.devices.output().firstOrNull?.speaker ??
    AudioSpeakerKind.earpiece;